[JAVA-4550] Excessive logging of maxElectionId and maxSetVersion Created: 25/Mar/22  Updated: 19/May/22  Resolved: 19/May/22

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to JAVA-4375 SDAM should give priority to election... Closed
Documentation Changes: Not Needed

 Description   

Driver is repeatedly logging at INFO level when connected to a replica set:

10:55:13.633 [cluster-ClusterId{value='623dd78e1e58f625419b445f', description='null'}-localhost:27017] INFO  org.mongodb.driver.cluster - Setting max election id to 7fffffff0000000000000001 and max set version to 1 from replica set primary localhost:27017

This is a regression introduced by JAVA-4375, which has not been included in a GA release yet but is in the main branch.



 Comments   
Comment by Jeffrey Yemin [ 19/May/22 ]

This change should be incorporated into JAVA-4375 when it is ready for work again.

Comment by Githook User [ 29/Mar/22 ]

Author:

{'name': 'jyemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Revert "Remove redundant logging of maxElectionId/maxSetVersion (#902)"

This reverts commit f0f1090b0ff71731795f4465ce5dde6e150d2a97.

JAVA-4550
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/0e5a87e37725398784456324774a79be56438359

Comment by Githook User [ 28/Mar/22 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Remove redundant logging of maxElectionId/maxSetVersion (#902)

JAVA-4550
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/f0f1090b0ff71731795f4465ce5dde6e150d2a97

Generated at Thu Feb 08 09:02:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.