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

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

Merged
merged 1 commit into from
Jul 26, 2016

Conversation

drcrallen
Copy link
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
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