MCPcopy Index your code
hub / github.com/cortexproject/cortex / compactRootDir

Method compactRootDir

pkg/compactor/compactor.go:1261–1263  ·  view source on GitHub ↗

compactRootDir returns the root directory to be used to download and compact blocks

()

Source from the content-addressed store, hash-verified

1259
1260// compactRootDir returns the root directory to be used to download and compact blocks
1261func (c *Compactor) compactRootDir() string {
1262 return filepath.Join(c.compactorCfg.DataDir, "compact")
1263}
1264
1265// This function returns tenants with meta sync directories found on local disk. On error, it returns nil map.
1266func (c *Compactor) listTenantsWithMetaSyncDirectories() map[string]struct{} {

Callers 2

compactUserMethod · 0.95
compactDirForUserMethod · 0.95

Calls 1

JoinMethod · 0.80

Tested by

no test coverage detected