0
0
bleve/index
Steve Yen 7ae696d661 firestorm lookuper notified via batch
Previously, the firestorm.Batch() would notify the lookuper goroutine
on a document by document basis.  If the lookuper input channel became
full, then that would block the firestorm.Batch() operation.

With this change, lookuper is notified once, with a "batch" that is an
[]*InFlightItem.

This change also reuses that same []*InFlightItem to invoke the
compensator.MutateBatch().

This also has the advantage of only converting the docID's from string
to []byte just once, outside of the lock that's used by the
compensator.

Micro-benchmark of this change with null-firestorm bleve-blast does
not show large impact, neither degradation or improvement.
2016-01-02 12:21:24 -08:00
..
firestorm firestorm lookuper notified via batch 2016-01-02 12:21:24 -08:00
store properly handle errors inside metrics kvstore reporting 2015-11-24 12:52:03 -05:00
upside_down fix indexing bug with data coming from arrays 2015-12-21 14:59:32 -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