Files
Martin DisibioandGitHub 011f1b0fcc Gracefully handle unsupported block encodings (#5543)
* test

* Refactor dupe errors, skip compaction, fix error handling in search

* Lint, tests

* Fix tests
2025-09-16 10:29:49 +10:00

20 lines
424 B
Go

package common
import (
"strconv"
)
const (
// NameObjects names the backend data object
NameObjects = "data"
// NameIndex names the backend index object
NameIndex = "index"
// nameBloomPrefix is the prefix used to build the bloom shards
nameBloomPrefix = "bloom-"
)
// bloomName returns the backend bloom name for the given shard
func BloomName(shard int) string {
return nameBloomPrefix + strconv.Itoa(shard)
}