Skip to content

catalog/lease: connect test ambient context to node ID#73158

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
knz:20211125-lease-ac
Dec 8, 2021
Merged

catalog/lease: connect test ambient context to node ID#73158
craig[bot] merged 2 commits intocockroachdb:masterfrom
knz:20211125-lease-ac

Conversation

@knz
Copy link
Copy Markdown
Contributor

@knz knz commented Nov 25, 2021

Informs #58938
All commits but the last from #73156.

@knz knz requested review from a team, ajwerner and rimadeodhar November 25, 2021 14:40
@knz knz requested a review from a team as a code owner November 25, 2021 14:40
@knz knz requested a review from a team November 25, 2021 14:40
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown

@postamar postamar left a comment

Choose a reason for hiding this comment

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

Last commit LGTM for SQL Schema.

@knz knz force-pushed the 20211125-lease-ac branch 3 times, most recently from 8f562a7 to 8624df4 Compare November 29, 2021 11:15
Copy link
Copy Markdown
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @ajwerner and @rimadeodhar)

@knz knz force-pushed the 20211125-lease-ac branch from 8624df4 to f792ebe Compare December 8, 2021 12:53
knz added 2 commits December 8, 2021 14:11
This commit ensures that the same data structure can store both SQL
instance IDs and Node IDs. The decision is made upon instantiation of
the container which of the two types of IDs the container stores.

This simplifies the code and paves the road to using a single
container in servers for the purpose of identifying the server
instance in traces and logs.

This also revisits the change in  cockroachdb#72607 by switching the
tracing/logging prefix `sqli` to `nsql` for SQL instance servers.

Release note: None
@knz knz force-pushed the 20211125-lease-ac branch from f792ebe to f3d7c80 Compare December 8, 2021 13:12
Copy link
Copy Markdown
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

Catalog changes LGTM

@craig craig bot merged commit f3d7c80 into cockroachdb:master Dec 8, 2021
@knz knz deleted the 20211125-lease-ac branch December 8, 2021 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants