Merge pull request #11752 from zmstone/1011-change-default-rpc-module-for-mria

refactor: change mria default rpc module from 'gen_rpc' to 'rpc'
This commit is contained in:
Zaiming (Stone) Shi 2023-10-17 10:21:14 +02:00 committed by GitHub
commit dfa5909392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -652,7 +652,7 @@ fields("node") ->
hoconsc:enum([gen_rpc, rpc]),
#{
mapping => "mria.rlog_rpc_module",
default => gen_rpc,
default => rpc,
'readOnly' => true,
importance => ?IMPORTANCE_HIDDEN,
desc => ?DESC(db_rpc_module)

View File

@ -0,0 +1,3 @@
Change default RPC driver from 'gen_rpc' to 'rpc' for core-replica database sync.
This improves core-replica data replication latency.