Updated RAFT layer to use new keyspace methods. Fixed API methods for HSET and SINTERCARD to match new key overwriting behaviour.

This commit is contained in:
Kelvin Clement Mwinuka
2024-05-26 15:49:51 +08:00
parent 98f4ca3a65
commit 93a616c5c1
7 changed files with 1356 additions and 355 deletions

View File

@@ -116,7 +116,7 @@ func Test_HandleHSET(t *testing.T) {
expectedError: nil,
},
{
name: "6. HSET returns error when the target key is not a map",
name: "6. HSET overwrites when the target key is not a map",
key: "HsetKey6",
presetValue: "Default preset value",
command: []string{"HSET", "HsetKey6", "field1", "value1"},