From 0cbbb44b481b926fab22bdfd7610722a4550f80a Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Sat, 13 Jan 2024 13:13:37 -0500 Subject: [PATCH] GoDoc --- .circleci/config.yml | 4 ++-- store/store.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2da95e2a..3cbe04d5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,7 +58,7 @@ jobs: steps: - checkout - 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 test_even: @@ -67,7 +67,7 @@ jobs: steps: - checkout - 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 race_odd: diff --git a/store/store.go b/store/store.go index c4722569..d58a5519 100644 --- a/store/store.go +++ b/store/store.go @@ -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 -// underlying database. +// underlying database. If the index is unknown then 0 is returned. func (s *Store) DBAppliedIndex() uint64 { s.dbAppliedIdxMu.RLock() defer s.dbAppliedIdxMu.RUnlock()