Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
3c8b98a
VSchemaAPI: Implement SetReference
beingnoble03 Mar 20, 2025
c09db56
Keep the source optional for reference table
beingnoble03 Mar 21, 2025
a3b9963
test: Add unit tests for SetReference
beingnoble03 Mar 21, 2025
1b505b4
Fix failing tests and fix typo
beingnoble03 Mar 21, 2025
166d78c
Fix merge conflicts
beingnoble03 Mar 25, 2025
81fdbcd
VSchemaAPI: Implement Create and Update and some minor refactoring
beingnoble03 Mar 25, 2025
7df2c0e
VSchemaAPI: Implement Publish and AddVindex
beingnoble03 Mar 26, 2025
016f706
VSchemaAPI: Implement other vindex related APIs
beingnoble03 Mar 26, 2025
47ee7ba
Minor validation in VSchemaUpdate
beingnoble03 Mar 26, 2025
6a78f21
VSchemaAPI: Implement RemoveTables and SetSequence and some minor ref…
beingnoble03 Mar 26, 2025
55b0cc3
Fix unit tests and refactor utils
beingnoble03 Mar 26, 2025
896b5b3
VSchemaAPI: Implement AddTables, SetPrimaryVindex and Get
beingnoble03 Mar 28, 2025
887464e
VSchemaAPI: Fix AddLookupVindex
beingnoble03 Mar 29, 2025
804fddb
Add vschema commands to vtctldclient
beingnoble03 Mar 31, 2025
f8c4d9e
Add comments and fix RemoveVindex, AddTables behaviour
beingnoble03 Mar 31, 2025
1585569
Add interface for VSchemaAPI and fix unit tests
beingnoble03 Mar 31, 2025
37a41de
VSchemaAPI: General minor fixes
beingnoble03 Mar 31, 2025
f4d37d6
test: Add unit tests for Get and Update
beingnoble03 Apr 2, 2025
265be02
test: Add unit tests for all the VSchema APIs
beingnoble03 Apr 2, 2025
1aa722d
VTAdmin(API): Support for VSchemaAPI
beingnoble03 Apr 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
549 changes: 549 additions & 0 deletions go/cmd/vtctldclient/command/vschema.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions go/flags/endtoend/vtctldclient.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ Available Commands:
UpdateCellsAlias Updates the content of a CellsAlias with the provided parameters, creating the CellsAlias if it does not exist.
UpdateThrottlerConfig Update the tablet throttler configuration for all tablets in the given keyspace (across all cells)
VDiff Perform commands related to diffing tables involved in a VReplication workflow between the source and target.
VSchema Performs CRUD operations on VSchema.
Validate Validates that all nodes reachable from the global replication graph, as well as all tablets in discoverable cells, are consistent.
ValidateKeyspace Validates that all nodes reachable from the specified keyspace are consistent.
ValidatePermissionsKeyspace Validates that the permissions on the primary of the first shard match those of all of the other tablets in the keyspace.
Expand Down
298 changes: 154 additions & 144 deletions go/vt/proto/vschema/vschema.pb.go

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions go/vt/proto/vschema/vschema_vtproto.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading