Skip to content

LinkPhysicalAddress can be used on already committed addresses #4438

Closed
@N-o-Z

Description

@N-o-Z

Currently, there is no enforcement on LinkPhysicalAddress regarding the origin of the provided address or times of use.
The following scenario can occur:

  1. GetPhysicalAddress returns an address issued by lakeFS
  2. Perform upload to address and LinkPhysicalAddress
  3. Commit data (commit-x)
  4. Perform LinkPhysicalAddress using the same address on same branch
  5. Commit data (commit-y)

Result - commit-x has invalid metadata for address

  • The solution will be to enforce single use of addresses issued by lakeFS using GetPhysicalAddress and will be solved as part of the changes suggested in Proposal: Uncommitted GC #4382

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions