Skip to content

git-export: RMST-502: add tombstones to ledger files - #1546

Merged
leplatrem merged 1 commit into
mainfrom
rmst-502-git-export
Sep 8, 2026
Merged

leplatrem merged 1 commit into
mainfrom
rmst-502-git-export

Conversation

@leplatrem

Copy link
Copy Markdown
Contributor

See #1477

First step for RMST-502: deploy this new git-export job that will store tombstones in ledgers files (see #1538). Let it run a few times, stop it, run the backfill of #1545, restart the cronjob.
At this point existing readers should work as usual. Then we can deploy the reader version of #1539 that reads from the ledger files.

Comment on lines +557 to +558
"".join(
f"{timestamp}{LEDGER_TIMESTAMP_SEPARATOR}{rid}\n"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"".join(
f"{timestamp}{LEDGER_TIMESTAMP_SEPARATOR}{rid}\n"
"\n".join(
f"{timestamp}{LEDGER_TIMESTAMP_SEPARATOR}{rid}"

does not add a newline on files with a single entry...

@alexcottner alexcottner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, I agree with your one suggestion though

@leplatrem

Copy link
Copy Markdown
Contributor Author

I agree with your one suggestion though

Me too
But as I was saying, for a single entry, we have no end of line

@leplatrem
leplatrem merged commit b3cf896 into main Sep 8, 2026
15 of 16 checks passed
@leplatrem
leplatrem deleted the rmst-502-git-export branch September 8, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants