Files
documentdb/internal/pg_documentdb_distributed
Vinod Sridharan 840128724c Merged PR 1625449: Fix up issues with shard rebalance grant support
### Does this PR have any customer impact?
No
### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)
Feature
### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)
Yes
### Are you introducing any new config? If yes, do you have tests with and without them being set?
No
### ChangeLog (Refer [Template](../oss/CHANGELOG.md))

### Description
Fix up issues with rebalance grant support - make rebalance_start/stop/status work for the admin user.

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix

#### PR Summary
This pull request addresses issues with shard rebalance grant support by updating table ownership and schema usage permissions.
- `cluster_operations.c`: Added function to update the owner of the changes table to the cluster admin role and integrated it into the cluster setup process.
- `pgmongo--1.102-0--1.103-0.sql`: Granted usage on the `helio_api_distributed` schema to `pgmongo_role` and `helio_admin_role`.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
2025-04-07 11:39:49 +08:00
..