From our thread dumps I observe that a lot of stack traces contain this fragment [1].
Since, by default, notedb.changes.read and notedb.chagnes.write is false (and we didn't set any of these options to true)I wonder if these calls from notedb.* package to JGit are justified?[1]at org.eclipse.jgit.internal.storage.file.RefDirectory.parsePackedRefs(Ljava/io/BufferedReader;)Lorg/eclipse/jgit/util/RefList;(RefDirectory.java:837)at org.eclipse.jgit.internal.storage.file.RefDirectory.readPackedRefs()Lorg/eclipse/jgit/internal/storage/file/RefDirectory$PackedRefList;(RefDirectory.java:809)at org.eclipse.jgit.internal.storage.file.RefDirectory.getPackedRefs()Lorg/eclipse/jgit/internal/storage/file/RefDirectory$PackedRefList;(RefDirectory.java:782)at org.eclipse.jgit.internal.storage.file.RefDirectory.exactRef(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref;(RefDirectory.java:271)at com.google.gerrit.server.notedb.AbstractChangeNotes.readRef(Lorg/eclipse/jgit/lib/Repository;)Lorg/eclipse/jgit/lib/ObjectId;(AbstractChangeNotes.java:173)at com.google.gerrit.server.notedb.ChangeNotes.readRef(Lorg/eclipse/jgit/lib/Repository;)Lorg/eclipse/jgit/lib/ObjectId;(ChangeNotes.java:595)at com.google.gerrit.server.notedb.ChangeNotes.openHandle(Lorg/eclipse/jgit/lib/Repository;)Lcom/google/gerrit/server/notedb/AbstractChangeNotes$LoadHandle;(ChangeNotes.java:602)at com.google.gerrit.server.notedb.AbstractChangeNotes.load()Ljava/lang/Object;(AbstractChangeNotes.java:158)
at com.google.gerrit.server.notedb.ChangeNotes$Factory.create(Lcom/google/gerrit/reviewdb/server/ReviewDb;Lcom/google/gerrit/reviewdb/client/Project$NameKey;Lcom/google/gerrit/reviewdb/client/Change$at com.google.gerrit.server.project.ChangeControl$Factory.create(Lcom/google/gerrit/server/project/RefControl;Lcom/google/gerrit/reviewdb/server/ReviewDb;Lcom/google/gerrit/reviewdb/client/Project$Na
--
--
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.
From our thread dumps I observe that a lot of stack traces contain this fragment [1].Since, by default, notedb.changes.read and notedb.chagnes.write is false (and we didn't set any of these options to true)I wonder if these calls from notedb.* package to JGit are justified?[1]at org.eclipse.jgit.internal.storage.file.RefDirectory.parsePackedRefs(Ljava/io/BufferedReader;)Lorg/eclipse/jgit/util/RefList;(RefDirectory.java:837)
On Mon, Nov 5, 2018 at 12:32 PM Saša Živkov <ziv...@gmail.com> wrote:From our thread dumps I observe that a lot of stack traces contain this fragment [1].Which exact Gerrit version are you running (asking to match line numbers from the stacktrace)?
On Mon, Nov 5, 2018 at 1:38 PM Edwin Kempin <eke...@google.com> wrote:On Mon, Nov 5, 2018 at 12:32 PM Saša Živkov <ziv...@gmail.com> wrote:From our thread dumps I observe that a lot of stack traces contain this fragment [1].Which exact Gerrit version are you running (asking to match line numbers from the stacktrace)?Ah, the subject says 2.14.
Maybe autoRebuild is on in your case?
I think this got fixed in 2.15: