- Implement `vitastor-kv rescue` command which dumps all readable blocks from the database regardless of the tree structure and allows to recover a corrupted database. - Simplify primary OSD selection - use just PG number instead of the hash. This allows to distribute primary OSDs more evenly and reach better read speeds. - Fix vitastor-kv-stress hang on parallel list & reopen. - Fix CAS writes without immediate_commit. Fix is sufficient for vitastor-kv to operate correctly in non-immediate_commit pools. - Fix NFS ACCESS calls for broken inodes (allow root access to them). - Fix broken vitastor-kv-stress --runtime parameter. - Fix bad vitastor-kv dump output buffering leading to incorrect JSON in dumps. - Fix writing garbage from uninitialized memory to the empty space in VitastorKV DB. - Refactor some code in preparation to the release of the new log-structured metadata store. - Replace assert(done != expected) error message, probably caused by kernel issues with zero-copy TCP send, with a more concise error description.
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 = "2.4.4"
|
|
)
|
|
|
|
// 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{}
|
|
}
|