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
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
extenddb/crates/engine/src/import_export.rs
Line 166 in c20b2d6
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