Commit ea642d61f9b3dd3d9e1670621198483541cf4f0d

Russell Belfer 2014-04-14T12:29:27

Fix race checking for existing index items In the threading tests, I was still seeing a race condition where the same item could end up being inserted multiple times into the index. Preserving the sorted-ness of the index outside of the `index_insert` call fixes the issue.