https://bugzilla.wikimedia.org/show_bug.cgi?id=40107
--- Comment #5 from Roan Kattouw <[email protected]> 2012-09-08 21:19:54 UTC --- (In reply to comment #4) > Seems that the gerrit server misses several patchsets from > https://gerrit.wikimedia.org/r/12185 > > $ ls .git/refs/changes/85/12185 > 1 2 3 4 8 9 10 11 12 13 14 15 16 > > and is then trying to get them from the pulling client, which panics. > > I have all the blobs, but seems that when trying to pull, it overwrote my > local > copy of the changes references, since they are now missing here. The refs are actually present on the server: root@manganese:/var/lib/gerrit2/review_site/git/operations/mediawiki-config.git/refs/changes/85/12185# ls 1 10 11 12 13 14 15 16 2 3 4 5 6 7 8 9 But the ones that are missing in your clone (5, 6 and 7) point to hashes that are missing: 5:51661c745ae294e736f383e4f5fdc413003b3dfc 6:b77ecd76ea9bdd29733a7763fb6d83083d9e0ed2 7:52e7dd5c76cd4c6e673a9aa6cc7cadee9ad77fb7 For each of these, I get: # git show 52e7dd5c76cd4c6e673a9aa6cc7cadee9ad77fb7 fatal: bad object 52e7dd5c76cd4c6e673a9aa6cc7cadee9ad77fb7 Whereas the other patchsets point to refs that it did find. git fsck tells me about these: # git fsck --full --no-reflogs error: refs/changes/85/12185/5 does not point to a valid object! error: refs/changes/85/12185/6 does not point to a valid object! error: refs/changes/85/12185/7 does not point to a valid object! This is concerning, because I didn't get these errors before; it looks like somehow Gerrit is losing *more data*. If you have these three commits locally, could you help me restore them? You can do that as follows: $ git push gerrit 51661c745ae294e736f383e4f5fdc413003b3dfc:refs/heads/sandbox/platonides/12185-5 $ git push gerrit b77ecd76ea9bdd29733a7763fb6d83083d9e0ed2:refs/heads/sandbox/platonides/12185-6 $ git push gerrit 52e7dd5c76cd4c6e673a9aa6cc7cadee9ad77fb7:refs/heads/sandbox/platonides/12185-7 This would create branches in your sandbox space that contain these changes, and it should also automatically fix the error because it will cause the relevant commits to come back into existence on manganese. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
