-
Notifications
You must be signed in to change notification settings - Fork 15
REP-6634 Add time-series support #140
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
REP-6634 Add time-series support #140
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
switch srcSpec.Type { | ||
case "collection": | ||
canCompareData = true | ||
case "view": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: would prefer canCompareData
being set to false explicitly.
) | ||
|
||
// TestTimeSeries_BucketsOnly confirms the verifier’s time-series coverage | ||
// when only the buckets exist. This is important when verifying shard-to-shard. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is important when verifying shard-to-shard.
Do we test shard-to-shard? Just curious.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shard-to-shard verification has been tested, yeah. Nothing is automated, though.
This changeset adds basic time-series support.
Because of the verifier’s
_id
dependency, this verifies buckets rather than logical measurements. This implies a requirement that the migration copy time-series collections via buckets as well since a logical replication would not preserve artifacts like bucket_id
, and possibly not even the grouping of measurements.Because of the bucket-level verification, details in mismatch reports are not very useful for time-series because they reference bucket-level fields that the logical API doesn’t expose.
This works with per-shard verification (i.e., it can verify with or without a view). It does not currently support namespace filtering.