The GitHub Actions job "Build" on jackrabbit-oak.git/OAK-12202 has failed.
Run started by GitHub user nfsantos (triggered by nfsantos).

Head commit for run:
b901e8dee019d26be1b2c8ce616f15b0653d6468 / Nuno Santos <[email protected]>
OAK-12202: add getters and add(String) to DistinctBinarySize

- Extract shared per-id logic into private addBinaryId(BinaryId) helper to
  avoid duplicating it across the add(NodeData) and add(String) overloads.
- Add public add(String blobId) overload for callers that hold a raw blob-id
  string (e.g. from SegmentBlobReferenceRetriever) and want to reuse the
  existing Bloom-filter/large-set deduplication without duplicating it.
- Fix add(String) to construct BinaryId before incrementing referenceCount so
  that malformed ids do not inflate the reference count.
- Add totalDistinctCount/totalDistinctSize fields populated by end() and
  expose them, along with referenceCount, referenceSize, and the Storage
  object, through public getters.
- Add a unit test covering reference counting and deduplication via add(String).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/25316547648

With regards,
GitHub Actions via GitBox

Reply via email to