[
https://issues.apache.org/jira/browse/IGNITE-16955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vyacheslav Koptilin updated IGNITE-16955:
-----------------------------------------
Reviewer: Mirza Aliev
> Improve logging of rebalance process
> ------------------------------------
>
> Key: IGNITE-16955
> URL: https://issues.apache.org/jira/browse/IGNITE-16955
> Project: Ignite
> Issue Type: Improvement
> Reporter: Kirill Gusakov
> Assignee: Kirill Gusakov
> Priority: Major
> Labels: ignite-3
>
> We must improve logging of rebalance logic with the following points:
> - log triggers of rebalance (change of number of replicas at the moment)
> - log receiving of changes on pending/stable keys
> - log start/stop raft nodes with the info about the reason
> - log the result of multi-invoke call (we can use `yield` to detect which
> branch was executed)
> - log the call of changePeersAsync on the client side
> - log the real error of the call above, if error occurred (we need to change
> the error reporting of sendWithRetry method to support this point)
> - check if needed extensions of raft logs for changes in raft group
> configuration
> - log the progress of raft replication during rebalance (it can be tricky
> enough, due to the fact, that replicator has no information about the reason
> of replication)
> - logging for
> onLeaderElected/onNewPeersConfigurationApplied/onReconfigurationError
> All logs should contains the most detailed context:
> * table
> * partition
> * metastorage keys' values (old/new)
--
This message was sent by Atlassian Jira
(v8.20.7#820007)