Skip to content

Commit

Permalink
more renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
moogacs committed May 9, 2024
1 parent a0080dd commit 373b2a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion adapters/repos/db/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (db *DB) localNodeStatistics() (*models.Statistics, error) {
IsVoter: stats["is_voter"].(bool),
Open: stats["open"].(bool),
Bootstrapped: stats["bootstrapped"].(bool),
InitialLastAppliedIndex: stats["initial_last_applied_index"].(uint64),
LastAppliedIndexOnStart: stats["last_store_log_applied_index"].(uint64),

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / unit-tests

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / integration-tests

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / integration-tests

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / golangci

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics) (typecheck)

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / golangci

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics) (typecheck)

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / golangci

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics) (typecheck)

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / golangci

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics (typecheck)

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / unit-tests

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / integration-tests

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics

Check failure on line 294 in adapters/repos/db/nodes.go

View workflow job for this annotation

GitHub Actions / integration-tests

unknown field LastAppliedIndexOnStart in struct literal of type "github.com/weaviate/weaviate/entities/models".Statistics
DbLoaded: stats["db_loaded"].(bool),
Candidates: stats["candidates"],
Raft: raft,
Expand Down
4 changes: 2 additions & 2 deletions cluster/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,8 @@ func (f *Store) FindSimilarClass(name string) string {
// The value of "candidates" is a map[string]string of the current candidates IDs/addresses,
// see Store.candidates.
//
// The value of "initial_last_applied_index" is the index of the last applied command found when
// the store was opened, see Store.initialLastAppliedIndex.
// The value of "last_store_log_applied_index" is the index of the last applied command found when
// the store was opened, see Store.lastAppliedIndexOnStart.
//
// The value of "last_applied_index" is the index of the latest update to the store,
// see Store.lastAppliedIndex.
Expand Down

0 comments on commit 373b2a0

Please sign in to comment.