MCPcopy
hub / github.com/grafana/tempo / WriteNoCompactFlag

Method WriteNoCompactFlag

tempodb/backend/backend.go:58–58  ·  view source on GitHub ↗

WriteNoCompactFlag writes the nocompact flag to prevent a block from being compacted

(ctx context.Context, blockID uuid.UUID, tenantID string)

Source from the content-addressed store, hash-verified

56 Delete(ctx context.Context, name string, keypath KeyPath) error
57 // WriteNoCompactFlag writes the nocompact flag to prevent a block from being compacted
58 WriteNoCompactFlag(ctx context.Context, blockID uuid.UUID, tenantID string) error
59 // DeleteNoCompactFlag deletes the nocompact flag to allow a block to be compacted
60 DeleteNoCompactFlag(ctx context.Context, blockID uuid.UUID, tenantID string) error
61}

Callers 6

TestNoCompactFlagFunction · 0.95
CopyBlockFunction · 0.65
CompleteMethod · 0.65
CompleteMethod · 0.65
CopyBlockFunction · 0.65
CompleteMethod · 0.65

Calls

no outgoing calls

Tested by 1

TestNoCompactFlagFunction · 0.76