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 .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2013, 2025
# SPDX-License-Identifier: MPL-2.0

# Number of days of inactivity before an Issue becomes stale
Expand Down
2 changes: 1 addition & 1 deletion .golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2013, 2025
# SPDX-License-Identifier: MPL-2.0

run:
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2013, 2025
# SPDX-License-Identifier: MPL-2.0

language: go
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013 HashiCorp, Inc.
Copyright IBM Corp. 2013, 2025

Mozilla Public License, version 2.0

Expand Down
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

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

package raftbench
Expand Down
2 changes: 1 addition & 1 deletion bench_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

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

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

package raft
Expand Down
2 changes: 1 addition & 1 deletion commitment_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// 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 (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

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

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

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

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

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

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

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

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

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

package raft
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/apply_src.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/cluster.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/fsm.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/fsm_batch.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

//go:build batchtest
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/leadershiptransfer_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/membership_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/node.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/partition_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/resolve.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/simple_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/slowvoter_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/transport.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion fuzzy/verifier.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package fuzzy
Expand Down
2 changes: 1 addition & 1 deletion inmem_snapshot.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package raft
Expand Down
2 changes: 1 addition & 1 deletion inmem_snapshot_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// 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 (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

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

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

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

package raft
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 (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

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

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

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

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

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

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

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

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

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

package raft
Expand Down
2 changes: 1 addition & 1 deletion raft-compat/prevote_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package raft_compat
Expand Down
2 changes: 1 addition & 1 deletion raft-compat/rolling_upgrade_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package raft_compat
Expand Down
2 changes: 1 addition & 1 deletion raft-compat/testcluster/cluster.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package testcluster
Expand Down
2 changes: 1 addition & 1 deletion raft-compat/utils/test_utils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package utils
Expand Down
2 changes: 1 addition & 1 deletion raft.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// 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 (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

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

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

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

package raft
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 (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

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

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

package raft
Expand Down
2 changes: 1 addition & 1 deletion tag.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2013, 2025
# SPDX-License-Identifier: MPL-2.0

set -e
Expand Down
2 changes: 1 addition & 1 deletion tcp_transport.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

package raft
Expand Down
2 changes: 1 addition & 1 deletion tcp_transport_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// 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 (c) HashiCorp, Inc.
// Copyright IBM Corp. 2013, 2025
// SPDX-License-Identifier: MPL-2.0

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

//go:build batchtest
Expand Down
Loading
Loading