mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) ### Are you introducing any new config? If yes, do you have tests with and without them being set? ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description Fix oss index with public RUM after adding hooks to load custom handlers After the hook change, the missingOk argument to load the function was set to false always, but we need to consider scenarios where we're using the public RUM (OSS), so the custom multiandgetbimap function would not be available.  ---- #### AI description (iteration 1) #### PR Classification Bug fix #### PR Summary Fixes the issue with the OSS index when using public RUM by adding hooks to load custom handlers. - `api_hooks.c`: Modified `GetMultiAndBitmapIndexFunc` to accept a `missingOk` parameter. - `rum_custom_join_scan.c`: Updated `RegisterRumJoinScanNodes` to pass `missingOk` to `GetMultiAndBitmapIndexFunc`. - `api_hooks.h`: Updated function declaration of `GetMultiAndBitmapIndexFunc` to include `missingOk` parameter.