0
0
bleve/index
Marty Schoch cf67fe2cbc fix major synchronization issue in the field_cache
The field cache is expected to be the authority on which field
names are identified by which identifier.  This code was
optimized for the most common case in which fields already
exist.  However, if we deterimine the field is missing with
the read lock (shared), we incorrectly immediately proceed
to create a new row with the write lock (exclusive).  The
problem is that multiple goroutines might have come to
the same conclusion, and they all proceed to add rows.  The two
choices were to do the whole operation with the write lock, or
recheck the value again with the write lock.  We have chosen
to repeat the check inside the write-lock, as this optimizes
for what we believe to be the most common case, in which most
fields will already exist.
2015-12-15 16:39:38 -05:00
..
firestorm make existing integration tests work with firestorm 2015-12-01 12:29:56 -05:00
store properly handle errors inside metrics kvstore reporting 2015-11-24 12:52:03 -05:00
upside_down fix incorrect prefix search behavior 2015-12-04 14:07:16 -05:00
analysis.go modify code to reuse buffer for kv generation 2015-10-05 17:49:50 -04:00
field_cache.go fix major synchronization issue in the field_cache 2015-12-15 16:39:38 -05:00
index.go make existing integration tests work with firestorm 2015-12-01 12:29:56 -05:00