Kelvin Mwinuka
85e8a68125
Close AOF engine files on shutdown. Close snapshot file after restoring snapshot on startup. Implemented tests for HELLO command in echovault package. Implemented tests for GetServerInfo in echovault package.
2024-07-03 00:53:49 +08:00
Kelvin Mwinuka
9c2b4d478b
Added JSON and YAML tag for DiscoveryPort config option
2024-06-20 04:31:45 +08:00
Kelvin Mwinuka
9b0d590171
Removed RaftBindPort config. Raft bind address and port are dynamically assigned on startup instead of configured manually. Replaced memberlist-port configuration with discovery-port.
2024-06-20 04:20:31 +08:00
Kelvin Clement Mwinuka
33d6651928
Removed --in-memory config flag. InMemory is now inferred from whether the data directory was provided.
2024-06-13 16:37:30 +08:00
Kelvin Clement Mwinuka
000115ceb0
Created "loadmodules" args for loading ".so" modules into EchoVault.
...
Moved types associated with embedded commands extension into api_admin.go file and deleted types.go file as it's no longer necessary.
Updated docker-compose and Dockerfile.dev to pass .so modules to load on startup.
Volumes folder is no longer ignores except for the nodes subfolder.
2024-04-30 12:17:30 +08:00
Kelvin Clement Mwinuka
281c4f27a7
Added godoc commends for embedded methods and types to extend commands. Moved constants to internal directory
2024-04-29 15:20:10 +08:00
Kelvin Clement Mwinuka
97f4617d86
Moved all packages from /pkg directory to the root directory. Deleted /pkg directory. Pass keyspace functions to raft package instead of an EchoVault instance. This removes dependency on the echovault pakage from the raft package.
2024-04-28 00:37:45 +08:00
Kelvin Mwinuka
1bd7147e99
Added Configuration and Eviction Sections in README.md
2024-04-04 21:36:43 +08:00
Kelvin Mwinuka
d7c3509533
Created 'constants' package for const.go file and 'types' package for shared and exported types
2024-04-01 18:32:01 +08:00
Kelvin Mwinuka
88a8e2aae6
Created DefaultConfig to be used when embedding echovaule. Moved ACL and PubSub to internal packages with only the associated commands in the modules folder. Initialise ACL and PubSub when creating new EchoVault instance which removed the need to pass WithACL and WithPubSub options.
2024-03-26 18:15:27 +08:00