Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013, 2025
// Copyright IBM Corp. 2013, 2026
// SPDX-License-Identifier: MPL-2.0

package raft
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013, 2025
// Copyright IBM Corp. 2013, 2026
// SPDX-License-Identifier: MPL-2.0

package raft
Expand Down
2 changes: 1 addition & 1 deletion inmem_store.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013, 2025
// Copyright IBM Corp. 2013, 2026
// SPDX-License-Identifier: MPL-2.0

package raft
Expand Down Expand Up @@ -135,7 +135,7 @@
return i.kvInt[string(key)], nil
}

type commitIndexTrackingLog struct {

Check failure on line 138 in inmem_store.go

View workflow job for this annotation

GitHub Actions / go-fmt-and-vet

type commitIndexTrackingLog is unused (unused)
log *Log
CommitIndex uint64
}
Expand Down
2 changes: 1 addition & 1 deletion log.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013, 2025
// Copyright IBM Corp. 2013, 2026
// SPDX-License-Identifier: MPL-2.0

package raft
Expand Down
2 changes: 1 addition & 1 deletion raft_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013, 2025
// Copyright IBM Corp. 2013, 2026
// SPDX-License-Identifier: MPL-2.0

package raft
Expand Down Expand Up @@ -1261,7 +1261,7 @@
if !ok {
t.Fatal("err: raft log store does not implement CommitTrackingLogStore interface")
}
commitIdx, err := store.GetCommitIndex()

Check failure on line 1264 in raft_test.go

View workflow job for this annotation

GitHub Actions / go-fmt-and-vet

ineffectual assignment to err (ineffassign)
// We should have applied all committed logs
if last := r.getLastApplied(); last != commitIdx {
t.Fatalf("bad last index: %d, expecting %d", last, commitIdx)
Expand Down
2 changes: 1 addition & 1 deletion snapshot.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013, 2025
// Copyright IBM Corp. 2013, 2026
// SPDX-License-Identifier: MPL-2.0

package raft
Expand Down
2 changes: 1 addition & 1 deletion testing.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013, 2025
// Copyright IBM Corp. 2013, 2026
// SPDX-License-Identifier: MPL-2.0

package raft
Expand Down
Loading