You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "Technoboy- (via GitHub)" <gi...@apache.org> on 2023/07/04 05:26:29 UTC
[GitHub] [pulsar] Technoboy- opened a new pull request, #20710: [fix][broker] Revert "Skip loading broker interceptor when disableBrokerInterceptors is true #20422"
Technoboy- opened a new pull request, #20710:
URL: https://github.com/apache/pulsar/pull/20710
### Motivation
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] codecov-commenter commented on pull request #20710: [fix][broker] Revert "Skip loading broker interceptor when disableBrokerInterceptors is true #20422"
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #20710:
URL: https://github.com/apache/pulsar/pull/20710#issuecomment-1620101940
## [Codecov](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
> Merging [#20710](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (dd355b1) into [master](https://app.codecov.io/gh/apache/pulsar/commit/d85b9957ff7773f0e921d8c97b45d0e8291467d3?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) (d85b995) will **increase** coverage by `2.13%`.
> The diff coverage is `16.21%`.
[](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ Coverage Diff @@
## master #20710 +/- ##
============================================
+ Coverage 34.70% 36.83% +2.13%
- Complexity 11994 12181 +187
============================================
Files 1694 1691 -3
Lines 129459 130030 +571
Branches 14132 14229 +97
============================================
+ Hits 44925 47900 +2975
+ Misses 78571 75844 -2727
- Partials 5963 6286 +323
```
| Flag | Coverage Δ | |
|---|---|---|
| inttests | `24.21% <10.81%> (?)` | |
| systests | `24.99% <13.51%> (+<0.01%)` | :arrow_up: |
| unittests | `32.01% <31.57%> (+0.13%)` | :arrow_up: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Impacted Files](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [...org/apache/pulsar/broker/ServiceConfiguration.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3B1bHNhci9icm9rZXIvU2VydmljZUNvbmZpZ3VyYXRpb24uamF2YQ==) | `98.04% <ø> (ø)` | |
| [...in/java/org/apache/pulsar/PulsarBrokerStarter.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcHVsc2FyL1B1bHNhckJyb2tlclN0YXJ0ZXIuamF2YQ==) | `28.14% <ø> (-3.00%)` | :arrow_down: |
| [.../org/apache/pulsar/PulsarClusterMetadataSetup.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcHVsc2FyL1B1bHNhckNsdXN0ZXJNZXRhZGF0YVNldHVwLmphdmE=) | `16.37% <ø> (+16.37%)` | :arrow_up: |
| [...g/apache/pulsar/PulsarClusterMetadataTeardown.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcHVsc2FyL1B1bHNhckNsdXN0ZXJNZXRhZGF0YVRlYXJkb3duLmphdmE=) | `71.71% <ø> (+71.71%)` | :arrow_up: |
| [...org/apache/pulsar/PulsarInitialNamespaceSetup.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcHVsc2FyL1B1bHNhckluaXRpYWxOYW1lc3BhY2VTZXR1cC5qYXZh) | `0.00% <ø> (ø)` | |
| [...ava/org/apache/pulsar/PulsarStandaloneStarter.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcHVsc2FyL1B1bHNhclN0YW5kYWxvbmVTdGFydGVyLmphdmE=) | `29.23% <ø> (ø)` | |
| [...sar/PulsarTransactionCoordinatorMetadataSetup.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcHVsc2FyL1B1bHNhclRyYW5zYWN0aW9uQ29vcmRpbmF0b3JNZXRhZGF0YVNldHVwLmphdmE=) | `50.00% <ø> (+50.00%)` | :arrow_up: |
| [...n/java/org/apache/pulsar/PulsarVersionStarter.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcHVsc2FyL1B1bHNhclZlcnNpb25TdGFydGVyLmphdmE=) | `0.00% <ø> (ø)` | |
| [...he/pulsar/broker/intercept/BrokerInterceptors.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcHVsc2FyL2Jyb2tlci9pbnRlcmNlcHQvQnJva2VySW50ZXJjZXB0b3JzLmphdmE=) | `6.95% <ø> (-2.37%)` | :arrow_down: |
| [...pache/pulsar/broker/tools/GenerateDocsCommand.java](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWJyb2tlci9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvcHVsc2FyL2Jyb2tlci90b29scy9HZW5lcmF0ZURvY3NDb21tYW5kLmphdmE=) | `0.00% <ø> (ø)` | |
| ... and [13 more](https://app.codecov.io/gh/apache/pulsar/pull/20710?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | |
... and [185 files with indirect coverage changes](https://app.codecov.io/gh/apache/pulsar/pull/20710/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Technoboy- merged pull request #20710: [fix][broker] Revert "Skip loading broker interceptor when disableBrokerInterceptors is true #20422"
Posted by "Technoboy- (via GitHub)" <gi...@apache.org>.
Technoboy- merged PR #20710:
URL: https://github.com/apache/pulsar/pull/20710
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Technoboy- closed pull request #20710: [fix][broker] Revert "Skip loading broker interceptor when disableBrokerInterceptors is true #20422"
Posted by "Technoboy- (via GitHub)" <gi...@apache.org>.
Technoboy- closed pull request #20710: [fix][broker] Revert "Skip loading broker interceptor when disableBrokerInterceptors is true #20422"
URL: https://github.com/apache/pulsar/pull/20710
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Technoboy- commented on pull request #20710: [fix][broker] Revert "Skip loading broker interceptor when disableBrokerInterceptors is true #20422"
Posted by "Technoboy- (via GitHub)" <gi...@apache.org>.
Technoboy- commented on PR #20710:
URL: https://github.com/apache/pulsar/pull/20710#issuecomment-1620872460
> Why not fix the branch-2.11? I think this is the correct behavior that skips loading broker interceptor when `disableBrokerInterceptors` is true.
We need to discuss this `disableBrokerInterceptors `, as when it was introduced from #8157, it uses for test only.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Technoboy- commented on pull request #20710: [fix][broker] Revert "Skip loading broker interceptor when disableBrokerInterceptors is true #20422"
Posted by "Technoboy- (via GitHub)" <gi...@apache.org>.
Technoboy- commented on PR #20710:
URL: https://github.com/apache/pulsar/pull/20710#issuecomment-1620864110
> Why not fix the branch-2.11? I think this is the correct behavior that skips loading broker interceptor when `disableBrokerInterceptors` is true.
If fix 2.11, both master and 2.11 use `disableBrokerInterceptors` for judgment, but other branches do not
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Technoboy- closed pull request #20710: [fix][broker] Revert "Skip loading broker interceptor when disableBrokerInterceptors is true #20422"
Posted by "Technoboy- (via GitHub)" <gi...@apache.org>.
Technoboy- closed pull request #20710: [fix][broker] Revert "Skip loading broker interceptor when disableBrokerInterceptors is true #20422"
URL: https://github.com/apache/pulsar/pull/20710
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org