- Fix broken garbage collection in the new store leading to very high memory usage - Make the new store do full garbage collection on OSD startup by default (can be turned off with a new gc_on_start parameter) - Make startup logging with the new store more informative, allow to log amount of garbage with log_level > 1 - Fix clients reading from snapshots incorrectly on retries (for example when OSDs were restarted during read) - Fix a possible "send-after-free" in OSD which could probably also affect snapshot reads - Fix OSD crashing when handling a read_bitmap operation from a deleted object with the new store
23 lines
461 B
Go
23 lines
461 B
Go
// Copyright (c) Vitaliy Filippov, 2019+
|
|
// License: VNPL-1.1 or GNU GPL-2.0+ (see README.md for details)
|
|
|
|
package vitastor
|
|
|
|
const (
|
|
vitastorCSIDriverName = "csi.vitastor.io"
|
|
vitastorCSIDriverVersion = "3.0.9"
|
|
)
|
|
|
|
// Config struct fills the parameters of request or user input
|
|
type Config struct
|
|
{
|
|
Endpoint string
|
|
NodeID string
|
|
}
|
|
|
|
// NewConfig returns config struct to initialize new driver
|
|
func NewConfig() *Config
|
|
{
|
|
return &Config{}
|
|
}
|