-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
release-21.2: revert "sql: add database ID to sampled query log" #85022
release-21.2: revert "sql: add database ID to sampled query log" #85022
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.
update your PR title to add release-21.2:...
and use only lower case, unless is the name of a variable
Reviewable status:
complete! 1 of 0 LGTMs obtained
b174ee2
to
0432dae
Compare
Updated. |
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.
Reviewable status:
complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @maryliag and @THardy98)
pkg/util/log/eventpb/telemetry.proto
line 60 at r2 (raw file):
// Statement fingerprint ID of the query. uint64 statement_fingerprint_id = 12 [(gogoproto.customname) = "StatementFingerprintID", (gogoproto.jsontag) = ',omitempty'];
to keep aligned with 22.1 and mater, go back to fingerprint 13 and add 12 as reserved
Reverts: cockroachdb#84195 This reverts commit c633d13. Removes the DatabaseID field from the SampledQuery telemetry log due to the potential of indefinite blocking in the case of a lease acquisition failure. Protobuf field not reserved as no official build was released with these changes yet. Release note (sql change): Removes the DatabaseID field from the SampledQuery telemetry log due to the potential of indefinite blocking in the case of a lease acquisition failure.
0432dae
to
1d4d147
Compare
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.
Reviewable status:
complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @maryliag)
pkg/util/log/eventpb/telemetry.proto
line 60 at r2 (raw file):
Previously, maryliag (Marylia Gutierrez) wrote…
to keep aligned with 22.1 and mater, go back to fingerprint 13 and add 12 as reserved
Reserved 12 and reverted back to 13.
Small gen.go
change to accomodate reserved
fields in the proto.
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.
Reviewed 3 of 6 files at r1, 1 of 1 files at r2, 2 of 3 files at r3, all commit messages.
Reviewable status:complete! 1 of 0 LGTMs obtained (waiting on @maryliag and @THardy98)
pkg/util/log/eventpb/telemetry.proto
line 59 at r3 (raw file):
string transaction_id = 11 [(gogoproto.customname) = "TransactionID", (gogoproto.jsontag) = ',omitempty', (gogoproto.moretags) = "redact:\"nonsensitive\""]; reserved 12;
we usually put the list of reserved at the end, so people can just add items there
Reverts: #84195
This reverts commit c633d13.
Removes the DatabaseID field from the
SampledQuery telemetry log due to the potential of indefinite blocking
in the case of a lease acquisition failure. Protobuf field not reserved as
no official build was released with these changes yet.
Release note (sql change): Removes the DatabaseID field from the
SampledQuery telemetry log due to the potential of indefinite blocking
in the case of a lease acquisition failure.
Release justification: Category 2: Bug fixes and low-risk updates to new functionality