-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: added tests for the info, setex, bgsave, flushdb management commands, and list base commands. #2897
Conversation
…undation#2212) * Fixed the slow log timestamp format is inconsistent with Redis (OpenAtomFoundation#2206) * Fixed the slow log timestamp format is inconsistent with Redis (OpenAtomFoundation#2206)
Signed-off-by: LeeHao <[email protected]>
…Foundation#2223) (OpenAtomFoundation#2224) Co-authored-by: liuchengyu <[email protected]>
* feat:unstable branch * feat:handle merge * feat:add lastsave cmd * feat:update lastsave cmd * feat:update lastsave cmd * feat:fixed lastsave cmd * feat:fixed server_test.go * feat:fixed server_test.go * feat:fixed server_test.go * feat:fixed server_test.go * feat:update modifies * feat:fixed zpopmax etc. bug * feat:add zpopmax ut * feat:fixed ut bugs * feat:fixed ut * feat:update code * feat:update ut
* First edition * Exporter collects Proxy information. * Improve metrics * Dynamically adjust refresh time.
Co-authored-by: Xin.Zh <[email protected]>
* [develop] finish StreamMetaValue, ParsedStreamMetaValue in stream_meta_value.h * [develop] add other cgroup, consumer and pel meta value * [develop] move stream metadata out of the storage layer and rewrite it. * [develop] add two class :TreeIDGenerator, StreamUtil * [develop] add some helper func * [develop] xadd cmd's most function finished * [develop] XREAD command parse * [temp] add xgroup cmmand parse * [develop] XGROUP commad parse, XGROUP CREATE, XGROUP CREATECONSUMER finished * [develop] XRANGE, XREAD finished, add some unit test * [develop] XREADGROUP finished * [develop] XLEN finished * [develop] XACK command finished * [develop] DEL command support, XGROUP DESTORY finished, registered some command. * [debug] fix the problem of CMakeFile in test/stream * Add xgroup help command * fix conflicts * [debug] fix the compile problem in debug mode * [develop] XTRIM command finished * [debug] fix some problem of XTRIM command * [develop] remove stream cpp utest, fix some bug and pass 23 unit test * [develop] ajust code structure, add 2 tests * [develop] XCLAIM command finished * [test] now pass 30 tests * [develop] ajust code structure, fix a return value bug of XRANGE * [develop] XREVRANGE cmd finished and passed tests * [develop] add 4 more tests of XADD and XDEL * [develop] Adjusting code structure * [develop] change const shared_ptr & to raw pointer * [develop] remove xgroup commands implementation * [fix] fix compile problem on mac and centos * [fix] add licence, fix compile problem * [fix] code format * [fix] fix compile problem on macos * [fix] fix macos compile problem again, add log to find ubuntu test problem * fix the change of config file * [fix] fix a bug found by sanitizer * [fix] add test: XADD large data, triggering flushing, XREAD, XLEN, XRANG, XTRIIM should work * "fix: ./stream_test.go:76:6: randomInt redeclared in this block" * fix: add replication test of stream * fix: a bug of XADD replication and add a stronger replication test. The XADD command in Redis has the capability to generate IDs based on timestamps. To ensure that repeated execution of a command results in the same timestamp, it is necessary to include the generated ID in the command when generating the binlog. This way, when replaying or replicating, the same ID will be obtained. * fix: compile bug. * fix: add concurrency test of stream. --------- Co-authored-by: Jinghui <[email protected]>
* feat: add big key tool Signed-off-by: sjcsjc123 <[email protected]> * modify heap to maxHeap Signed-off-by: sjcsjc123 <[email protected]> * modify comment Signed-off-by: sjcsjc123 <[email protected]> * add ci test Signed-off-by: sjcsjc123 <[email protected]> * add compress and decompress Signed-off-by: sjcsjc123 <[email protected]> * fix ci Signed-off-by: sjcsjc123 <[email protected]> * fix ci Signed-off-by: sjcsjc123 <[email protected]> * fix ci Signed-off-by: sjcsjc123 <[email protected]> * fix ci Signed-off-by: sjcsjc123 <[email protected]> * fix ci Signed-off-by: sjcsjc123 <[email protected]> --------- Signed-off-by: sjcsjc123 <[email protected]>
…Foundation#2223) (OpenAtomFoundation#2224) (OpenAtomFoundation#2234) Co-authored-by: liuchengyu <[email protected]>
* fix:cache bug * add cache test * fix hash * fix * fix init ttl * fix init * change lock * fix mget with ttl * fix mget && add cache test * delete log * fix bitpop * fix flag * fix bitpop --------- Co-authored-by: chejinge <[email protected]>
…n#2249) Signed-off-by: LeeHao <[email protected]>
* fix cache layer crash and data confusion * Delete the ACL flag and unused flags * Modify the rediscache cmake parameter
* feat: Dynamically set disable_auto_compaction 1. disable_auto_compations controls whether to automatically start compat. 2. Dynamic control via config get disable_auto_compations/config set disable_auto_compations true(false).
…on#2275) (OpenAtomFoundation#2276) Co-authored-by: liuchengyu <[email protected]>
…OpenAtomFoundation#2235) (OpenAtomFoundation#2278) Co-authored-by: liuchengyu <[email protected]>
…oundation#2222) * update benchmark_client to support more api commands and statistics * reconnect server when connction closed by peer --------- Co-authored-by: wangshaoyi <[email protected]>
Co-authored-by: wuxianrong <[email protected]>
copy from redis acl --------- Co-authored-by: Chengyu Liu <[email protected]>
* delete binglog dead code * fix acl complie --------- Co-authored-by: wuxianrong <[email protected]>
…t exist(OpenAtomFoundation#2290, OpenAtomFoundation#2293) (OpenAtomFoundation#2308) Co-authored-by: liuchengyu <[email protected]>
…pl_state_ to kError(OpenAtomFoundation#2299) (OpenAtomFoundation#2315) Co-authored-by: liuchengyu <[email protected]>
…penAtomFoundation#2313) Co-authored-by: liuchengyu <[email protected]>
…ion#2806) (OpenAtomFoundation#2823) * add a new test env (rocky linux) in github ci.
* add multi.tcl * Commented test cases in Tcl that cannot pass * fix multi bug and compatible ACL test --------- Co-authored-by: saz97 <[email protected]> Co-authored-by: liuyuecai <[email protected]>
…omFoundation#2837) * feat: Improve the RTC process of Read/Write model (OpenAtomFoundation#2629) * (Demo) Do read cmd before task queue. && add workflow_dispatch for manual action * Check authed and write lock, fix go test error in MacOS and cache mode judge * fix some ut error by commands filter and return logic * rollback some flag,but add kCmdReadBeforeQueuefor get mget hget hget hgetall,hmget * move mget and hmget;add before_queue_time metrics * fix cost to copy cmd_table by remove c_ptr --------- Co-authored-by: chenbt <[email protected]>
…#2808) * add comment to explain the idea * add mtx and waiting for test * use lockfree implementation, some logs are waiting to remove * change the call_back to an optional dtor call back of BGItem * revised based on reviewer's opinion * removed some comments * change the declared position of async_write_db_task_count --------- Co-authored-by: Xin.Zh <[email protected]>
Co-authored-by: chejinge <[email protected]>
…ch is existing (OpenAtomFoundation#2836) * fix hincrby cmd * add test for hincrby cmd
* 1 add a switch for RTC feature 2 avoid unnecessary cache read if rtc is already cache missed * revised
* multi command throught cache
Co-authored-by: chejinge <[email protected]>
…dation#2829) * Added the serverlog periodic reclamation function --------- Co-authored-by: cheniujh <[email protected]>
…undation#2822) * change storage ttl time from seconds to milliseconds --------- Co-authored-by: liuyuecai <[email protected]>
…clear space in CI after compile (OpenAtomFoundation#2853) * fix:remove dependence in CI * Revert "fix: change storage ttl time from seconds to milliseconds (OpenAtomFoundation#2822)" --------- Co-authored-by: cjh <[email protected]> Co-authored-by: chejinge <[email protected]>
* add statistics ticker count
* fix the problem of blpop don't update cache
…#2862) * kill conns correct in WorkThread
* 1. make pika support redis sentinel 2. support client kill type pubsub/normal 3. ensure fd is removed in epoll if server wanna close fd * fix exit process: 1. ensure NetWork Thread(Dispacher) can be stopped in time 2. ensure all queued Async WriteDB task can be done before exit --------- Co-authored-by: chejinge <[email protected]>
* docs:add 355 changelog --------- Co-authored-by: chejinge <[email protected]>
* fix:changelog --------- Co-authored-by: Xin.Zh <[email protected]>
…on#2880) * target_file_size_base_ to int64_t
….0 to 4.0.1 (OpenAtomFoundation#2888) * add a function for washing data after upgrading version from 4.0.0 to 4.0.1
…undation#2857) * fix: change storage ttl time from seconds to milliseconds (OpenAtomFoundation#2822) * change storage ttl time from seconds to milliseconds --------- Co-authored-by: liuyuecai <[email protected]> test space * fix incr cmd time to millionsseconds * rename SetRelativeTimeByMillsec to SetRelativeTimeInMillsec --------- Co-authored-by: liuyuecai <[email protected]>
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
No description provided.