Skip to content

Revert "Optionally intern ServerInventoryView inventory objects. (#3238)"#3286

Merged
fjy merged 1 commit intoapache:masterfrom
metamx:revert3238
Jul 26, 2016
Merged

Revert "Optionally intern ServerInventoryView inventory objects. (#3238)"#3286
fjy merged 1 commit intoapache:masterfrom
metamx:revert3238

Conversation

@drcrallen
Copy link
Copy Markdown
Contributor

This reverts commit a931deb.
Fixes #3283

The core issue here is that realtime nodes announce their size as 0, so a coordinator which interns the realtime version of the data segment will not be able to see the new sized announcement when handoff occurs.

This is caused by the eauals method on a DataSegment only evaluating the identifier. the eauals method should be correct for object equivalence, and things which need to check equivalence of some sub-portion of the object should do so explicitly.

…che#3238)"

This reverts commit a931deb.
Fixes apache#3283

The core issue here is that realtime nodes announce their size as 0, so a coordinator which interns the realtime version of the data segment will not be able to see the new sized announcement when handoff occurs.

This is caused by the `eauals` method on a `DataSegment` only evaluating the identifier. the `eauals` method *should* be correct for object equivalence, and things which need to check equivalence of some sub-portion of the object should do so explicitly.
@drcrallen drcrallen added the Bug label Jul 26, 2016
@gianm
Copy link
Copy Markdown
Contributor

gianm commented Jul 26, 2016

👍

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.

3 participants