SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
master ui add raft stats and Max Volume Id
Konstantin Lebedev104ea7b02912
diff --git a/weed/server/master_server_handlers_ui.go b/weed/server/master_server_handlers_ui.goindex 2dc12f73dc..d8260d8d2f 100644--- a/weed/server/master_server_handlers_ui.go+++ b/weed/server/master_server_handlers_ui.go@@ -15,6 +15,7 @@ import (func (ms *MasterServer) uiStatusHandler(w http.ResponseWriter, r *http.Request) {infos := make(map[string]interface{})infos["Up Time"] = time.Now().Sub(startTime).String()+ infos["Max Volume Id"] = ms.Topo.GetMaxVolumeId()if ms.Topo.RaftServer != nil {args := struct {Version stringdiff --git a/weed/server/master_ui/masterNewRaft.html b/weed/server/master_ui/masterNewRaft.htmlindex be8aa7bbf2..32afdceac7 100644--- a/weed/server/master_ui/masterNewRaft.html+++ b/weed/server/master_ui/masterNewRaft.html@@ -64,6 +64,17 @@</tr>{{ end }}</table>+ <h2>Raft Stats</h2>+ <table class="table table-condensed table-striped">+ <tr>+ <th>applied_index</th>+ <td>{{ .RaftServer.Stats.applied_index }}</td>+ </tr>+ <tr>+ <th>last_log_term</th>+ <td>{{ .RaftServer.Stats.last_log_term }}</td>+ </tr>+ </table></div></div>