Skip to content

LanceLakeWriter.close() does not clear allFragments #3332

@vamossagar12

Description

@vamossagar12

Search before asking

  • I searched in the issues and found nothing similar.

Fluss version

0.9.0 (latest release)

Please describe the bug 🐞

In LanceLakeWriter.java#close(), allFragments still holds references to FragmentMetadata objects. If complete() is called after close(), it would return stale fragments. While the lifecycle should prevent this, clearing the list in close() is defensive best practice.

Solution

No response

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

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions