mirror of
https://github.com/tailscale/tailscale.git
synced 2025-06-10 01:38:35 +00:00

The comments in the raft code say to only use the InMemStore for tests. Updates #16027 Signed-off-by: Fran Bull <fran@tailscale.com>
19 lines
423 B
Go
19 lines
423 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build loong64
|
|
|
|
package tsconsensus
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/hashicorp/raft"
|
|
)
|
|
|
|
func boltStore(path string) (raft.StableStore, raft.LogStore, error) {
|
|
// "github.com/hashicorp/raft-boltdb/v2" doesn't build on loong64
|
|
// see https://github.com/hashicorp/raft-boltdb/issues/27
|
|
return nil, nil, errors.New("not implemented")
|
|
}
|