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
Make tikv filer enable/disable by build tags
yulai.li824cbe32beca
diff --git a/Makefile b/Makefileindex a423a6dddc..aa736edeee 100644--- a/Makefile+++ b/Makefile@@ -8,7 +8,7 @@ install:cd weed; go installfull_install:- cd weed; go install -tags "elastic gocdk sqlite ydb"+ cd weed; go install -tags "elastic gocdk sqlite ydb tikv"test:- cd weed; go test -tags "elastic gocdk sqlite ydb" -v ./...+ cd weed; go test -tags "elastic gocdk sqlite ydb tikv" -v ./...diff --git a/weed/filer/tikv/tikv.go b/weed/filer/tikv/tikv.goindex 8bb5dc5775..ba1da27a87 100644--- a/weed/filer/tikv/tikv.go+++ b/weed/filer/tikv/tikv.go@@ -1,5 +1,6 @@-package tikv-/*+ * Package tikv is for TiKV filer store.* This empty file is let go build can work without tikv tag+ * Using "make full_install" to enable TiKV filer store.*/+package tikvdiff --git a/weed/filer/tikv/tikv_store.go b/weed/filer/tikv/tikv_store.goindex f333af38e8..f8932663dc 100644--- a/weed/filer/tikv/tikv_store.go+++ b/weed/filer/tikv/tikv_store.go@@ -1,3 +1,6 @@+//go:build tikv+// +build tikv+package tikvimport (diff --git a/weed/filer/tikv/tikv_store_kv.go b/weed/filer/tikv/tikv_store_kv.goindex dcc9acf8c9..1d9428c696 100644--- a/weed/filer/tikv/tikv_store_kv.go+++ b/weed/filer/tikv/tikv_store_kv.go@@ -1,3 +1,6 @@+//go:build tikv+// +build tikv+package tikvimport (