Reindex indexed 0 documents of changes

61 views
Skip to first unread message

wing...@gmail.com

unread,
Jul 25, 2018, 8:17:40 AM7/25/18
to Repo and Gerrit Discussion
Hello every one, we are currently running gerrit 2.15-rc2-313-gb0f7956602, we plan to update to gerrit 2.15.3, we have ran init, however when we run reindex of it seems the reindex of accounts and groups are fine, however reindex of changes always give the following output, seems no changes are known to gerrit:
Reindexing changes: projects: 100% (4545/4545), done
Reindexed 0 documents in changes index in 2.9s (0.0/s)

our mysql database schema are like this:

Edwin Kempin

unread,
Jul 25, 2018, 8:34:47 AM7/25/18
to wing...@gmail.com, Repo and Gerrit Discussion
On Wed, Jul 25, 2018 at 2:17 PM <wing...@gmail.com> wrote:
Hello every one, we are currently running gerrit 2.15-rc2-313-gb0f7956602, we plan to update to gerrit 2.15.3, we have ran init, however when we run reindex of it seems the reindex of accounts and groups are fine, however reindex of changes always give the following output, seems no changes are known to gerrit:
Reindexing changes: projects: 100% (4545/4545), done
Reindexed 0 documents in changes index in 2.9s (0.0/s)

What are your settings for NoteDb?
Where are your changes stored, in ReviewDb or in NoteDb?
Can it be that the reindex program reads changes from NoteDb, while your changes are still in ReviewDb, or vice versa?
 
our mysql database schema are like this:

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

唐宇奕

unread,
Jul 27, 2018, 2:13:01 AM7/27/18
to repo-d...@googlegroups.com

---------- Forwarded message ----------
From: 唐宇奕 <wing...@gmail.com>
Date: 2018-07-25 21:32 GMT+08:00
Subject: Re: Reindex indexed 0 documents of changes
To: Edwin Kempin <eke...@google.com>


There are no settings for NoteDb:
I looked into database and some repos, it seems change comment, verification states etc. are stored in database, and change-diffs are stored in refs/changes/xx/xxxx/, there are no meta info under git repos

2018-07-25 20:34 GMT+08:00 Edwin Kempin <eke...@google.com>:
On Wed, Jul 25, 2018 at 2:17 PM <wing...@gmail.com> wrote:
Hello every one, we are currently running gerrit 2.15-rc2-313-gb0f7956602, we plan to update to gerrit 2.15.3, we have ran init, however when we run reindex of it seems the reindex of accounts and groups are fine, however reindex of changes always give the following output, seems no changes are known to gerrit:
Reindexing changes: projects: 100% (4545/4545), done
Reindexed 0 documents in changes index in 2.9s (0.0/s)

What are your settings for NoteDb?
Where are your changes stored, in ReviewDb or in NoteDb?
Can it be that the reindex program reads changes from NoteDb, while your changes are still in ReviewDb, or vice versa?
our mysql database schema are like this:

--
--

More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.

唐宇奕

unread,
Jul 27, 2018, 2:14:39 AM7/27/18
to repo-d...@googlegroups.com
Or in other words, how can I upgrade to 2.15.3?
Reply all
Reply to author
Forward
0 new messages