Skip to content

Conversation

@pheecian
Copy link
Contributor

@pheecian pheecian commented Apr 11, 2020

Fixes #6692

Motivation

avoid prefetch too much data when offloading, which may lead to OOM;
fix object not close issue, which is also mentioned by congbobo184 #6697

Explain here the context, and why you're making that change. What is the problem you're trying to solve.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

  • Does this pull request introduce a new feature? (no)

@pheecian
Copy link
Contributor Author

@congbobo184 is it possible for you to review this PR?

@pheecian
Copy link
Contributor Author

@congbobo184 Is it possible for you to review the PR again?

@pheecian
Copy link
Contributor Author

@congbobo184 your comment makes sense. I have update the code. Thanks. Any more modification for me?

@congbobo184
Copy link
Contributor

/pulsarbot run-failure-checks

@pheecian
Copy link
Contributor Author

@congbobo184 need I handle the CI-Integration test fail? I think it is not related to this PR

@congbobo184
Copy link
Contributor

/pulsarbot run-failure-checks

@congbobo184
Copy link
Contributor

you don't need to handle the CI-Integration.

@codelipenghui codelipenghui added this to the 2.6.0 milestone Apr 13, 2020
@codelipenghui codelipenghui changed the title fix filesystem offload oom based on https://github.com/apache/pulsar/… Avoid prefetch too much data when offloading data to HDFS Apr 13, 2020
@codelipenghui codelipenghui requested review from jiazhai and sijie April 13, 2020 08:39
@congbobo184
Copy link
Contributor

/pulsarbot run-failure-checks

@codelipenghui
Copy link
Contributor

@sijie @jiazhai Please help review this PR.

@congbobo184
Copy link
Contributor

/pulsarbot run-failure-checks

@pheecian
Copy link
Contributor Author

@sijie

@codelipenghui codelipenghui merged commit 514b6af into apache:master Apr 22, 2020
@codelipenghui
Copy link
Contributor

Nice work! 👍 @pheecian

addisonj pushed a commit to instructure/pulsar that referenced this pull request May 7, 2020
Fixes apache#6692

avoid prefetch too much data when offloading, which may lead to OOM;
fix object not close issue, which is also mentioned by congbobo184 apache#6697

*Explain here the context, and why you're making that change. What is the problem you're trying to solve.*

*If `yes` was chosen, please highlight the changes*

  - Dependencies (does it add or upgrade a dependency): (no)
  - The public API: (no)
  - The schema: (no)
  - The default values of configurations: (no)
  - The wire protocol: (no)
  - The rest endpoints: (no)
  - The admin cli options: (no)
  - Anything that affects deployment: (no)

  - Does this pull request introduce a new feature? (no)
jiazhai pushed a commit that referenced this pull request May 8, 2020
Fixes #6692

### Motivation
avoid prefetch too much data when offloading, which may lead to OOM;
fix object not close issue, which is also mentioned by congbobo184 #6697

*Explain here the context, and why you're making that change. What is the problem you're trying to solve.*

### Does this pull request potentially affect one of the following parts:

*If `yes` was chosen, please highlight the changes*

  - Dependencies (does it add or upgrade a dependency): (no)
  - The public API: (no)
  - The schema: (no)
  - The default values of configurations: (no)
  - The wire protocol: (no)
  - The rest endpoints: (no)
  - The admin cli options: (no)
  - Anything that affects deployment: (no)

### Documentation

  - Does this pull request introduce a new feature? (no)
(cherry picked from commit 514b6af)
cdbartholomew added a commit to kafkaesque-io/pulsar that referenced this pull request May 25, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Fixes apache#6692 

### Motivation
avoid prefetch too much data when offloading, which may lead to OOM;
fix object not close issue, which is also mentioned by congbobo184 apache#6697

*Explain here the context, and why you're making that change. What is the problem you're trying to solve.*

### Does this pull request potentially affect one of the following parts:

*If `yes` was chosen, please highlight the changes*

  - Dependencies (does it add or upgrade a dependency): (no)
  - The public API: (no)
  - The schema: (no)
  - The default values of configurations: (no)
  - The wire protocol: (no)
  - The rest endpoints: (no)
  - The admin cli options: (no)
  - Anything that affects deployment: (no)

### Documentation

  - Does this pull request introduce a new feature? (no)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v2.5.0]memory leak during offload to tiered storage

4 participants