[NO ISSUE][CLUS] Avoid eager refresh cluster state
authorMurtadha Hubail <murtadha.hubail@couchbase.com>
Sun, 6 Feb 2022 16:43:56 +0000 (19:43 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Mon, 7 Feb 2022 17:15:09 +0000 (17:15 +0000)
commitf7d22da9158558c71687f25072e9d74a72073a91
tree7177db34f14535376cb532b3595cd722b0c85ed6
parent81c526671dfca70ee1ebae9c64677e117a212362
[NO ISSUE][CLUS] Avoid eager refresh cluster state

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- When clearing rebalance required cluster state, let the rebalance
  operation update the cluster state to avoid changing the cluster
  state during the rebalance.
- Make file replication logs debug level.

Change-Id: Ia1f3d84fe8ad82f34d4ad039efd353f7b534d4d6
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15163
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/messaging/ReplicateFileTask.java
asterixdb/asterix-replication/src/main/java/org/apache/asterix/replication/sync/FileSynchronizer.java
asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/utils/ClusterStateManager.java