From fc4d407ec5db85c5791c80e451af0b07d5472f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Leszczy=C5=84ski?= <2000michal@wp.pl> Date: Wed, 24 Jan 2024 10:58:20 +0100 Subject: [PATCH] feat(swagger): agent, extend NodeInfo with consistent_cluster_management --- swagger/agent.json | 4 ++++ swagger/gen/agent/models/node_info.go | 3 +++ 2 files changed, 7 insertions(+) diff --git a/swagger/agent.json b/swagger/agent.json index 34874d7255..bdca3e664b 100644 --- a/swagger/agent.json +++ b/swagger/agent.json @@ -1470,6 +1470,10 @@ "sstable_uuid_format": { "description": "Whether Scylla supports uuid-like sstable naming.", "type": "boolean" + }, + "consistent_cluster_management": { + "description": "Whether Scylla uses RAFT for cluster management and DDL.", + "type": "boolean" } } } diff --git a/swagger/gen/agent/models/node_info.go b/swagger/gen/agent/models/node_info.go index 8c1ea5e94d..7e5967511d 100644 --- a/swagger/gen/agent/models/node_info.go +++ b/swagger/gen/agent/models/node_info.go @@ -50,6 +50,9 @@ type NodeInfo struct { // Whether client authorization is required. ClientEncryptionRequireAuth bool `json:"client_encryption_require_auth,omitempty"` + // Whether Scylla uses RAFT for cluster management and DDL. + ConsistentClusterManagement bool `json:"consistent_cluster_management,omitempty"` + // Logical CPU count. CPUCount int64 `json:"cpu_count,omitempty"`