-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Revert "sql: Add database ID to sampled query log" #85017
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.
Reviewable status: complete! 1 of 0 LGTMs obtained
efe2a57
to
61eaa5f
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 and @THardy98)
pkg/util/log/eventpb/telemetry.proto
line 63 at r2 (raw file):
// Statement fingerprint ID of the query. uint64 statement_fingerprint_id = 12 [(gogoproto.customname) = "StatementFingerprintID", (gogoproto.jsontag) = ',omitempty'];
change back fingerprint to 13 and add 12 as reserved
61eaa5f
to
a4ec92a
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 63 at r2 (raw file):
Previously, maryliag (Marylia Gutierrez) wrote…
change back fingerprint to 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 5 files at r1, 1 of 1 files at r2, 1 of 2 files at r3, all commit messages.
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @maryliag and @THardy98)
pkg/util/log/eventpb/telemetry.proto
line 63 at r2 (raw file):
Previously, THardy98 (Thomas Hardy) wrote…
Reserved 12 and reverted back to 13.
Smallgen.go
change to accomodatereserved
fields in the proto.
Move the reserved list to the end
a4ec92a
to
7c08bab
Compare
bors r+ |
Build failed (retrying...): |
Merge conflict. |
bors r- |
Reverts: cockroachdb#84195 This reverts commit 307817e. 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.
7c08bab
to
53d2cd6
Compare
bors r+ |
Build succeeded: |
Reverts: #84195
This reverts commit 307817e.
Removes the DatabaseID field from the
SampledQuery
telemetry log due to the potential of indefinite blockingin 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 blockingin the case of a lease acquisition failure.