projectHistoryShardedBlobs holds the blob records that did not fit into projectHistoryBlobs: when the bucket for a hash prefix already has 8 records there, the next ones go here. A project has at most 16 documents in it, one per first hex digit of the hash. There is no Mongoose schema; history-v1 writes it in services/history-v1/storage/lib/blob_store/mongo.js (layout described at mongo.js:1-16).
Fields
Who Writes It
Who Reads It
Indexes
Only the default _id index. No migration in tools/migrations/ adds one.
Notes
- The shards of one project sit next to each other in
_id order, so the code finds them with an _id range from <history id>00 to <history id>0f (mongo.js:75-80, 287-295).
- The collection only appears once some project has more than 8 blobs with the same 3-digit hash prefix, so a small instance may not have it at all.
Last modified on November 14, 2026