Hi,
with
https://gerrit-review.googlesource.com/#/q/status:open+project:gerrit+branch:master+topic:notedb-fixes applied,
I only have one error left (on to changes in my case):
The affected changes both have a comment on the base submitted from a non-current patchset (and where imported using importer-plugin from another instance).
Stacktrace:
[2016-04-21 09:31:07,145] [RebuildChange-4] ERROR com.google.gerrit.pgm.RebuildNoteDb : Failed to rebuild change 4350
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: All comments being added must all have the same PatchSet.Id. The comment below does not have the same PatchSet.Id as the others (4350,14).
PatchLineComment{key=4350,19,custom/antares/setups/startup.py,da2a55be_0c0a57d2,lineNbr=0,author=1000038,writtenOn=2013-07-17 10:24:10.963,status=P,side=0,message=Please keep this and remove special/startup.py,parentUuid=,range=,revId=8d91c1dd2cc7c931bebbdd557ab25242d1ab49f7tag=}
...
Caused by: java.lang.IllegalArgumentException: All comments being added must all have the same PatchSet.Id. The comment below does not have the same PatchSet.Id as the others (4350,14).
PatchLineComment{key=4350,19,custom/antares/setups/startup.py,da2a55be_0c0a57d2,lineNbr=0,author=1000038,writtenOn=2013-07-17 10:24:10.963,status=P,side=0,message=Please keep this and remove special/startup.py,parentUuid=,range=,revId=8d91c1dd2cc7c931bebbdd557ab25242d1ab49f7tag=}
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146)
at com.google.gerrit.server.notedb.ChangeNoteUtil.buildNote(ChangeNoteUtil.java:472)
at com.google.gerrit.server.notedb.RevisionNoteBuilder.build(RevisionNoteBuilder.java:117)
at com.google.gerrit.server.notedb.ChangeUpdate.storeRevisionNotes(ChangeUpdate.java:414)
at com.google.gerrit.server.notedb.ChangeUpdate.applyImpl(ChangeUpdate.java:596)
at com.google.gerrit.server.notedb.AbstractChangeUpdate.apply(AbstractChangeUpdate.java:185)
at com.google.gerrit.server.notedb.NoteDbUpdateManager.addUpdates(NoteDbUpdateManager.java:347)
at com.google.gerrit.server.notedb.NoteDbUpdateManager.addCommands(NoteDbUpdateManager.java:324)
at com.google.gerrit.server.notedb.NoteDbUpdateManager.stage(NoteDbUpdateManager.java:225)
at com.google.gerrit.server.notedb.ChangeRebuilderImpl.execute(ChangeRebuilderImpl.java:163)
at com.google.gerrit.server.notedb.ChangeRebuilderImpl.rebuild(ChangeRebuilderImpl.java:147)
at com.google.gerrit.server.notedb.ChangeRebuilder$1.call(ChangeRebuilder.java:43)
at com.google.gerrit.server.notedb.ChangeRebuilder$1.call(ChangeRebuilder.java:39)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:108)