RDBC-1033 Add GetEssentialStatisticsOperation and EssentialDatabaseStatistics#275
Open
redknightlois wants to merge 1 commit intoravendb:v7.2from
Open
RDBC-1033 Add GetEssentialStatisticsOperation and EssentialDatabaseStatistics#275redknightlois wants to merge 1 commit intoravendb:v7.2from
redknightlois wants to merge 1 commit intoravendb:v7.2from
Conversation
4c3f61b to
f5b2d2f
Compare
…atistics - EssentialDatabaseStatistics mirrors C# AbstractDatabaseStatistics fields: count_of_indexes, count_of_documents, count_of_revision_documents, count_of_documents_conflicts, count_of_tombstones, count_of_conflicts, count_of_attachments, count_of_counter_entries, count_of_time_series_segments, indexes - EssentialIndexInformation class with name, lock_mode, priority, type, source_type, archived_data_processing_behavior - ArchivedDataProcessingBehavior enum added to index definitions - GetEssentialStatisticsOperation hits /stats/essential - All new public types exported from top-level ravendb package - EssentialDatabaseStatistics.from_json uses key-existence check on Indexes (consistent with DatabaseStatistics peer) so an empty list is preserved as [] - _GetEssentialStatisticsCommand passes EssentialDatabaseStatistics to RavenCommand.__init__ so all-nodes-failed errors name the correct class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue link
https://issues.hibernatingrhinos.com/issue/RDBC-1033
Additional description
RDBC-1033 – Adds
GetEssentialStatisticsOperationandEssentialDatabaseStatistics, a lightweight alternative to the fullGetStatisticsOperation. Returns key database metrics — document counts, index counts, attachment counts, tombstones, and a summary per index — without the heavier payload of the full statistics endpoint (/stats/essential). All new types are exported from the top-levelravendbpackage.Type of change
How risky is the change?
Backward compatibility
Is it platform specific issue?
Documentation update
Documentation Requiredtag.Testing by Contributor
private)Testing by RavenDB QA team
QA Requiredtag.Is there any existing behavior change of other features due to this change?
UI work
Studio Requiredtag.