-
Notifications
You must be signed in to change notification settings - Fork 16
DEVPROD-628 Add option to disable default search attributes #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
loadgen/scenario.go
Outdated
| // by the run, they must be registerd by some other method. This is needed because cloud cells | ||
| // cannot use the SDK to register SAs, instead the SAs must be registered through the control plane. | ||
| // Default is false. | ||
| NoDefaultSearchAttributes bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about DoNotRegisterSearchAttributes and --do-not-register-search-attributes?
I'm thinking that's slightly more accurate / precise, since an attempt will be made to use the default search attributes regardless of the value of this option; we're controlling whether they should be registered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Changed
dbcc436 to
efcfb03
Compare
efcfb03 to
36b28d3
Compare
dandavison
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, LGTM.
Co-authored-by: Dan Davison <[email protected]>
Sushisource
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
What was changed
Added an option to disable creating the default search attributes
Why?
Scenarios running against cloud server cells cannot create search attributes through the SDK. They must use the control plane instead.