Skip to content

Commit b89bfcd

Browse files
committed
docs(rest): the one-module dataset 409 neither names nor counts a hidden holder
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cz4f7zEQZ2C9GTG382
1 parent cfc3b3d commit b89bfcd

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎.changeset/32948-dataset-door-contended-holder.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Metadata-protocol: none
1010
Moved answers, when the name is refused (bare name, `?callerPackage=`, or `?package=` naming a contended holder) and its holders' own addresses are contended:
1111

1212
- admitted to two or more holders: `503 SERVICE_UNAVAILABLE` → `409 RESOURCE_CONFLICT` naming those holders;
13-
- admitted to exactly one contended holder: `503` → `409` naming that holder only, nothing run;
13+
- admitted to exactly one contended holder: `503` → `409` naming that holder only, nothing run; its sentence speaks of that holder and the row alone and neither names nor counts any holder the caller may not query;
1414
- admitted to none: `503` → `404 NOT_FOUND`, byte-equal to the answer for a name nothing holds;
15-
- admitted to exactly one holder whose address is not contended, every other holder contended and not admitted: `503` → `200`, that holder's dataset runs (the rule for one admitted holder of an ambiguity, now reached).
15+
- admitted to exactly one holder whose address is not contended, every other holder contended and not admitted: `503` → `200`, that holder's dataset runs (the rule for one admitted holder of an ambiguity, now reached). At `?package=` or `?callerPackage=` naming a contended module that holder is not among the refused holders, so it never runs there: admitted to it alone is the `404`, admitted beside a module is the `409` naming that module only.
1616

1717
The stored row this arises from today is an App's customization-pair row that names none of the App's modules. A row bound to no package is declined at each holder's address for a dataset, so it moves no answer, before or after.
1818

‎content/docs/data-modeling/analytics.mdx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,9 @@ if the row were not there. An App's customization-pair row that names none of
318318
the App's modules makes each module's own address refuse the name until the row
319319
is saved under one package. Such a module never runs, and it is judged on its
320320
own dataset: the `409` names it when the caller may query it, and a caller who
321-
may query none of the holders gets the `404`.
321+
may query none of the holders gets the `404`. A `409` that names one module
322+
speaks of that module and the row only: it neither names nor counts a holder
323+
the caller may not query.
322324

323325
To run several queries in one request, as a dashboard render does, send them
324326
to `POST {basePath}/analytics/dataset/query/batch` as `{ queries: [...] }`,

0 commit comments

Comments
 (0)