Skip to content

Avoid duplicate extra opts#9469

Merged
sijie merged 2 commits intoapache:masterfrom
Renkai:avoid_dup_env
Feb 8, 2021
Merged

Avoid duplicate extra opts#9469
sijie merged 2 commits intoapache:masterfrom
Renkai:avoid_dup_env

Conversation

@Renkai
Copy link
Copy Markdown
Contributor

@Renkai Renkai commented Feb 4, 2021

Fixed: #9433

@Renkai
Copy link
Copy Markdown
Contributor Author

Renkai commented Feb 4, 2021

/pulsarbot run-failure-checks

@Renkai
Copy link
Copy Markdown
Contributor Author

Renkai commented Feb 4, 2021

/pulsarbot run-failure-checks

Copy link
Copy Markdown
Contributor

@murong00 murong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good to me, this seems duplicated with #5843, could you please help to confirm whether #5843 has been solved.

Signed-off-by: Renkai <gaelookair@gmail.com>
@sijie
Copy link
Copy Markdown
Member

sijie commented Feb 5, 2021

/pulsarbot run-failure-checks

@sijie sijie added this to the 2.8.0 milestone Feb 5, 2021
@Renkai
Copy link
Copy Markdown
Contributor Author

Renkai commented Feb 5, 2021

/pulsarbot run-failure-checks

2 similar comments
@Renkai
Copy link
Copy Markdown
Contributor Author

Renkai commented Feb 5, 2021

/pulsarbot run-failure-checks

@Renkai
Copy link
Copy Markdown
Contributor Author

Renkai commented Feb 6, 2021

/pulsarbot run-failure-checks

@Renkai
Copy link
Copy Markdown
Contributor Author

Renkai commented Feb 6, 2021

/pulsarbot run-failure-checks

2 similar comments
@Renkai
Copy link
Copy Markdown
Contributor Author

Renkai commented Feb 6, 2021

/pulsarbot run-failure-checks

@Renkai
Copy link
Copy Markdown
Contributor Author

Renkai commented Feb 6, 2021

/pulsarbot run-failure-checks

@sijie sijie added the type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use label Feb 8, 2021
@sijie sijie merged commit ff9923e into apache:master Feb 8, 2021
codelipenghui pushed a commit that referenced this pull request Feb 18, 2021
Fixed: #9433
(cherry picked from commit ff9923e)
lhotari added a commit to lhotari/pulsar that referenced this pull request Apr 27, 2021
…ined

- don't pass -Dio.netty.* system properties if PULSAR_EXTRA_OPTS or
  BOOKIE_EXTRA_OPTS is set
  - this is to be consistent with PULSAR_EXTRA_OPTS behavior and
    to prevent duplicate properties
  - add "-Dio.netty.leakDetectionLevel=disabled" unless BOOKIE_EXTRA_OPTS
    is set since PULSAR_EXTRA_OPTS doesn't include that setting by default

- apache#9469 introduced a breaking change by changing the behavior
codelipenghui pushed a commit that referenced this pull request Apr 28, 2021
…ined (#10397)

### Motivation

- #9469 introduced a breaking change by changing the behavior . This change was part of 2.7.1 release.

### Modifications

- fallback to `PULSAR_EXTRA_OPTS` if `BOOKIE_EXTRA_OPTS` isn't defined

- don't pass `-Dio.netty.*` system properties if `PULSAR_EXTRA_OPTS` or
  `BOOKIE_EXTRA_OPTS` is set
  - this is to be consistent with `PULSAR_EXTRA_OPTS` behavior and
    to prevent duplicate properties
  - add `-Dio.netty.leakDetectionLevel=disabled` unless `BOOKIE_EXTRA_OPTS`
    is set since `PULSAR_EXTRA_OPTS` doesn't include that setting by default.
   (`simple` is the default if the property isn't set)

### Other context

- It is also necessary to cherry-pick #9621 to restore backwards compatibility in 2.7.x branch.
eolivelli pushed a commit that referenced this pull request Apr 28, 2021
…ined (#10397)

### Motivation

- #9469 introduced a breaking change by changing the behavior . This change was part of 2.7.1 release.

### Modifications

- fallback to `PULSAR_EXTRA_OPTS` if `BOOKIE_EXTRA_OPTS` isn't defined

- don't pass `-Dio.netty.*` system properties if `PULSAR_EXTRA_OPTS` or
  `BOOKIE_EXTRA_OPTS` is set
  - this is to be consistent with `PULSAR_EXTRA_OPTS` behavior and
    to prevent duplicate properties
  - add `-Dio.netty.leakDetectionLevel=disabled` unless `BOOKIE_EXTRA_OPTS`
    is set since `PULSAR_EXTRA_OPTS` doesn't include that setting by default.
   (`simple` is the default if the property isn't set)

### Other context

- It is also necessary to cherry-pick #9621 to restore backwards compatibility in 2.7.x branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/branch-2.7 Archived: 2.7 is end of life release/2.7.1 type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pulsar bookie leads to duplicate values in command line

4 participants