chore: new InspectMachine gRPC method that to return store DB version (lamport time)

This commit is contained in:
Pasha Sviderski
2025-12-19 16:29:14 +10:00
parent d2a7af744d
commit fc847093d2
6 changed files with 406 additions and 123 deletions
+3
View File
@@ -24,6 +24,9 @@ type State struct {
Name string
// Network specifies the network configuration for this machine.
Network *network.Config
// MinStoreDBVersion is the latest database version of one of the existing cluster machines at the time this machine
// joined the cluster. The machine should sync to at least this version before starting any cluster operations.
MinStoreDBVersion int64 `json:",omitempty"`
// path is the file path config is read from and saved to.
path string