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

BOOKKEEPER-1919: putEntryOffset translate FileInfoDeletedException #1950

Merged
merged 1 commit into from
Feb 20, 2019

Conversation

athanatos
Copy link

IndexInMemPageMgr should translate FileInfoDeletedException into
NoLedgerException as expected by users like
InterleavedLedgerStorage.updateEntriesLocations and
EntryMemTable.flushSnapshot.

Signed-off-by: Samuel Just sjust@salesforce.com

IndexInMemPageMgr should translate FileInfoDeletedException into
NoLedgerException as expected by users like
InterleavedLedgerStorage.updateEntriesLocations and
EntryMemTable.flushSnapshot.

Signed-off-by: Samuel Just <sjust@salesforce.com>
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

+1 looks good.

I hope we are not adding a new flaky test.
But if you managed to reproduce the issue with that case I feel this test has a value.
I am not sure how to reproduce it in an other way

cc @ivankelly

@eolivelli
Copy link
Contributor

This is to be cherry picked to 4.9, not sure it is worth to cherry pick to 4.7 or 4.8

@eolivelli eolivelli closed this Feb 19, 2019
@eolivelli eolivelli reopened this Feb 19, 2019
@eolivelli
Copy link
Contributor

sorry I had closed this PR by mistake

@athanatos
Copy link
Author

It was able to reproduce the problem and shouldn't be flaky (it's more likely to exhibit false negatives).

@athanatos
Copy link
Author

retest

@athanatos
Copy link
Author

run bookkeeper-server bookie tests
run bookkeeper-server client tests
run integration tests

@athanatos
Copy link
Author

run integration tests

@sijie sijie added this to the 4.10.0 milestone Feb 20, 2019
@sijie sijie merged commit 10272ea into apache:master Feb 20, 2019
sijie pushed a commit that referenced this pull request Feb 20, 2019
IndexInMemPageMgr should translate FileInfoDeletedException into
NoLedgerException as expected by users like
InterleavedLedgerStorage.updateEntriesLocations and
EntryMemTable.flushSnapshot.

Signed-off-by: Samuel Just <sjustsalesforce.com>

Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <sijie@apache.org>

This closes #1950 from athanatos/forupstream/wip-1919
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.

None yet

3 participants