Added happy path test case for data replication

This commit is contained in:
Kelvin Clement Mwinuka
2024-05-22 16:11:00 +08:00
parent 7e585dc256
commit f894a531b0
9 changed files with 1590 additions and 1403 deletions

View File

@@ -19,7 +19,6 @@ import (
"fmt"
"github.com/echovault/echovault/internal"
"github.com/echovault/echovault/internal/constants"
"log"
"strconv"
"strings"
"time"
@@ -233,7 +232,7 @@ func handleDel(params internal.HandlerFuncParams) ([]byte, error) {
for _, key := range keys.WriteKeys {
err = params.DeleteKey(params.Context, key)
if err != nil {
log.Printf("could not delete key %s due to error: %+v\n", key, err)
// log.Printf("could not delete key %s due to error: %+v\n", key, err) // TODO: Uncomment this
continue
}
count += 1