Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reset on closed cursors #231

Merged
merged 2 commits into from
Mar 2, 2017
Merged

Conversation

sschepens
Copy link
Contributor

Attempt to fix #230

Would this be enough @merlimat ?

In case cursorLedger is null I update metastore info instead of creating a new ledger.

@sschepens sschepens force-pushed the reset_closed_cursor branch 2 times, most recently from e6d51f5 to 2c3bfbe Compare February 21, 2017 20:50
@sschepens
Copy link
Contributor Author

@merlimat can you have a look a this?

@merlimat
Copy link
Contributor

@sschepens I didn't forget about these PRs. I'll get to them today.

Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

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

Change LGTM. Fixed minor merge conflict with master

@merlimat merlimat added the type/bug The PR fixed a bug or issue reported a bug label Feb 28, 2017
@merlimat merlimat added this to the 1.17 milestone Feb 28, 2017
@merlimat
Copy link
Contributor

great, now build is failing because S3 is down 😆

@merlimat merlimat merged commit 17630b9 into apache:master Mar 2, 2017
@sschepens sschepens deleted the reset_closed_cursor branch March 6, 2017 12:42
sijie added a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
kop data flow works like this:

kafka client(1) -> kop/broker (2)-> bookkeeper

Right now we can use throttler to slow down (2) data flood, but (1) doesn't have any protection. This pr is used to enable/disable auto read for (1) channel. With this, we can controll the speed of channel in case of potential oom issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

NPE on resetCursor
2 participants