Skip to content

Commit

Permalink
feat(remove slog): adapt to modifications in rdsn (apache#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
levy5307 authored Jan 21, 2022
1 parent 0ff2ce6 commit db6adf6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 137 deletions.
2 changes: 1 addition & 1 deletion rdsn
Submodule rdsn updated 34 files
+4 −0 .github/workflows/pull_request.yaml
+1 −1 include/dsn/dist/replication/replication.codes.h
+0 −1 include/dsn/tool-api/global_config.h
+0 −18 src/common/replication_common.cpp
+0 −3 src/common/replication_common.h
+8 −9 src/replica/duplication/test/load_from_private_log_test.cpp
+2 −2 src/replica/duplication/test/replica_duplicator_test.cpp
+37 −25 src/replica/mutation_log.cpp
+2 −19 src/replica/mutation_log.h
+6 −11 src/replica/replica.cpp
+1 −2 src/replica/replica.h
+22 −25 src/replica/replica_2pc.cpp
+4 −16 src/replica/replica_init.cpp
+3 −5 src/replica/replica_learn.cpp
+15 −43 src/replica/replica_stub.cpp
+11 −15 src/replica/split/replica_split_manager.cpp
+1 −1 src/replica/split/test/replica_split_test.cpp
+1 −1 src/replica/storage/simple_kv/test/case-001.act
+1 −1 src/replica/storage/simple_kv/test/case-002.act
+1 −1 src/replica/storage/simple_kv/test/case-003.act
+1 −1 src/replica/storage/simple_kv/test/case-004.act
+3 −3 src/replica/storage/simple_kv/test/case-005.act
+1 −1 src/replica/storage/simple_kv/test/case-200.act
+1 −1 src/replica/storage/simple_kv/test/case-201.act
+0 −30 src/replica/storage/simple_kv/test/case-203-1.act
+0 −181 src/replica/storage/simple_kv/test/case-203-1.ini
+1 −1 src/replica/storage/simple_kv/test/case-402.act
+1 −1 src/replica/storage/simple_kv/test/case-603.act
+3 −9 src/replica/test/mock_utils.h
+2 −3 src/replica/test/mutation_log_learn_test.cpp
+7 −12 src/replica/test/mutation_log_test.cpp
+1 −4 src/runtime/service_api_c.cpp
+3 −3 src/utils/coredump.h
+1 −4 src/utils/coredump.posix.cpp
4 changes: 1 addition & 3 deletions src/server/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,9 @@
fd_grace_seconds = 22

log_private_file_size_mb = 32
log_private_batch_buffer_kb = 7
log_private_batch_buffer_count = 512
log_private_batch_buffer_flush_interval_ms = 30000
log_private_reserve_max_size_mb = 1000
log_private_reserve_max_time_seconds = 36000
plog_force_flush = false

log_shared_file_size_mb = 128
log_shared_file_count_limit = 100
Expand Down
133 changes: 0 additions & 133 deletions src/test/function_test/test_slog_lost.cpp

This file was deleted.

0 comments on commit db6adf6

Please sign in to comment.