Recently we have upgraded our piwik to matomo 3.5.1 version. Post upgrade, segments are not fetching data for last year.
We have tried archiving the entire data, and also particular to the site. Issue still persists.
Also, tried invalidating the report and re-archive
using core:invalidate-report-data --dates=2017-01-12,2018-07-15 --periods=day --sites=877539568 --segment=userId=@@xxx.com.
Still issue persists.