On 2022-01-16 13:56, Craig Janeczek wrote:
> The offline reindex is not throwing any errors, but it does not seem
> to be picking up any changes
>
> This is the command that I am running as the gerrit user
> reindex --verbose --index changes -d /mnt/gerritsite/
>
> Here is the output of the reindex. It finds the correct number of
> projects, but it does not pick up any changes from the projects.
> Collecting projects: 4
> Reindexing changes: project-slices: 100% (4/4), done
> Reindexed 0 documents in changes index in 0.1s (0.0/s)
> Index changes in version 50 is ready
My best guess is that your site isn't really fully Notedb migrated,
and it cannot find the changes in the git repos. You should be able
to investigate to see if you have the notedb meta refs for each
change in your repo (like refs/change/01/01/meta), if you don't,
then you likely did not actually migrate to notedb as you believe
you did,