
There are currently three block types: BLOCKED_WAIT, BLOCKED_WAITAOF, and BLOCKED_WAIT_PREREPL, used to block clients executing `WAIT`, `WAITAOF`, and `CLUSTER SETSLOT`, respectively. They share the same workflow: the client is blocked until replication to the expected number of replicas completes. However, they provide different responses depending on the commands involved. Using distinct block types leads to code duplication and reduced readability. This PR consolidates the three types into a single WAIT type, differentiating them using the pending command to ensure the appropriate response is returned. Fix #427 --------- Signed-off-by: Ping Xie <pingxie@google.com>
48 lines
550 B
Plaintext
48 lines
550 B
Plaintext
.*.swp
|
|
*.o
|
|
*.a
|
|
*.xo
|
|
*.so
|
|
*.d
|
|
*.log
|
|
dump.rdb
|
|
*-benchmark
|
|
*-check-aof
|
|
*-check-rdb
|
|
*-check-dump
|
|
*-cli
|
|
*-sentinel
|
|
*-server
|
|
*-unit-tests
|
|
doc-tools
|
|
release
|
|
misc/*
|
|
src/release.h
|
|
appendonly.aof*
|
|
appendonlydir
|
|
SHORT_TERM_TODO
|
|
release.h
|
|
src/transfer.sh
|
|
src/configs
|
|
redis.ds
|
|
src/*.conf
|
|
deps/lua/src/lua
|
|
deps/lua/src/luac
|
|
deps/lua/src/liblua.a
|
|
deps/hdr_histogram/libhdrhistogram.a
|
|
deps/fpconv/libfpconv.a
|
|
tests/tls/*
|
|
.make-*
|
|
.prerequisites
|
|
*.dSYM
|
|
Makefile.dep
|
|
.vscode/*
|
|
.idea/*
|
|
.ccls
|
|
.ccls-cache/*
|
|
compile_commands.json
|
|
redis.code-workspace
|
|
.cache
|
|
.cscope*
|
|
.swp
|