Skip to content

Move event distribution statistics to the catalog #2852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 12, 2023

Conversation

dominiklohmann
Copy link
Member

This moves the event distribution statistics from the index to the catalog. In a way this is a breaking change: The statistics now only count passive partitions, but since we plan to remove support for querying active partitions anyways it's in line with our envisioned architecture. It is also one further thing that the index and partition transformer need to maintain about partitions.

What previously required vast status --detailed index is now visible in vast status catalog with some additional information, namely the number of partitions for a given schema name and the newest and oldest import timestamp.

As an added bonus, this also removes the offset from the active partition and the partition synopsis, as this was guaranteed to be zero, and deprecates the field in the corresponding FlatBuffers table. That is not user-facing at all, essentially just a clean-as-you-go kind of change.

@dominiklohmann dominiklohmann added the feature New functionality label Jan 11, 2023
@dominiklohmann dominiklohmann requested review from a team and dit7ya January 11, 2023 15:17
@dominiklohmann dominiklohmann marked this pull request as ready for review January 11, 2023 15:18
Copy link
Member

@mavam mavam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went through the diff. LGTM.

@dominiklohmann dominiklohmann removed the request for review from a team January 11, 2023 19:07
Setting `-D VAST_ENABLE_UPDATE_INTEGRATION_REFERENCES=ON` while
configuring the build will now cause running the integration tests to
update the baseline for you.
@dominiklohmann dominiklohmann force-pushed the story/sc-40408/schema-stats-in-catalog branch 2 times, most recently from 2d5acb1 to 4ec14d5 Compare January 11, 2023 21:12
@dominiklohmann dominiklohmann force-pushed the story/sc-40408/schema-stats-in-catalog branch from 4ec14d5 to fa23067 Compare January 11, 2023 22:40
@dominiklohmann dominiklohmann merged commit 82134e5 into master Jan 12, 2023
@dominiklohmann dominiklohmann deleted the story/sc-40408/schema-stats-in-catalog branch January 12, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants