Skip to content

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.

527 B
Raw Blame
package version

import (
	"fmt"

	"github.com/seaweedfs/seaweedfs/weed/stats"
	"github.com/seaweedfs/seaweedfs/weed/util"
)

var (
	MAJOR_VERSION  = int32(4)
	MINOR_VERSION  = int32(53)
	VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
	VERSION        = util.SizeLimit + " " + VERSION_NUMBER
	COMMIT         = ""
)

func init() {
	// Set version info in stats for Prometheus metrics
	stats.SetVersionInfo(VERSION_NUMBER, COMMIT, util.SizeLimit)
}

func Version() string {
	return VERSION + " " + COMMIT
}