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

Don't offload empty ledgers #1687

Merged
merged 1 commit into from
May 2, 2018
Merged

Conversation

ivankelly
Copy link
Contributor

It shouldn't be possible for a ledger in a managed ledger to be
empty (it should be cleaned up on recovery), but this patch adds
defensive code so that if they do exist for some reason, they won't be
offloaded.

Master Issue: #1511

It shouldn't be possible for a ledger in a managed ledger to be
empty (it should be cleaned up on recovery), but this patch adds
defensive code so that if they do exist for some reason, they won't be
offloaded.

Master Issue: apache#1511
@ivankelly
Copy link
Contributor Author

retest this please // PersistentFailoverE2ETest.testSimpleConsumerEventsWithoutPartition

@merlimat merlimat added this to the 2.1.0-incubating milestone May 1, 2018
@merlimat merlimat added the type/feature The PR added a new feature or issue requested a new feature label May 1, 2018
@ivankelly
Copy link
Contributor Author

retest this please // timeout on unit tests

@sijie sijie merged commit b982943 into apache:master May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tieredstorage type/feature The PR added a new feature or issue requested a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants