Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TriggerCheckpointCommand ¶
type TriggerCheckpointCommand struct {
// contains filtered or unexported fields
}
TriggerCheckpointCommand will send a signal to compactor to trigger checkpoint once finishing writing the current WAL segment file
func NewTriggerCheckpointCommand ¶
func NewTriggerCheckpointCommand(trigger *atomic.Bool) *TriggerCheckpointCommand
func (*TriggerCheckpointCommand) Handler ¶
func (s *TriggerCheckpointCommand) Handler(ctx context.Context, req *admin.CommandRequest) (interface{}, error)
func (*TriggerCheckpointCommand) Validator ¶
func (s *TriggerCheckpointCommand) Validator(req *admin.CommandRequest) error
Click to show internal directories.
Click to hide internal directories.