Hi All, We were having issues setting up a Typesense docker service as part of our local development automation. In production, we're using Typesense Cloud but we run Typesense in a docker container for local development support.
The bug is apparent when we use the latest release 0.23.1.
For development, we have a setup script that runs a series of command to provision all Typesense collections and then index documents for each collection from the seeded development data. The script and commands work as expected when executed on the host machine against the docker Typesense instance but have strange behaviour when the same script is run as part of the associated API's Docker command. i.e. the script is called in the API Dockerfile command before executing the actual API server process,
All collections are provisioned properly and the command feedback for each index command looks correct. When we check the actual content of the collections however, they all contain the same documents. i.e. One collection (the last command to run) contains the correct documents and data but the other collections all contain the exact same documents instead of the correct documents for each collection.
When I run the Typesense docker instance with the most recent
0.24.0.rc29 version, the problem goes away. Normally, with the problem gone, I would stop there but this version is obviously a release candidate and I can't find any completed issues or commit that seem to address the bug I was experiencing.
Are there any changes between 0.23.1 and 0.24.0.rc29 that might be what solved this bug for me? Will this fix/change still be present in the next latest release?