Hey,
I observed this hang (over at least 5 minutes in the same frame – right now it looks like infinite) while testing the gerrit importer plugin:
"HTTP-91" #91 prio=5 os_prio=0 tid=0x00007f96ac020000 nid=0x575b waiting on condition [0x00007f97a87cf000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.eclipse.jgit.internal.storage.file.LockFile.waitForStatChange(LockFile.java:432)
at org.eclipse.jgit.internal.storage.file.RefDirectory$1.writeFile(RefDirectory.java:892)
at org.eclipse.jgit.lib.RefWriter.writePackedRefs(RefWriter.java:195)
at org.eclipse.jgit.internal.storage.file.RefDirectory.commitPackedRefs(RefDirectory.java:904)
at org.eclipse.jgit.internal.storage.file.RefDirectory.delete(RefDirectory.java:597)
at org.eclipse.jgit.internal.storage.file.RefDirectoryUpdate.doDelete(RefDirectoryUpdate.java:146)
at org.eclipse.jgit.lib.RefUpdate$2.execute(RefUpdate.java:571)
at org.eclipse.jgit.lib.RefUpdate.updateImpl(RefUpdate.java:653)
at org.eclipse.jgit.lib.RefUpdate.delete(RefUpdate.java:568)
at org.eclipse.jgit.lib.RefUpdate.delete(RefUpdate.java:540)
at com.googlesource.gerrit.plugins.importer.CompleteProjectImport.deleteImportRefs(CompleteProjectImport.java:99)
at com.googlesource.gerrit.plugins.importer.CompleteProjectImport.apply(CompleteProjectImport.java:68)
at com.googlesource.gerrit.plugins.importer.CompleteProjectImport.apply(CompleteProjectImport.java:1)
It seems rather unrelated to the actual plugin, and more in the JGit area. Reading the code it does not really make much sense that it is hanging there – any idea what this could mean?
Cheers,
Markus
--
Mit freundlichen Grüßen / Best regards
Markus Duft | Software Architect
SSI SCHÄFER | SSI Schäfer IT Solutions GmbH | Friesachstraße 15 | 8114 Friesach bei Graz | Austria
Phone +43 3127 200-575 | Fax +43 3127 200-22
markus.duft@xxxxxxxxxxxxxxxx
Website |
Blog |
YouTube |
Facebook