Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
panic: store new item in finalized indexB #1251
I took a look at this, and my first guess is that it's a race here:
Two worker threads find the same index that isn't final yet.
One straightforward fix is to have MasterIndex.Store do Lock instead of RLock.
I can code up either if you like, but I'm unsure how to write a test for this.