fast import: tenant broken if import cancelled / errors out before /status/pgdata
reaches done
state
#10191
Labels
t/bug
Issue Type: Bug
If the import flow stops due to an error or cancellation (PS restart, tenant migration), the index part in S3 has an invalid disk_consistent_lsn and the tenant will fail to
load_remote_timelines
in any location where it subsequently attachedMore context: https://neondb.slack.com/archives/C033RQ5SPDH/p1734549772067199?thread_ts=1734368383.258759&cid=C033RQ5SPDH
When fixing this issue, also think about / add regression test for resilience to tenant migrations, etc in other places.
Probably there will be no time to get the kind of excellent test coverage we have for the timeline deletion flow, but think about it in the same way.
Evidence
Index part looks like this
The text was updated successfully, but these errors were encountered: