Skip to content

Change VitessInputFormat key type#199

Merged
yaoshengzhe merged 1 commit intovitessio:masterfrom
yaoshengzhe:master
Dec 10, 2014
Merged

Change VitessInputFormat key type#199
yaoshengzhe merged 1 commit intovitessio:masterfrom
yaoshengzhe:master

Conversation

@yaoshengzhe
Copy link
Copy Markdown
Contributor

Make VitessInputFormat emit <NullWritable, RowWritable> instead of
<KeyspaceIdWritable, RowWritable>

@henryanand
Copy link
Copy Markdown
Contributor

Looks good. I would remove KeyspaceIdWritable entirely.

@yaoshengzhe
Copy link
Copy Markdown
Contributor Author

KeyspaceIdWritable seems still useful for some utility classes, let's keep it for now.

Make VitessInputFormat emit <NullWritable, RowWritable> instead of
<KeyspaceIdWritable, RowWritable>
yaoshengzhe added a commit that referenced this pull request Dec 10, 2014
Change VitessInputFormat key type
@yaoshengzhe yaoshengzhe merged commit 5d1169e into vitessio:master Dec 10, 2014
vmg pushed a commit to vmg/vitess that referenced this pull request Apr 8, 2021
This checks if a vtgate is currently filtering keyspaces before requesting the TopoServer. This is necessary because a TopoServer can't be accessed in those cases as the filtered Topo in those cases could make it unsafe to make writes since all reads would be returning a subset of the actual topo data.

The only use of the requested topoServer that I found was in the DDL handling path and was introduced in vitessio#6547.

This is deployed on dev but should get testing (endtoend or unit, unclear on best path atm) before going upstream.
deepthi pushed a commit that referenced this pull request Apr 22, 2021
This checks if a vtgate is currently filtering keyspaces before requesting the TopoServer. This is necessary because a TopoServer can't be accessed in those cases as the filtered Topo in those cases could make it unsafe to make writes since all reads would be returning a subset of the actual topo data.

The only use of the requested topoServer that I found was in the DDL handling path and was introduced in #6547.

This is deployed on dev but should get testing (endtoend or unit, unclear on best path atm) before going upstream.
# Conflicts:
#	go/vt/vtgate/vcursor_impl.go

Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
deepthi pushed a commit to planetscale/vitess that referenced this pull request Apr 22, 2021
This checks if a vtgate is currently filtering keyspaces before requesting the TopoServer. This is necessary because a TopoServer can't be accessed in those cases as the filtered Topo in those cases could make it unsafe to make writes since all reads would be returning a subset of the actual topo data.

The only use of the requested topoServer that I found was in the DDL handling path and was introduced in vitessio#6547.

This is deployed on dev but should get testing (endtoend or unit, unclear on best path atm) before going upstream.
# Conflicts:
#	go/vt/vtgate/vcursor_impl.go

Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
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.

2 participants