Skip to content
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

Misc fixes in cluster manager, replication and compaction manager #1237

Merged
merged 2 commits into from
Aug 15, 2019

Conversation

jsjtzyy
Copy link
Contributor

@jsjtzyy jsjtzyy commented Aug 14, 2019

  1. Set DEBUG and TRACE log level in Histogram dumper
  2. Fixed race condition in compaction manager test
  3. Printed out remote dc exception during helix cluster manager
    initialization (previously it was swallowed and hard to debug)
  4. Moved partition lag update operatio to exchange metadata method in
    replication manager
  5. Paused replication on store that is not started. Replication can
    resume if store is restarted.

@jsjtzyy jsjtzyy self-assigned this Aug 14, 2019
@codecov-io
Copy link

codecov-io commented Aug 14, 2019

Codecov Report

Merging #1237 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1237   +/-   ##
=========================================
  Coverage     88.92%   88.92%           
  Complexity       60       60           
=========================================
  Files             6        6           
  Lines           352      352           
  Branches         37       37           
=========================================
  Hits            313      313           
  Misses           29       29           
  Partials         10       10

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 62d752a...d4755ee. Read the comment docs.

@@ -1245,10 +1245,12 @@ public void sendResponse(Send payloadToSend, Request originalRequest, ServerNetw
* An empty {@link Store} implementation.
*/
private Store store = new Store() {
boolean started;
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: volatile

1. Set DEBUG and TRACE log level in Histogram dumper
2. Fixed race condition in compaction manager test
3. Printed out remote dc exception during helix cluster manager
initialization (previously it was swallowed and hard to debug)
4. Moved partition lag update operatio to exchange metadata method in
replication manager
5. Paused replication on store that is not started. Replication can
resume if store is restarted.
Copy link
Contributor

@zzmao zzmao left a comment

Choose a reason for hiding this comment

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

LGTM

@zzmao zzmao merged commit e5d6e7e into linkedin:master Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants