mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? Yes ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Feature ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### 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 Direct user related queries to coordinator ---- #### AI description (iteration 1) #### PR Classification New feature #### PR Summary This pull request enables user operations (create, drop, update) to be executed from any node in the cluster. - `users.c`: Added logic to forward user operations to the metadata coordinator if the current node is not the coordinator. - `users.c`: Implemented error handling and response formatting for distributed user operations. - `users.c`: Included necessary header `api_hooks.h` for the new functionality. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->