1
0
Fork 0
master
Philip O'Toole 8 months ago
parent 40166b852b
commit 0cbbb44b48

@ -58,7 +58,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_and_save_cache - restore_and_save_cache
- run: go test -failfast -v $(go list ./... | sed -n 'n;p') - run: go test -failfast $(go list ./... | sed -n 'n;p')
resource_class: large resource_class: large
test_even: test_even:
@ -67,7 +67,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_and_save_cache - restore_and_save_cache
- run: go test -failfast -v $(go list ./... | sed -n 'p;n') - run: go test -failfast $(go list ./... | sed -n 'p;n')
resource_class: large resource_class: large
race_odd: race_odd:

@ -685,7 +685,7 @@ func (s *Store) WaitForAppliedIndex(idx uint64, timeout time.Duration) error {
} }
// DBAppliedIndex returns the index of the last Raft log that changed the // DBAppliedIndex returns the index of the last Raft log that changed the
// underlying database. // underlying database. If the index is unknown then 0 is returned.
func (s *Store) DBAppliedIndex() uint64 { func (s *Store) DBAppliedIndex() uint64 {
s.dbAppliedIdxMu.RLock() s.dbAppliedIdxMu.RLock()
defer s.dbAppliedIdxMu.RUnlock() defer s.dbAppliedIdxMu.RUnlock()

Loading…
Cancel
Save