The GitHub Actions job "Licensing - RAT Report" on 
grails-core.git/feature/mongodb-embedded-8.0.x has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
cfaa324d764c5002a19e1572a16ebe3c984c392d / Scott Murphy Heiberg 
<[email protected]>
Address review: keep production external, only reuse our own server, document

Production no longer enables the embedded MongoDB. The initializer publishes its
url ahead of every other property source, so an application deployed with
MONGO_HOST and MONGO_PORT set would have ignored them and quietly served an 
empty
local database. Development and test keep it; an application that wants one in
production enables it for that environment itself. This also removes flapdoodle
from generated applications, since only production used it.

Reuse is now limited to a server this JVM started, tracked by port. Probing the
socket treated any listener as a reusable MongoDB, so an unrelated service on 
the
port produced a url pointing at it and a misleading protocol error later. 
Anything
else holding the port now fails the start with an error naming the port. This
class ships in a jar and so survives a devtools restart in the base classloader,
which is what made tracking possible without the probe.

Document the module in the MongoDB manual: the two backends and their 
trade-offs,
every configuration property, restart and port behaviour, why production should
stay external, and use outside Grails.

Report URL: https://github.com/apache/grails-core/actions/runs/30965828285

With regards,
GitHub Actions via GitBox

Reply via email to