Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Should repack() be synchronized for ObjectDirectory?

Hey,

I've recently ran into an issue where Git.gc() calls cause FileObjectDatabase.open(ObjectId) calls to fail because objects are being moved around during the repack() call and the FileObjectDatabase does not seem to be synchronized against the repack().

Is this by design or is there a race condition bug here?

Thanks,
Jason

Back to the top