Skip to content

chore(storage): update docstring#17609

Merged
krajorama merged 1 commit intomainfrom
krajo/fix-appender-docstring
Nov 25, 2025
Merged

chore(storage): update docstring#17609
krajorama merged 1 commit intomainfrom
krajo/fix-appender-docstring

Conversation

@krajorama
Copy link
Member

The original implementation in #9705 for native histograms included a technical dept #15177 where samples were committed ordered by type not by their append order. This was fixed in #17071, but this docstring was not updated.

I've also took the liberty to mention that we do not order by timestamp either, thus it is possible to append out of order samples.

Does this PR introduce a user-facing change?

NONE

The original implementation in #9705 for native histograms included a
technical dept #15177 where samples were committed ordered by type
not by their append order. This was fixed in #17071, but this docstring
was not updated.

I've also took the liberty to mention that we do not order by timestamp
either, thus it is possible to append out of order samples.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
@krajorama krajorama requested review from beorn7 and bwplotka November 25, 2025 12:56
@krajorama krajorama merged commit a66c696 into main Nov 25, 2025
46 checks passed
@krajorama krajorama deleted the krajo/fix-appender-docstring branch November 25, 2025 14:33
wbollock pushed a commit to wbollock/prometheus that referenced this pull request Nov 25, 2025
The original implementation in prometheus#9705 for native histograms included a
technical dept prometheus#15177 where samples were committed ordered by type
not by their append order. This was fixed in prometheus#17071, but this docstring
was not updated.

I've also took the liberty to mention that we do not order by timestamp
either, thus it is possible to append out of order samples.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Signed-off-by: Will Bollock <wbollock@linode.com>
@bwplotka
Copy link
Member

Thank you

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.

3 participants