OpenAtomFoundation / pikiwidb

a high-performance, large-capacity, multi-tenant, data-persistent, strong data consistency based on raft, Redis-compatible elastic KV data storage system based on RocksDB
BSD 3-Clause "New" or "Revised" License
195 stars 62 forks source link

TCL 跑 flushall 命令会报错 #401

Closed luky116 closed 1 month ago

luky116 commented 1 month ago

Is this a regression?

Yes

Description

执行 flushdb 命令OK ,但是执行 flushall 命令会报错信息如下:

[exception]: Executing test client: I/O error reading reply.
I/O error reading reply
    while executing
"[srv $level "client"] {*}$args"
    (procedure "r" line 7)
    invoked from within
"r flushall"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code"
    (procedure "test" line 29)
    invoked from within
"test {BITCOUNT returns 0 against non existing key11} {
         r flushall
        r bitcount no-key
    } 0"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code "
    (procedure "start_server" line 3)
    invoked from within
"start_server {tags {"bitops"}} {
    test {BITCOUNT returns 0 against non existing key11} {
         r flushall
        r bitcount no-key
    } 0

   ..."
    (file "tests/unit/bitops.tcl" line 41)
    invoked from within
"source $path"
    (procedure "execute_tests" line 4)
    invoked from within
"execute_tests $data"
    (procedure "test_client_main" line 10)
    invoked from within
"test_client_main $::test_server_port "
pikiwidb tests failed

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

images

Please provide the version you discovered this bug in (check about page for version information)

No response

Anything else?

No response