Skip to content

Remove dead blob granule leftovers from the C header and Java tests - #14246

Merged
saintstack merged 1 commit into
apple:mainfrom
saintstack:remove-dead-blob-granule-leftovers
Oct 8, 2026
Merged

saintstack merged 1 commit into
apple:mainfrom
saintstack:remove-dead-blob-granule-leftovers

Conversation

@saintstack

@saintstack saintstack commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Blob granules were removed in 8.0, but a few dead leftovers remain:

  • fdb_c.h still defines FDBBGMutationType and the FDBBG* file-description structs (tenant prefix, encryption key/context, file pointer, mutation, file description). Only the removed read-blob-granules description API used them.
  • fdb_c.cpp still has static_asserts that check FDB_BG_MUTATION_TYPE_* against MutationRef::Type.
  • bindings/java/CMakeLists.txt passes API_TEST_BLOB_GRANULES_ENABLED to two add_fdbclient_test calls. That option is no longer declared in cmake/AddFdbTest.cmake, so CMake silently ignores it.

Delete them (deletions only).

FDBGranuleSummary and FDBReadBlobGranuleContext are kept, because the stubs that let older multiversion clients load this library use them (#14238). The API-version and protocol-version blob granule features are also left in place as version history.

Blob granules were removed in 8.0. The FDBBG* file-description types in
fdb_c.h were only consumed by the removed read-blob-granules description
API, and the static_asserts in fdb_c.cpp only checked their enum against
MutationRef. API_TEST_BLOB_GRANULES_ENABLED is no longer an option of
add_fdbclient_test, so CMake was silently ignoring it.

FDBGranuleSummary and FDBReadBlobGranuleContext are kept: the abort stubs
that let older multiversion clients load this library use them.
@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-ide on Linux RHEL 9

  • Commit ID: 9c0788f
  • Duration 0:22:41
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 9c0788f
  • Duration 1:06:21
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests on Linux RHEL 9

  • Commit ID: 9c0788f
  • Duration 1:45:24
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos-m1 on macOS 14.x

  • Commit ID: 9c0788f
  • Duration 0:46:00
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang on Linux RHEL 9

  • Commit ID: 9c0788f
  • Duration 0:49:17
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-arm on Linux RHEL 9

  • Commit ID: 9c0788f
  • Duration 0:56:05
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos on macOS 14.x

  • Commit ID: 9c0788f
  • Duration 4:12:02
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@saintstack
saintstack merged commit db991d6 into apple:main Oct 8, 2026
10 checks passed
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.

3 participants