Skip to content

[fix][broker] filter the virtual NIC with relative path - #14829

Merged
codelipenghui merged 2 commits into
apache:masterfrom
graysonzeng:fix-filter-virtual-nics
Mar 24, 2022
Merged

codelipenghui merged 2 commits into
apache:masterfrom
graysonzeng:fix-filter-virtual-nics

Conversation

@graysonzeng

@graysonzeng graysonzeng commented Mar 24, 2022 •

Copy link
Copy Markdown
Contributor

Master issue: #14820
Fixes: #14820

Motivation

The loadBalancerOverrideBrokerNicSpeedGbps to setting to correct the max NIC speed failed, because org.apache.pulsar.broker.loadbalance.impl.LinuxBrokerHostUsageImpl isPhysicalNic(Path path) fail to filter the virtual NIC with relative path.

Modifications

add filter the virtual NIC with realPath

  • no-need-doc

    (Please explain why)

@github-actions

Copy link
Copy Markdown

@zengguan:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions

Copy link
Copy Markdown

@zengguan:Thanks for providing doc info!

@github-actions github-actions Bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Mar 24, 2022
@codelipenghui codelipenghui added this to the 2.11.0 milestone Mar 24, 2022
@codelipenghui codelipenghui added release/2.10.1 type/bug The PR fixed a bug or issue reported a bug release/2.9.3 labels Mar 24, 2022
@codelipenghui codelipenghui changed the title [fix] filter the virtual NIC with relative path [fix][broker] filter the virtual NIC with relative path Mar 24, 2022
@graysonzeng

Copy link
Copy Markdown
Contributor Author

/pulsarbot rerun-failure-checks

@graysonzeng

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@codelipenghui
codelipenghui merged commit 9e919c7 into apache:master Mar 24, 2022
codelipenghui pushed a commit that referenced this pull request Apr 19, 2022
codelipenghui pushed a commit that referenced this pull request Apr 19, 2022
@codelipenghui codelipenghui added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Apr 19, 2022
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
dragonls pushed a commit to dragonls/pulsar that referenced this pull request Oct 21, 2022
dragonls pushed a commit to dragonls/pulsar that referenced this pull request Oct 21, 2022
…request !60)

Revert "[fix][broker] filter the virtual NIC with relative path (apache#14829)" (apache#118)
@grssam

grssam commented Dec 7, 2022

Copy link
Copy Markdown
Contributor

PS: due to this PR, in k8s pods, all nics are now filtered out (since all of them are virtual, at least on our hardware) and thus network doesn't contribute at all to the broker host load

@mattisonchao

Copy link
Copy Markdown
Member

@zengguan Please help check @grssam comment.

Demogorgon314 pushed a commit to Demogorgon314/pulsar that referenced this pull request Dec 26, 2022
Demogorgon314 pushed a commit to Demogorgon314/pulsar that referenced this pull request Dec 29, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jan 10, 2023
lifepuzzlefun pushed a commit to lifepuzzlefun/pulsar that referenced this pull request Jan 10, 2023
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/branch-2.9 Archived: 2.9 is end of life cherry-picked/branch-2.10 doc-not-needed Your PR changes do not impact docs release/2.9.3 release/2.10.1 type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[broker] parameter "loadBalancerOverrideBrokerNicSpeedGbps" does not work

5 participants