Skip to content

fix(overview-metrics): non-sticky native count switch, client timeout… - #532

Merged
dwolfson merged 1 commit into
odpi:mainfrom
dwolfson:fix/overview-metrics-native-count-scope
Nov 6, 2026
Merged

dwolfson merged 1 commit into
odpi:mainfrom
dwolfson:fix/overview-metrics-native-count-scope

Conversation

@dwolfson

@dwolfson dwolfson commented Nov 6, 2026

Copy link
Copy Markdown
Member

…, count scope

  • Native counting is disabled for a server only when it really lacks the endpoint (404/405/501, not implemented); timeouts and other transient errors fail just that count. A disable expires after 300s.
  • count_metadata_elements / count_relationships_between_elements (sync and async) defaulted to a hardcoded 30s timeout, ignoring the client's time_out; they now default to None and use the client's.
  • count_elements, count_relationships and the Overview count helpers take scope=None|'viewer'|'repository' mapping to native push_down. A repository-scope count never falls back to the viewer-scoped find.

…, count scope

- Native counting is disabled for a server only when it really lacks the
  endpoint (404/405/501, not implemented); timeouts and other transient
  errors fail just that count. A disable expires after 300s.
- count_metadata_elements / count_relationships_between_elements (sync and
  async) defaulted to a hardcoded 30s timeout, ignoring the client's
  time_out; they now default to None and use the client's.
- count_elements, count_relationships and the Overview count helpers take
  scope=None|'viewer'|'repository' mapping to native push_down. A
  repository-scope count never falls back to the viewer-scoped find.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@dwolfson
dwolfson merged commit 04e338b into odpi:main Nov 6, 2026
6 checks passed
dwolfson added a commit that referenced this pull request Nov 6, 2026
6.2.22 ships #530 (configurable TLS verification of the Egeria platform
certificate), #531 (overview metrics report unmeasured as None, not 0) and
#532 (native count switch no longer sticky, native counts honour the
client's time_out, count scope viewer/repository).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@dwolfson
dwolfson deleted the fix/overview-metrics-native-count-scope branch November 6, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant