Skip to content

tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java:480 - Tiered message queries can return messages past the requested end time #11648

Backlog

Description

@Metastarx

QueryMessageProcessor.queryMessage() forwards the request's begin and end timestamps to the store at broker/src/main/java/org/apache/rocketmq/broker/processor/QueryMessageProcessor.java:110. TieredMessageStore.queryMessage() delegates to queryMessageAsync() at tieredstore/src/main/java/org/apache/rocketmq/tieredstore/TieredMessageStore.java:430. In non-FORCE mode, queryMessageAsync() skips the local query if the requested end precedes the earliest local message, then passes that earliest local timestamp as the tiered query's end at line 480. The overload without index arguments does the same at line 448. MessageStoreFetcherImpl.queryMessageAsync() forwards that widened bound to the index at tieredstore/src/main/java/org/apache/rocketmq/tieredstore/core/MessageStoreFetcherImpl.java:552.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions