Repository navigation
2.8.14
⚠️ setup:upgrade might be long
This release contains an improvement in the tracking data storage (#2253).
TL;DR : this release contains a Setup file that can run for a long time, please keep that in mind when deploying it into production.
Elasticsuite used to store tracking data in daily indices, which ended up being quite resource consuming for an Elasticsearch cluster, especially if you have a long retention time (like 365 days) : the tracker was generating 2 daily indices for each store view (one for sessions, one for events), which means you'll have 730+ open indices after one year, or even sooner if you have multiple store views.
We needed to make an improvement here, that's why tracking indices will now be stored with monthly indices, which should drastically reduce the footprint they have in the Elasticsearch cluster : this is better to have 12 monthly indices than 365 daily indices for the same amount of data.
But we always take care of backward compatibility and we did not want merchants to lose any existing data. That's why this release contains a migration script, that will be run during the setup:upgrade : this script will use the Elasticsearch internal _reindex API to regroup all daily indices into monthly indices. This might take a long time if you have many existing tracking indices.
The operation will wrap up all existing daily indices into monthly indices, and once it's done, will delete the unused old daily indices.
Since the mapping of tracking indices has never changed since its inception, this process should not encounter any issues during merging. If this happens to be the case, the only workaround will be to manually delete the problematic daily indices.
Changes
🐛 Fixes
- An issue (#1933) with multi-word synonyms (#2217) thanks to @pzlamaniec contribution.
- Issues (#2005 #2255) occuring with products positions on Magento Commerce with de-synced row_id/entity_id (#2266)
💻 Technical