Skip to content

Segment is not announced somtimes#2268

Closed
navis wants to merge 2 commits intoapache:masterfrom
navis:segments-announce-fail
Closed

Segment is not announced somtimes#2268
navis wants to merge 2 commits intoapache:masterfrom
navis:segments-announce-fail

Conversation

@navis
Copy link
Copy Markdown
Contributor

@navis navis commented Jan 14, 2016

If all available zone has maxed-out by maxBytesPerNode, it's not announced (from druid-develop).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

minor nit : It will probably be cleaner to create a new SegmentZNode and pass it, instead of the announceSegmentTo creating a new node

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm using null to decide announce or update in announceSegmentTo().

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you make a comment as such in the javadoc for the method please?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ok, +1 for method javadoc.

@nishantmonu51
Copy link
Copy Markdown
Member

👍 , only minor comments.

@xvrl xvrl added this to the 0.8.3 milestone Jan 14, 2016
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

there's a lot of branching based on segmentNode == null in this method – we might as well have two separate methods

@fjy
Copy link
Copy Markdown
Contributor

fjy commented Jan 15, 2016

Duplicated by #2266. As per discussion, we'll merge that one.

@fjy fjy closed this Jan 15, 2016
@navis navis deleted the segments-announce-fail branch January 15, 2016 01:18
seoeun25 pushed a commit to seoeun25/incubator-druid that referenced this pull request Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants