Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ shouldClose
Method
shouldClose
pkg/ingester/ingester.go:363–365 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
361
)
362
363
func
(r tsdbCloseCheckResult) shouldClose() bool {
364
return
r == tsdbIdle || r == tsdbTenantMarkedForDeletion
365
}
366
367
type
userTSDB
struct
{
368
db *tsdb.DB
Callers
1
closeAndDeleteUserTSDBIfIdle
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected