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 master build] use entryTimestamp for expiry checking in internalGetMessageIdByTimestamp #11220

Conversation

freeznet
Copy link
Contributor

@freeznet freeznet commented Jul 5, 2021

Motivation

#11014 introduced getEntryTimestamp and removed deserializeBrokerEntryMetaDataFirst, but #11139 is still using deserializeBrokerEntryMetaDataFirst, and it breaks master branch.

Modifications

use entryTimestamp for expiry checking in internalGetMessageIdByTimestamp

Verifying this change

  • Make sure that the change passes the CI checks.

@freeznet freeznet changed the title use entryTimestamp for expiry checking in internalGetMessageIdByTimestamp [fix master build] use entryTimestamp for expiry checking in internalGetMessageIdByTimestamp Jul 5, 2021
@freeznet
Copy link
Contributor Author

freeznet commented Jul 5, 2021

/pulsarbot run-failure-checks

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.

LGTM

thanks

@freeznet
Copy link
Contributor Author

freeznet commented Jul 5, 2021

/pulsarbot run-failure-checks

@Anonymitaet
Copy link
Member

@freeznet thanks for your contribution. For this PR, do we need to update docs?

@freeznet
Copy link
Contributor Author

freeznet commented Jul 6, 2021

@freeznet thanks for your contribution. For this PR, do we need to update docs?

@Anonymitaet thanks for asking, this is just a hotfix to the master branch, so no doc required.

@tuteng tuteng added area/build type/bug The PR fixed a bug or issue reported a bug area/broker labels Jul 6, 2021
@tuteng tuteng added this to the 2.9.0 milestone Jul 6, 2021
@tuteng tuteng merged commit ad01fc9 into apache:master Jul 6, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
### Motivation

apache#11014 introduced `getEntryTimestamp` and removed `deserializeBrokerEntryMetaDataFirst`, but apache#11139 is still using `deserializeBrokerEntryMetaDataFirst`, and it breaks master branch.

### Modifications

use `entryTimestamp` for expiry checking in `internalGetMessageIdByTimestamp`

### Verifying this change

- [x] Make sure that the change passes the CI checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker area/build 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.

None yet

4 participants