Skip to content

fix-3237 modify DruidBroker to use FilteredServerInventoryView instead of ServerInventoryView#3244

Merged
drcrallen merged 1 commit intoapache:masterfrom
nishantmonu51:fix-3237
Jul 14, 2016
Merged

fix-3237 modify DruidBroker to use FilteredServerInventoryView instead of ServerInventoryView#3244
drcrallen merged 1 commit intoapache:masterfrom
nishantmonu51:fix-3237

Conversation

@nishantmonu51
Copy link
Copy Markdown
Member

@nishantmonu51 nishantmonu51 commented Jul 14, 2016

modify DruidBroker to use FilteredServerInventoryView instead of
ServerInventoryView to avoid multiple copies of ServerInventoryView getting created.
fixes #3237

DruidBroker use FilteredServerInventoryView instead of
ServerInventoryView
@gianm
Copy link
Copy Markdown
Contributor

gianm commented Jul 14, 2016

👍 LGTM

@nishantmonu51 did you confirm that this avoids creation of multiple views?

@gianm gianm added the Bug label Jul 14, 2016
@gianm gianm added this to the 0.9.2 milestone Jul 14, 2016
@drcrallen
Copy link
Copy Markdown
Contributor

@nishantmonu51 can you make the title reflect what it does (it will be the commit title when squashed). The fixing info should go in the master comment.

@drcrallen
Copy link
Copy Markdown
Contributor

sorry, doesn't become commit title unless there's lots of commits in squash

@nishantmonu51 nishantmonu51 changed the title fix-3237 fix-3237 modify DruidBroker to use FilteredServerInventoryView instead of ServerInventoryView Jul 14, 2016
@nishantmonu51
Copy link
Copy Markdown
Member Author

@gianm I confirmed by taking a object histogram which showed only 1 instance
1365: 1 48 io.druid.client.BatchServerInventoryView

@drcrallen
Copy link
Copy Markdown
Contributor

👍

@drcrallen drcrallen merged commit a1715c8 into apache:master Jul 14, 2016
drcrallen pushed a commit to metamx/druid that referenced this pull request Jul 19, 2016
DruidBroker use FilteredServerInventoryView instead of
ServerInventoryView
seoeun25 added a commit to seoeun25/incubator-druid that referenced this pull request Jan 10, 2020
    * Optional segment announcement via HTTP (apache#3902)

    * BatchServerInventoryView is created twice (apache#3244)
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.

BatchServerInventoryView is created twice

3 participants