Skip to content

Remove unused attrs parameter from CreateChronicle and AcquireStory#641

Draft
iameneko wants to merge 1 commit intodevelopfrom
575-remove-attrs-parameter
Draft

Remove unused attrs parameter from CreateChronicle and AcquireStory#641
iameneko wants to merge 1 commit intodevelopfrom
575-remove-attrs-parameter

Conversation

@iameneko
Copy link
Copy Markdown
Contributor

@iameneko iameneko commented May 6, 2026

The attribute map argument was advertised on both APIs but never honored — ChronicleMetaDirectory only LOG_DEBUG'd it and dropped it on the floor, and no Keeper/Grapher/Store code consumed any value. Removing the parameter end-to-end (public client header, facade, impl, RPC, Visor portal, metadata directory, Chronicle::addStory) makes the API stop pretending to be configurable. Worth rejecting over reject-with-error because we're already breaking the C++ ABI in the other umbrella PRs in this wave.

Also drops the orphan tiering_policy field and StoryTieringPolicy / ChronicleTieringPolicy enums (always set to *_normal in the constructor, never read by anything), and cleans up the TieringPolicy / Priority / IndexGranularity attribute-map setup in the CLI, perf bench, examples, integration tests, chronokvs adapter, chronoviz backend and the Python writer/reader examples.

Closes #575. Part of #572.

…and AcquireStory

The attribute map argument was advertised by the public client API but
never honored — ChronicleMetaDirectory only logged it and dropped it on
the floor, no Keeper/Grapher/Store code consumed any value. Removing
the parameter end-to-end (public client header, facade, impl, RPC,
Visor portal, metadata directory, Chronicle::addStory) makes the API
stop pretending to be configurable.

Also removes the orphan tiering_policy field from ChronicleAttrs and
StoryAttrs (always set to *_normal in the constructor, never read), the
matching enums, and the "TieringPolicy=Hot" / "Priority=High" / etc.
attribute-map setup in CLI, perf bench, examples, and integration tests.

Closes #575.
@iameneko iameneko added this to the v2.9.0 — API Completeness milestone May 6, 2026
@iameneko iameneko added Maintenance Refactoring, cleanup, dependency updates, dead-code removal ChronoVisor Coordination service: chronicle/story metadata, client registry, recording group orchestration ChronoLogClient Client library: C++/Python APIs for connecting, recording, and replaying labels May 6, 2026
@iameneko iameneko self-assigned this May 6, 2026
@iameneko iameneko linked an issue May 8, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ChronoLogClient Client library: C++/Python APIs for connecting, recording, and replaying ChronoVisor Coordination service: chronicle/story metadata, client registry, recording group orchestration Maintenance Refactoring, cleanup, dependency updates, dead-code removal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Honor or reject chronicle/story attributes

1 participant