Skip to content

If table id is changed, sender will send request to wrong bucket. #2746

@loserwang1024

Description

@loserwang1024

Search before asking

  • I searched in the issues and found nothing similar.

Fluss version

0.8.0 (latest release)

Please describe the bug 🐞

Currently, RecordAccumulator#getReadyDeque is based on (table name , parititon name, bucket id). However , if a table a(table id = 1) is removed, and recreate a new table aslo named a(table id = 2) , then old request for old table will be sent to new table.

Then the ProduceLogRequest will be set as wrong table id = 2.

Solution

Before sent , check whether table id is changed.

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions