⚡ Sangsakala Proxy 🏠 Home
Skip to content

fix: switch off vectorize cockroachdb - #659

Merged
bajinsheng merged 1 commit into
sqlancer:masterfrom
bajinsheng:master
Dec 18, 2022
Merged

bajinsheng merged 1 commit into
sqlancer:masterfrom
bajinsheng:master

Conversation

@bajinsheng

@bajinsheng bajinsheng commented Dec 18, 2022 •

Copy link
Copy Markdown
Collaborator

The vectorize option is on by default: https://www.cockroachlabs.com/docs/v22.2/vectorized-execution#configure-vectorized-execution so we are required to randomly switch it off here.

@bajinsheng
bajinsheng requested a review from mrigger December 18, 2022 08:19
@bajinsheng bajinsheng mentioned this pull request Dec 18, 2022
@bajinsheng
bajinsheng enabled auto-merge (squash) December 18, 2022 08:20

@mrigger mrigger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since vectorization is on by default, perhaps we can just remove the option to make vectorization more likely and the code here?

@mrigger

mrigger commented Dec 18, 2022

Copy link
Copy Markdown
Contributor

@bajinsheng

Copy link
Copy Markdown
Collaborator Author

https://github.com/sqlancer/sqlancer/blob/master/src/sqlancer/cockroachdb/gen/CockroachDBSetSessionGenerator.java also randomly turns vectorization off.

So we fully remove this switch here?

@bajinsheng
bajinsheng requested a review from mrigger December 18, 2022 08:34
@mrigger
mrigger removed their request for review December 18, 2022 08:43
@bajinsheng
bajinsheng merged commit 00cda2e into sqlancer:master Dec 18, 2022
albertZhangTJ pushed a commit to albertZhangTJ/sqlancer-lancerfuzz that referenced this pull request Dec 19, 2022
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