Skip to content
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

[YSQL] Add a friendly helper class to help update YsqlCatalogConfig #25418

Open
1 task done
hari90 opened this issue Dec 23, 2024 · 0 comments
Open
1 task done

[YSQL] Add a friendly helper class to help update YsqlCatalogConfig #25418

hari90 opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@hari90
Copy link
Contributor

hari90 commented Dec 23, 2024

Jira Link: DB-14650

Description

auto l = ysql_config_::LockForWrite();
auto& pb = l.pb();
pb.set....
l.Commit();

Internally YsqlCatalogConfig will grab required mutex, COW lock, and perform validations and update any required version numbers at commit time.

Issue Type

kind/enhancement

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@hari90 hari90 added the area/ysql Yugabyte SQL (YSQL) label Dec 23, 2024
@hari90 hari90 self-assigned this Dec 23, 2024
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

2 participants