Skip to content

chore(metadata-db): drop footer column from file_metadata table#1876

Merged
LNSD merged 1 commit intomainfrom
lnsd/chore-metadata-db-file-metadata-drop-footer-column
Feb 27, 2026
Merged

chore(metadata-db): drop footer column from file_metadata table#1876
LNSD merged 1 commit intomainfrom
lnsd/chore-metadata-db-file-metadata-drop-footer-column

Conversation

@LNSD
Copy link
Contributor

@LNSD LNSD commented Feb 27, 2026

Footer bytes are stored in footer_cache since 20251204183330_footer_cache.sql;
The column in file_metadata was written but never read, wasting storage.

  • DROP the footer column from file_metadata via new migration
  • Update insert query to stop writing footer and fix bind parameters

@LNSD LNSD self-assigned this Feb 27, 2026
@LNSD LNSD changed the title chore(metadata-db): drop footer column from file_metadata table chore(metadata-db): drop footer column from file_metadata table Feb 27, 2026
Footer bytes are stored in `footer_cache` since `20251204183330_footer_cache.sql`;
the column in `file_metadata` was written but never read, wasting storage.

- `DROP` the `footer` column from `file_metadata` via new migration
- Update insert query to stop writing `footer` and fix bind parameters

Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
@LNSD LNSD force-pushed the lnsd/chore-metadata-db-file-metadata-drop-footer-column branch from 2456e5c to 384cf4c Compare February 27, 2026 11:05
@LNSD LNSD marked this pull request as ready for review February 27, 2026 11:06
@LNSD LNSD merged commit f141d96 into main Feb 27, 2026
9 checks passed
@LNSD LNSD deleted the lnsd/chore-metadata-db-file-metadata-drop-footer-column branch February 27, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants