perkeep/pkg/index
mpl f9a8e002b8 pkg/index: test showing issue #756
A word of caution: relatedly to the issue demonstrated by the added
tests, an infinite loop can also occur, as it already could in
TestReindex_LevelDB. As it is, after all, a consequence of a race, I
haven't been able to determine what exactly makes the loop occur. But
what I observed is:

1) It seems to be occuring much more easily with LevelDB, which is why I
ended up just disabling TestReindex_LevelDB.
2) I've never seen it happen in TestReindex_Kvfile, but who knows.
3) I've seen it rarely happen with TestShowReindexRace_Kvfile, but it
seems that adding in TestShowReindexRace_Kvfile the kind of timed kill
that I had added TestReindex_LevelDB, actually makes the loop happen
much more often. And it ends up eclipsing the original issue that we
want to demonstrate, which is why I decided against it.

TL;DR: if you use -show_reindex_race=true , be prepared to maybe
have to kill(1) the test manually.

Change-Id: I47fd3c55363c8d0dda17ad19665115cb96f3d58f
2016-08-05 16:37:50 +02:00
..
indextest pkg/index: test showing issue #756 2016-08-05 16:37:50 +02:00
sqlindex Delete misc unused objects 2016-04-06 17:59:51 +02:00
sqlite Move remaining stuff in third_party/* to vendor/* 2016-04-20 16:49:15 -07:00
stress server/synchandler: add exported constructor and IdleWait method 2016-01-28 01:56:00 +01:00
corpus.go Fix deadlock in search/index. 2016-04-22 14:57:10 -07:00
corpus_bench_test.go index: reindex blobs when dependent blobs arrive out-of-order 2014-03-15 08:44:09 -07:00
corpus_test.go pkg/index: add missing locking for some tests 2016-05-03 15:07:49 +02:00
doc.go add canonical import paths 2016-03-13 19:57:14 -07:00
enumstat.go adding keys to fields to make go vet happy 2016-01-09 00:34:55 -08:00
export_test.go index/Corpus: add Attrs cache to PermanodeMeta 2016-01-27 17:09:18 +01:00
index.go pkg/fs: take At into account for (root)dirs 2016-08-01 18:45:26 +02:00
index_test.go Fix deadlock in search/index. 2016-04-22 14:57:10 -07:00
interface.go Fix deadlock in search/index. 2016-04-22 14:57:10 -07:00
keys.go index: store exifgps keys without exponent 2016-05-16 09:39:30 -07:00
keys_test.go in-memory search: better structure for keeping memory corpus and kv 2013-11-17 09:41:45 -08:00
kvfile_test.go pkg/index: test showing issue #756 2016-08-05 16:37:50 +02:00
leveldb_test.go pkg/index: test showing issue #756 2016-08-05 16:37:50 +02:00
memindex.go vendor: go4.org/jsonconfig (and errorutil) 2015-12-01 17:21:49 +01:00
mongo_test.go vendor: go4.org/jsonconfig (and errorutil) 2015-12-01 17:21:49 +01:00
mysql_test.go pkg/index: test showing issue #756 2016-08-05 16:37:50 +02:00
postgres_test.go vendor: go4.org/jsonconfig (and errorutil) 2015-12-01 17:21:49 +01:00
receive.go pkg/index: test showing issue #756 2016-08-05 16:37:50 +02:00
reversetime.go
sniff.go search: more in-memory search work. make tests verify Scan doesn't hit Storage. 2013-11-16 18:50:01 -08:00
util.go