Skip to content

Be/fix object storage - #23

Merged
gameswu merged 3 commits into
mainfrom
be/fix-object-storage
Apr 26, 2026
Merged

gameswu merged 3 commits into
mainfrom
be/fix-object-storage

Conversation

@Tbl0x7D6

Copy link
Copy Markdown
Contributor

No description provided.

…eSQL metadata

- Introduced `ObjectStore` struct to encapsulate both PostgreSQL pool and on-disk object directory.
- Updated various modules (papers, questions) to utilize the new `ObjectStore` for object management.
- Migrated legacy BYTEA objects to filesystem during application startup.
- Added new endpoint `GET /objects/:object_id` for serving individual object files with HTTP caching.
- Updated configuration to include `object_store_dir` for specifying the storage directory.
- Enhanced error handling and logging throughout the object storage operations.

@gameswu gameswu 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.

np

@gameswu
gameswu merged commit 4907873 into main Apr 26, 2026
1 check passed
@Tbl0x7D6
Tbl0x7D6 deleted the be/fix-object-storage branch May 29, 2026 07:29
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