Skip to content

Conversation

@mszeszko-meta
Copy link
Contributor

@mszeszko-meta mszeszko-meta commented Jan 28, 2026

Core changes:

  • Remove is_fifo from BlobDBOptions
  • Remove CheckSizeAndEvictBlobFiles and related methods
  • Remove fifo_eviction_seq and evict_expiration_up_to from BlobCompactionContext

CLI tool cleanup:

  • Remove --blob_db_is_fifo flag from db_bench
  • Remove stale FIFO eviction comments

Tests:

  • Remove FIFO-related tests (FIFOEviction_*, FilterForFIFOEviction)

Note: TTL-based expiration (EvictExpiredFiles) is preserved as it handles blob file cleanup based on TTL, which is separate from FIFO eviction.

Reviewed By: xingbowang

Differential Revision: D91088968

@meta-codesync
Copy link

meta-codesync bot commented Jan 28, 2026

@mszeszko-meta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91088968.

Summary:

FIFO eviction is unused in production, making this dead code that adds complexity.

Core changes:
- Remove `is_fifo` from `BlobDBOptions`
- Remove `CheckSizeAndEvictBlobFiles` and related methods
- Remove `fifo_eviction_seq` and `evict_expiration_up_to` from `BlobCompactionContext`

CLI tool cleanup:
- Remove `--blob_db_is_fifo` flag from db_bench
- Remove stale FIFO eviction comments

Tests:
- Remove FIFO-related tests (`FIFOEviction_*`, `FilterForFIFOEviction`)

Note: TTL-based expiration (`EvictExpiredFiles`) is preserved as it handles blob file cleanup based on TTL, which is separate from FIFO eviction.

Reviewed By: xingbowang

Differential Revision: D91088968
@meta-codesync
Copy link

meta-codesync bot commented Jan 28, 2026

This pull request has been merged in 80f3d86.

@mszeszko-meta mszeszko-meta changed the title Remove FIFO eviction support [Legacy BlobDB] Remove FIFO eviction support Jan 28, 2026
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