Documentation ¶
Index ¶
- type BlockRemovalContext
- type Config
- type DeletionMarkers
- func (m *DeletionMarkers) FindExpiredMarkers(now int64) map[string]*BlockRemovalContext
- func (m *DeletionMarkers) IsMarked(blockId string) bool
- func (m *DeletionMarkers) Load()
- func (m *DeletionMarkers) Mark(shard uint32, tenant string, blockId string, deletedTs int64) error
- func (m *DeletionMarkers) Reload(db *bbolt.DB)
- func (m *DeletionMarkers) Remove(markers map[string]*BlockRemovalContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockRemovalContext ¶
type Config ¶
type DeletionMarkers ¶
type DeletionMarkers struct {
// contains filtered or unexported fields
}
func NewDeletionMarkers ¶
func NewDeletionMarkers(db *bbolt.DB, cfg *Config, logger log.Logger, reg prometheus.Registerer) *DeletionMarkers
func (*DeletionMarkers) FindExpiredMarkers ¶
func (m *DeletionMarkers) FindExpiredMarkers(now int64) map[string]*BlockRemovalContext
func (*DeletionMarkers) IsMarked ¶
func (m *DeletionMarkers) IsMarked(blockId string) bool
func (*DeletionMarkers) Load ¶
func (m *DeletionMarkers) Load()
func (*DeletionMarkers) Reload ¶
func (m *DeletionMarkers) Reload(db *bbolt.DB)
func (*DeletionMarkers) Remove ¶
func (m *DeletionMarkers) Remove(markers map[string]*BlockRemovalContext) error
Click to show internal directories.
Click to hide internal directories.