Skip to content

[Bug] ExportTableToPointInTime is not a consistent snapshot #57

Description

@RossWilliams

Describe the bug

ExportTableToPointInTime in dynamodb is a consistent snapshot. your code is doing a loop of scan operations and doesn't appear to wrap it in a postgres transaction, leading to inconsistent snapshot data

To Reproduce

Inspect code in

pub async fn handle_export_table(
, notice there is a loop and scan on line 220 and no evidence of a transaction wrapping it.

Expected behavior

Behaviour that is non-conforming is explicitly called out in the documentation.

Actual behavior

non-conforming behaviour is not mentioned in https://github.com/ExtendDB/extenddb/blob/main/docs/differences-from-dynamodb.md

Environment

N/A

Logs / stack trace

N/A

Additional context

Checklist

  • I have searched existing issues for duplicates
  • I have included the ExtendDB version and environment details
  • I can reproduce this with the latest release

Metadata

Metadata

Assignees

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