etcd/mvcc
Gyuho Lee 1caaa9ed4a test: test update for Go 1.12.5 and related changes
Update to Go 1.12.5 testing. Remove deprecated unused and gosimple
pacakges, and mask staticcheck 1006. Also, fix unconvert errors related
to unnecessary type conversions and following staticcheck errors:
- remove redundant return statements
- use for range instead of for select
- use time.Since instead of time.Now().Sub
- omit comparison to bool constant
- replace T.Fatal and T.Fatalf in tests with T.Error and T.Fatalf respectively because the goroutine calls T.Fatal must be called in the same goroutine as the test
- fix error strings that should not be capitalized
- use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...))
- use he status code of Canceled instead of grpc.ErrClientConnClosing which is deprecated
- use use status.Errorf instead of grpc.Errorf which is deprecated

Related #10528 #10438
2019-06-05 17:02:05 -04:00
..
backend mvcc/backend: rename ReadTx Lock() to RLock() 2019-03-05 13:53:27 -08:00
mvccpb *: revert "internal/mvcc" change 2018-02-26 17:11:40 -08:00
doc.go *: revert "internal/mvcc" change 2018-02-26 17:11:40 -08:00
index.go mvcc: revert change made by 10526 2019-05-29 17:41:33 -07:00
index_bench_test.go mvcc: Clone the key index for compaction and lock on each item 2018-04-18 13:29:27 -07:00
index_test.go mvcc: add more structured logging 2018-05-04 13:15:51 -07:00
key_index.go mvcc: clean up code format 2018-07-21 16:03:16 -07:00
key_index_test.go mvcc: add more structured logging 2018-05-04 13:15:51 -07:00
kv.go *: revert module import paths 2019-05-28 15:39:35 -07:00
kv_test.go *: revert module import paths 2019-05-28 15:39:35 -07:00
kv_view.go *: revert module import paths 2019-05-28 15:39:35 -07:00
kvstore.go *: revert module import paths 2019-05-28 15:39:35 -07:00
kvstore_bench_test.go *: revert module import paths 2019-05-28 15:39:35 -07:00
kvstore_compaction.go mvcc: fix db_compaction_total_duration_milliseconds 2019-04-16 10:32:21 +08:00
kvstore_compaction_test.go *: revert module import paths 2019-05-28 15:39:35 -07:00
kvstore_test.go test: test update for Go 1.12.5 and related changes 2019-06-05 17:02:05 -04:00
kvstore_txn.go *: revert module import paths 2019-05-28 15:39:35 -07:00
metrics.go mvcc: server db size with "etcd_debugging" namespace for backward compatibility 2018-06-07 10:23:12 -07:00
metrics_txn.go *: revert module import paths 2019-05-28 15:39:35 -07:00
revision.go Doc: Fix typo in revision.go 2019-05-16 14:29:10 +01:00
revision_test.go *: revert "internal/mvcc" change 2018-02-26 17:11:40 -08:00
util.go *: revert module import paths 2019-05-28 15:39:35 -07:00
watchable_store.go *: revert module import paths 2019-05-28 15:39:35 -07:00
watchable_store_bench_test.go *: revert module import paths 2019-05-28 15:39:35 -07:00
watchable_store_test.go *: revert module import paths 2019-05-28 15:39:35 -07:00
watchable_store_txn.go *: revert module import paths 2019-05-28 15:39:35 -07:00
watcher.go *: revert module import paths 2019-05-28 15:39:35 -07:00
watcher_bench_test.go *: revert module import paths 2019-05-28 15:39:35 -07:00
watcher_group.go *: revert module import paths 2019-05-28 15:39:35 -07:00
watcher_test.go *: revert module import paths 2019-05-28 15:39:35 -07:00