Repository navigation
Conversation
akhileshh
force-pushed
the
meshing-v2
branch
3 times, most recently
from
July 14, 2026 13:08
fbd3e19 to
65e0a82
Compare
akhileshh
force-pushed
the
meshing-v2
branch
3 times, most recently
from
November 11, 2026 21:18
485ddf3 to
1fdc8f2
Compare
akhileshh
force-pushed
the
meshing-v2
branch
from
November 19, 2026 15:26
c28404f to
fa454c2
Compare
- `MeshMeta` resolves `dir`, `initial_mesh_dir` and `dynamic_mesh_dir` from `custom_data["mesh"]`; either mesh dir may be a cloud URL. - Setup writes the shard spec and the mesh block, never the watershed's info. - `dataset_info` and the graphene info take mesh keys from the mesh block alone. Co-Authored-By: Claude <noreply@anthropic.com>
- Stitching, remeshing and find-path read node meshes through `NodeMeshReader`, from `initial_path` and `dynamic_path`. - The manifest's shard readers resolve `initial_path` through `shard_mesh_source`, a cloud-URL dir included. - `remeshing()` drops `cv_sharded_mesh_dir`; its callers pass `MeshMeta`'s values. Co-Authored-By: Claude <noreply@anthropic.com>
- `Accept: application/x.cave;manifest_version=2` gets fragments grouped by absolute bucket, with one seg id per row. - A v1 request for a table that `needs_v2` gets `406`, naming the v2 header; responses carry `Vary: Accept` and `X-Manifest-Version`. - Manifest flags merge the query string and the body through `_flag`. Co-Authored-By: Claude <noreply@anthropic.com>
- Every cached fragment and absence expires after `MANIFEST_TTL_SECONDS`, 3 days. - `ManifestCache.clear_namespace` deletes a graph's keys by SCAN. Co-Authored-By: Claude <noreply@anthropic.com>
- `MeshMeta.spec_dir` names the spec's dir, the parent of `initial_path`; `reader_anchor` derives from it. - `verify=0` builds its shard readers through `shard_mesh_source`. - The remesh worker looks for the spec in `spec_dir`, so a table whose watershed lives elsewhere still remeshes. Co-Authored-By: Claude <noreply@anthropic.com>
- `setup_mesh_meta` merges its seven keys over the existing block, so `initial_mesh_dir` and other keys survive a re-run. - The shard spec is written in `MeshMeta.spec_dir`, beside the initial meshes, never under a watershed that holds none. Co-Authored-By: Claude <noreply@anthropic.com>
- ChunkedGraphMeta.repoint_watershed pins the mesh block first - it persists nothing; ChunkedGraph.update_meta saves it - ws_cv reads its watershed's info directly, with no Redis cache Co-Authored-By: Claude <noreply@anthropic.com>
- every load of its meta repoints it in memory to the iarpa_microns path - it pickles as stored, so no write changes its row; revert before merge Co-Authored-By: Claude <noreply@anthropic.com>
- A copy reuses its source's initial meshes and writes its own dynamic dir. - Its first open lists the source's dynamic dir as an inherited layer. - A new node's creation time hints at the dir holding its mesh. - A probe checks the hint, and a miss searches the own dir first. - After the own dir, a miss searches inherited dirs newest first. - Inside the server, a mesh found outside the own dir carries that dir. - v2 groups rows by that dir, so clients see the same row format. - Tables without inherited dirs read and cache exactly as before. Co-Authored-By: Claude <noreply@anthropic.com>
- A copy's restored id counters reuse its source's ids, so an older dir may hold another node's mesh. - A miss now searches the own dir and the inherited dirs newer than the hint. - The copy's block is built beside its layer record, and its dir name has one home. Co-Authored-By: Claude <noreply@anthropic.com>
- Publish the dynamic dir relative to the mesh root when it lies there. - Share one whole-segment test of the mesh root with `needs_v2`. - Refuse v1 for a sibling dir that only shares the root's prefix. Co-Authored-By: Claude <noreply@anthropic.com>
akhileshh
force-pushed
the
meshing-v2
branch
from
November 24, 2026 15:56
fa454c2 to
6c4c4c5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A table's watershed can live in a different location from its meshes, and that location holds no meshes.
PCG looked for every mesh under
<watershed>/<mesh dir>, so such a table lost its meshes in the manifest, stitching, remeshing and find-path.A copy of a table also had no way to show its source's meshes without copying them.
What changes
MeshMetareadsdir,initial_mesh_diranddynamic_mesh_dirfromcustom_data["mesh"]; the last two may be absolute cloud URLs.infois no longer written, anddataset_infono longer takes mesh keys from it.infopublishes the table's mesh keys.mesh_dir,dynamic_mesh_dir, andmesh_metadatawith the absolute initial and dynamic paths.dynamic_mesh_dirandmesh_metadata.unsharded_mesh_dirname the dynamic dir relative to<watershed>/<mesh dir>whenever it lies there, so a table repointed onto its own watershed, or away and back, stays readable by v1 clients.initial_pathand dynamic meshes fromdynamic_path; both manifest modes and the remesh worker read the shard spec beside the initial meshes.Accept: application/x.cave;manifest_version=2. Fragments are grouped by their absolute bucket, and every row carries exactly one seg id.<watershed>/<mesh dir>gets406, naming the v2 header; "outside" compares whole path segments, so a sibling such as<mesh dir>_v2counts as outside.ChunkedGraphMeta.repoint_watershedpins the mesh block first, so the meshes stay where they are; save the meta withChunkedGraph.update_meta.ws_cvreads the watershed's info directly, with no Redis cache.ManifestCache.clear_namespaceclears a graph's keys.Table copies
dynamic_<copy id>.inherited_dynamic.Compatibility
inherited_dynamicreads exactly as before.Vary: AcceptandX-Manifest-Version.meshgen.remeshing()no longer takescv_sharded_mesh_dir.Before merge
cd3ff7d0, which servesminnie3_v1from its new watershed for testing.🤖 Generated with Claude Code