Skip to content

Resolve's lake-free session falls back on p3live, and retries the fallback every call (#1429 follow-up) #1502

Done

Description

@athvin

Part of #1429. #1429 stays open until er-dev measures p95 under 300 ms.

er-dev on bbf4e4a6 (#1500): all 61 calls logged persistent=false, and wall time got about 500 ms worse (p50 2176 / p95 2535 ms). p3live's catalog is a bare file path, which the stamp check accepts, so detach_corpus returned None. Its likely cause is entity_membership, which many incremental runs leave with delete files or inlined rows that its Parquet files can't reproduce. A None result also cached nothing, so every call opened the lake twice: once for the failed detach and once for the fallback.

Done when:

  • the membership is copied into the session through the catalog during a refresh, so deletes apply exactly, and only the corpus is read as files;
  • a refusal is logged with its reason and cached per change stamp;
  • a fallback dataset opens the lake once per call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions