0
0
bleve/index
Steve Yen a280ba7cf8 scorch zap TestIndexRollback fixes
The TestIndexRollback unit test was failing more often than ever
(perhaps raciness?), so this commit tries to remove avenues of
raciness in the test...

- The Scorch.Open() method is refactored into an Scorch.openBolt()
  helper method in order to allow unit tests to control which
  background goroutines are started.

- TestIndexRollback() doesn't start the merger goroutine, to simulate
  a really slow merger that never gets around to merging old segments.

- TestIndexRollback() creates a long-lived reader after the first
  batch, so that the first index snapshot isn't removed due to the
  long-lived reader's ref-count.

- TestIndexRollback() temporarily bumps NumSnapshotsToKeep to a large
  number so the persister isn't tempted to removeOldData() that we're
  trying to rollback to.
2018-02-05 12:23:58 -08:00
..
scorch scorch zap TestIndexRollback fixes 2018-02-05 12:23:58 -08:00
store import couchbase/vellum instead of couchbaselabs/vellum 2017-12-19 10:49:57 -08:00
upsidedown fix comment typo 2017-08-24 16:25:10 -07:00
analysis.go working in-memory version 2017-11-29 11:33:35 -05:00
field_cache.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
index.go reduce garbage created while processing facets 2017-03-02 17:00:46 -05:00