-
Notifications
You must be signed in to change notification settings - Fork 49
GEODE-9200: Clean up DisMess #793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GEODE-9200: Clean up DisMess #793
Conversation
echobravopapa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for cleaning up disMess.
mmartell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only issue is rename: sendNotConnectedMessageToAllRegions
jake-at-work
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, but some cosmetic things to cleanup before merging.
Quite a few odd formatting changes but otherwise looks good.
It would be nice to take advantage of some other changes in the areas you are touching. Like making use of some smart pointers if possible. Also if you're member variables name changes touches enough members to warrant a switch to the current naming convention that would be nice too.
| } else if (exceptionMsg.find( | ||
| "org.apache.geode.cache.TransactionDataRebalancedException") != | ||
| } else if (exceptionMsg.find("org.apache.geode.cache." | ||
| "TransactionDataRebalancedException") != |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels like an unintentional or at least less readable format change.
|
This pull request introduces 1 alert when merging 42f79a1 into 0f40b8d - view on LGTM.com new alerts:
|
cppcache/src/CacheImpl.cpp
Outdated
| tcrHARegion->receiveNotification(regionMsg); | ||
| tcrHARegion->receiveNotification( | ||
| std::unique_ptr<TcrMessage>(new TcrMessageClientMarker( | ||
| new DataOutput(createDataOutput()), true))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we refactor away this constant true here?
093336f to
b3083be
Compare
- use dynamically allocated message for this, a la other messages - no longer leak an instance at shutdown, no more special case code for this message when deleting messages.
b3083be to
503451c
Compare
Remove static endpoint disconnected message - use dynamically allocated message for this, a la other messages - no longer leak an instance at shutdown, no more special case code for this message when deleting messages.
Remove static endpoint disconnected message - use dynamically allocated message for this, a la other messages - no longer leak an instance at shutdown, no more special case code for this message when deleting messages.
Remove static endpoint disconnected message - use dynamically allocated message for this, a la other messages - no longer leak an instance at shutdown, no more special case code for this message when deleting messages.
this message when deleting messages.