You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix gpcheckresgroupv2impl to use dynamic cgroup parent from GUC parameter
This commit fixes issues introduced in
"Add guc: gp_resource_group_cgroup_parent (#16738)" where the
gp_resource_group_cgroup_parent GUC parameter was added but the
gpcheckresgroupv2impl script still used hardcoded "gpdb" paths.
Changes:
- Implement get_cgroup_parent() method to dynamically retrieve the
gp_resource_group_cgroup_parent value from database
- Replace all hardcoded "gpdb" paths with dynamic cgroup parent value
- Improve error handling in cgroup.c with more descriptive error messages
- Fix test configuration order: set gp_resource_group_cgroup_parent before
enabling gp_resource_manager=group-v2 to avoid validation failures
This ensures the cgroup validation script works correctly with custom
cgroup parent directories configured via the GUC parameter, making the
resource group feature more flexible for different deployment scenarios.
0 commit comments