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
admin: vector buckets link maintenance jobs to the Lance lane (#12633)
Chris Lu08f9dcb6de1f
diff --git a/weed/admin/view/app/s3vectors_buckets_test.go b/weed/admin/view/app/s3vectors_buckets_test.goindex ee97245d23..d20a98361f 100644--- a/weed/admin/view/app/s3vectors_buckets_test.go+++ b/weed/admin/view/app/s3vectors_buckets_test.go@@ -86,6 +86,7 @@ func TestVectorOperationalStates(t *testing.T) {} {var out bytes.Bufferrequire.NoError(t, VectorStatus(data).Render(t.Context(), &out))+ require.Contains(t, out.String(), `<a href="/plugin/lanes/lance">Maintenance jobs</a>`)if data.DiscoveryError != "" {require.Contains(t, out.String(), "Engine discovery failed")} else if len(data.Engines) == 0 {diff --git a/weed/admin/view/app/vector_status.templ b/weed/admin/view/app/vector_status.templindex 9318e55974..110d26fb74 100644--- a/weed/admin/view/app/vector_status.templ+++ b/weed/admin/view/app/vector_status.templ@@ -25,7 +25,7 @@ templ VectorStatus(data dash.VectorOperationsData) {} else {<p>{ fmt.Sprintf("%d vector maintenance workers connected",data.MaintenanceWorkers) }</p>}- <a href={ dash.PUrl(ctx,"/plugin/monitoring") }>Maintenance jobs</a>+ <a href={ dash.PUrl(ctx,"/plugin/lanes/lance") }>Maintenance jobs</a>if len(data.MaintenanceJobs)>0 {<table class="table table-sm mt-2"><thead><tr><th>Recent job</th><th>State</th><th>Result</th></tr></thead><tbody>for _,job:=range data.MaintenanceJobs {diff --git a/weed/admin/view/app/vector_status_templ.go b/weed/admin/view/app/vector_status_templ.goindex ba03e203b4..ef8278ad46 100644--- a/weed/admin/view/app/vector_status_templ.go+++ b/weed/admin/view/app/vector_status_templ.go@@ -142,9 +142,9 @@ func VectorStatus(data dash.VectorOperationsData) templ.Component {return templ_7745c5c3_Err}var templ_7745c5c3_Var7 string- templ_7745c5c3_Var7, templ_7745c5c3_Err = templruntime.NewAttributeExpression(dash.PUrl(ctx, "/plugin/monitoring")).ResolveURL(ctx)+ templ_7745c5c3_Var7, templ_7745c5c3_Err = templruntime.NewAttributeExpression(dash.PUrl(ctx, "/plugin/lanes/lance")).ResolveURL(ctx)if templ_7745c5c3_Err != nil {- return templ.Error{Err: templ_7745c5c3_Err, FileName: `view/app/vector_status.templ`, Line: 28, Col: 48}+ return templ.Error{Err: templ_7745c5c3_Err, FileName: `view/app/vector_status.templ`, Line: 28, Col: 49}}_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var7)if templ_7745c5c3_Err != nil {