Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

@DaveCTurner DaveCTurner commented Dec 19, 2018

  • Adds term number and greppable phrase "coordinator becoming" to
    Coordinator mode changes
  • Adds term and version to messages from the ClusterApplier and
    MasterService about changes to DiscoveryNodes, including if the current
    master changes.
  • Reduces some LeaderChecker messages to TRACE level

* Adds term number and greppable phrase 'coordinator becoming' to Coordinator
  mode changes
* Adds term and version to messages from the ClusterApplier about master
  changes
* Reduces some LeaderChecker messages to TRACE level
@DaveCTurner DaveCTurner added >non-issue v7.0.0 :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. labels Dec 19, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

String summary = nodesDelta.shortSummary();
if (summary.length() > 0) {
logger.info("{}, reason: {}", summary, task.source);
logger.info("{}, term: {}, version: {}, reason: {}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we update the same message in MasterService?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the ClusterApplierService one is more useful since it logs on all nodes and also when adding a no-master block, but it could be useful in the MasterService too so I pushed a02075d.

@DaveCTurner DaveCTurner merged commit 52d34e4 into elastic:master Dec 20, 2018
@DaveCTurner DaveCTurner deleted the 2018-12-19-logging-improvements branch December 20, 2018 15:32
@jimczi jimczi added v7.0.0-beta1 and removed v7.0.0 labels Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >non-issue v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants