diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-04-04 17:51:51 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-04-04 17:51:51 +0500 |
| commit | 14dd97189011d2a8802d5c9cc1726802cf19f2b2 (patch) | |
| tree | 8f25cc1b33e27c96260b491de66057f9c4d44a65 /weed/topology/cluster_commands.go | |
| parent | c514710b7b0454c7a070ebf30aa865c9a5ad1591 (diff) | |
| download | seaweedfs-14dd97189011d2a8802d5c9cc1726802cf19f2b2.tar.xz seaweedfs-14dd97189011d2a8802d5c9cc1726802cf19f2b2.zip | |
hashicorp raft with state machine
Diffstat (limited to 'weed/topology/cluster_commands.go')
| -rw-r--r-- | weed/topology/cluster_commands.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/topology/cluster_commands.go b/weed/topology/cluster_commands.go index 951de0711..1bcc6b449 100644 --- a/weed/topology/cluster_commands.go +++ b/weed/topology/cluster_commands.go @@ -23,6 +23,7 @@ func (c *MaxVolumeIdCommand) CommandName() string { return "MaxVolumeId" } +// deprecatedCommandApply represents the old interface to apply a command to the server. func (c *MaxVolumeIdCommand) Apply(server raft.Server) (interface{}, error) { topo := server.Context().(*Topology) before := topo.GetMaxVolumeId() |
