Skip to content

Conversation

@pushrbx
Copy link
Collaborator

@pushrbx pushrbx commented May 1, 2025

  • Performance uplift when searching.
  • After each request, the mongodb connection needs to be cleaned up when a persistent PHP application server is used.
  • Fixed dependencies. Mongodb extension for php is now 2.0 as of 10th of April, so we need to pin to 1.x version as we are not yet ready to upgrade to the newer version of jenssengers/laravel-mongo package.
  • Added the ability to explicitly set the auth mechanism for mongodb.
  • If you set DB_AUTH_MECHANISM, it will make the logs of your mongodb instance less noisy. There is a minor bug in the mongodb driver, which adds extra log entries after each connection made by php AuthenticationAbandoned: Overridden by new authentication session. If you want to stick with the default authentication behavior of mongodb and if you don't want the excess log entries set the DB_AUTH_MECHANISM to SCRAM-SHA-256

pushrbx added 5 commits May 1, 2025 18:00
- Attempt at performance uplift when searching.
- After each request, the mongodb connection needs to be cleaned up when a persistent PHP application server is used.
- When indexing, it's important to force fsync in mongodb to avoid data loss.
@pushrbx pushrbx changed the title [WIP] Hotfixes for May 2025 [WIP] Hotfixes for 2025 Jun 25, 2025
…atibility, and handle upstream errors with stale data responses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants