feat(server): Use new journal format (#563)

This commit is contained in:
Vladislav 2022-12-20 16:38:19 +03:00 committed by GitHub
parent cdc31fc98c
commit 2386b02234
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 302 additions and 179 deletions

View file

@ -84,7 +84,7 @@ TEST_F(RdbTest, LoadEmpty) {
TEST_F(RdbTest, LoadSmall6) {
io::FileSource fs = GetSource("redis6_small.rdb");
RdbLoader loader(service_->script_mgr());
RdbLoader loader{service_.get()};
// must run in proactor thread in order to avoid polluting the serverstate
// in the main, testing thread.
@ -121,7 +121,7 @@ TEST_F(RdbTest, LoadSmall6) {
TEST_F(RdbTest, Stream) {
io::FileSource fs = GetSource("redis6_stream.rdb");
RdbLoader loader(service_->script_mgr());
RdbLoader loader{service_.get()};
// must run in proactor thread in order to avoid polluting the serverstate
// in the main, testing thread.