Get it. But in default configuration, replication factor is 1, so there are no
impact on data. And when you change replication factor number, I think you need
to consider whether to modify data region consensus protocol.
Best,
---------------------------------------------------------------
Hongyin Zhang
------------------ ???????? ------------------
??????:
"dev"
<[email protected]>;
????????: 2022??6??8??(??????) ????11:38
??????: "dev"<[email protected]>;
????: Re: Update default config of confignode.
hi ??I have some questions. Multleaderconssensus has some limitations, and
there is a risk of data inconsistency. It cannot be used as the default
configuration. The default configuration should be one that has no impact on
data. It may not matter if the performance is lower. What's your opinion?
---Original---
From: "SpriCoder"<[email protected]&gt;
Date: Wed, Jun 8, 2022 11:31 AM
To: "dev"<[email protected]&gt;;
Subject: Update default config of confignode.
Hi all,
To get better performance and development experience, I think default config of
confignode can be updated as follows:
data_region_consensus_protocol_class=org.apache.iotdb.consensus.multileader.MultiLeaderConsensusschema_region_consensus_protocol_class=org.apache.iotdb.consensus.standalone.StandAloneConsensus
schema_replication_factor=1 data_replication_factor=1
I have finished in this PR(https://github.com/apache/iotdb/pull/6194). Please
help review the code.
Best,
---------------------------------------------------------------
Hongyin Zhang