Skip to content

[Bug] [broker] incorrect last message id from rest api #21968

@thetumbled

Description

@thetumbled

Search before asking

  • I searched in the issues and found nothing similar.

Version

master

Minimal reproduce step

The last message id from binary protocal is 1947495:17782.

17:42:35.775 [main] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/default/__transaction_buffer_snapshot-partition-2][multiTopicsReader-3b0ae499b9] Get topic last message Id
17:42:35.781 [pulsar-client-io-1-1] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/default/__transaction_buffer_snapshot-partition-2][multiTopicsReader-3b0ae499b9] Successfully getLastMessageId 1947495:17782

But the last message id from rest api is 269185:-1
image

What did you expect to see?

.

What did you see instead?

.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions