Skip to content

sql sessions: remove V22_2 gates and related logic/migrations/etc #96759

@celiala

Description

@celiala

Now that we've bumped minBinary to 22.2[1], we should now remove all V22_2* version gates and related gated logic/migrations/etc as applicable.

V22_2 gates for SQL Sessions[2]:

  • V22_2SystemPrivilegesTable
  • V22_2RoleIDSequence
  • V22_2AddSystemUserIDColumn
  • V22_2SystemUsersIDColumnIsBackfilled
  • V22_2SetSystemUsersUserIDColumnNotNull
  • V22_2RoleOptionsTableHasIDColumn
  • V22_2RoleOptionsIDColumnIsBackfilled
  • V22_2SetRoleOptionsUserIDColumnNotNull
  • V22_2RemoveGrantPrivilege
  • V22_2TTLDistSQL

[1] #95530
[2] Using git blame from https://github.com/cockroachdb/cockroach/blame/984c24b05bfe3c04ffd7bec5784d475796504522/pkg/clusterversion/cockroach_versions.go

Jira issue: CRDB-24314

Metadata

Metadata

Assignees

Labels

C-cleanupTech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions