Commit Graph

109 Commits

Author SHA1 Message Date
Samuel Adebayo
d0dd8dbfc1 [#70] Implement HMGET command (#104)
Added HMGET command - @thesambayo 

---------

Co-authored-by: Kelvin Clement Mwinuka <kelvinmwinuka@hotmail.co.uk>
2024-09-08 22:10:49 +08:00
Dave McPherson
e858061aee Type Command implementation (#103)
Implemented TYPE command - @DMcP89
2024-09-08 01:57:56 +08:00
osteensco
21e2ca57cb Iss 69 - Implement GETEX (#101)
GETEX implemented. Fixed issue in SortedSet.GetRandom where it would sometimes return an empty value in one of its indexes - @osteensco
2024-09-07 00:24:56 +08:00
osteensco
ac0964912f Iss 68 implement GETDEL command (#97)
Added GETDEL command.
2024-08-25 10:13:10 +08:00
Kelvin Clement Mwinuka
f28a59cae8 Added test setup that adds keys for RANDOMKEY command instead of relying on keys from other tests. 2024-08-18 02:17:45 +08:00
Kelvin Clement Mwinuka
e5977ec5ef Renamed 'Randomkey' to 'RandomKey' to follow PascalCase convention for exported methods. Added more clear definition for the RANDOMKEY command. 2024-08-18 01:50:07 +08:00
Scott Osteen
791e73d0bc test fixed 2024-08-15 16:24:27 -05:00
Scott Osteen
a7f0c07e5d randomkey command added for client-server spec 2024-08-15 16:21:33 -05:00
Scott Osteen
35984ee21c created RANDOMKEY command test 2024-08-15 10:02:21 -05:00
Kelvin Clement Mwinuka
718b7f270f Updated HSET commands handler to be more thread-safe 2024-07-11 11:21:06 +08:00
Kelvin Mwinuka
f86d67d4f0 Updated list module commands to return expected results. 2024-07-11 10:09:30 +08:00
Kelvin Mwinuka
fa1be7ccf8 Updated README.md to include new commands 2024-07-04 09:50:54 +08:00
Kelvin Mwinuka
08a6f5f45f Removed keyspace category for INCRBYFLOAT command 2024-07-04 09:47:24 +08:00
DMcP89
2f7ba5fe3d Changing APPEND command to write category 2024-07-04 09:47:24 +08:00
DMcP89
854ebb0700 Adding context to params.KeyExist 2024-07-04 09:47:24 +08:00
DMcP89
4e0ab4e19a Adding tests for APPEND 2024-07-04 09:46:32 +08:00
DMcP89
b36d5056af Implementing APPEND command 2024-07-04 09:46:09 +08:00
DMcP89
eb80a8dbb1 Begining to implement Append command 2024-07-04 09:46:09 +08:00
Sahil
3c9d0253e4 updated tests 2024-07-04 00:45:32 +05:30
Sahil
cb0488c233 added tests and fixed misplaced function 2024-07-03 01:17:06 +05:30
Sahil
e3a269890e feat: INCRBYFLOAT command added 2024-07-03 01:06:09 +05:30
Kelvin Mwinuka
f4fdc789b3 Added description for the HELLO command 2024-07-01 09:23:58 +08:00
Kelvin Mwinuka
f14de2d9ff Implemented tests for FLUSHDB and FLUSHALL commands 2024-07-01 06:37:07 +08:00
Sahil
03f278c9a0 feat: added DECRBY command
Rebased with main branch.
2024-07-01 06:33:35 +08:00
Sahil
3c338cf7f0 feat: added DECRBY command 2024-07-01 06:27:12 +08:00
Sahil
7bd98e6b00 feat: added DECR command support 2024-07-01 06:22:07 +08:00
Sahil
3b70bb2b48 feat: INCR command added 2024-07-01 06:13:05 +08:00
Kelvin Mwinuka
8ecb9ab54f Restore multi-database state in FSM in the raft layer 2024-07-01 06:06:51 +08:00
Kelvin Mwinuka
f867bca8e4 Implemented test for SWAPDB command. 2024-07-01 06:05:44 +08:00
Kelvin Mwinuka
ed6a5718f6 Implemented tests for FLUSHDB and FLUSHALL commands 2024-07-01 06:05:32 +08:00
Kelvin Mwinuka
850cb7c5eb Added check for readKeys and writeKeys length before checking for authorization in acl module. Added tests for HELLO and SELECT client-server commands 2024-07-01 06:05:19 +08:00
Kelvin Mwinuka
4dd3aa40b2 quit 2024-07-01 06:05:19 +08:00
Kelvin Mwinuka
1a8d2314cd Implemented FLUSHDB and FLUSHALL command to clear logical databases. 2024-07-01 06:05:17 +08:00
Kelvin Mwinuka
9e4b61fce7 Implemented SWAPDB command handler. 2024-07-01 06:05:07 +08:00
Kelvin Mwinuka
dc9b33bc15 Added ability to set the connection's database in SetConnectionInfo function. Implemented SELECT command to allow TCP connections to select a different database. 2024-07-01 06:05:07 +08:00
Kelvin Mwinuka
21aabda04d Moved AUTH command from the acl module to the connection module. Added echo command to the list of commands that are skipped on ACL authorization. 2024-07-01 06:05:07 +08:00
Kelvin Mwinuka
93a165e9f9 Added support for HELLO command.
Load modules build from Dockerfile.dev into instances from docker-compose.yml.
Fixed user loading from config file in ACL module.
2024-07-01 06:05:07 +08:00
Kelvin Mwinuka
325157ab71 Disabled adjustMemory memory until a multi-database implementation is done. Updated function signatures in handler params for built-in commands and for modules. Disabled snapshots and snapshot restoration until a multi-database implementation is done. 2024-07-01 06:05:05 +08:00
Kelvin Mwinuka
9b897b472f Added wrong args tests for RENAME command. 2024-06-25 22:39:46 +08:00
Sahil
26959200ed added test for RENAME command 2024-06-25 18:56:00 +05:30
Sahil
38ca643d05 feat: added RENAME command 2024-06-25 18:23:54 +05:30
Kelvin Mwinuka
ed28ffca80 Updated INCRBy command handler 2024-06-25 14:25:17 +08:00
Kelvin Mwinuka
9e49c35116 Added command length tests for DECRBY command. Updated godoc comment for DecrBy embedded API method. 2024-06-25 14:19:32 +08:00
Sahil
5f9c9a0e7d feat: added DECRBY command
Rebased with main branch.
2024-06-25 14:19:30 +08:00
Kelvin Mwinuka
5433b88776 Added command length tests for INCRBY command. Renamed INCRBY key func. Return WRONG_ARG_RESPONSE from key funcs when commands are not the correct length. 2024-06-25 14:16:22 +08:00
Sahil
73d84ea439 added tests 2024-06-25 14:09:42 +08:00
Kelvin Mwinuka
0111c67368 Added command length tests for DECRBY command. Updated godoc comment for DecrBy embedded API method. 2024-06-25 12:53:19 +08:00
Sahil
876ac0b4ba feat: added DECRBY command 2024-06-25 02:11:30 +05:30
Kelvin Mwinuka
8ad27145f5 Added godoc comment for Decr embedded API method. 2024-06-23 22:52:32 +08:00
Sahil
2897ee31b2 fixed a bug on test 2024-06-23 19:09:52 +05:30