Skip to content

Unchained Engine v4.9.4

Choose a tag to compare

@pozylon pozylon released this 23 Nov 17:29
· 785 commits to master since this release
b24e441

Patch release of the v4.9 line. Contains everything in v4.9.3.

Patch

  • Unchanged filter memberships are not read again after the cache expires (@unchainedshop/core-filters): when the process memo of a filter expires, the MongoDB cache reads only that filter's row hashes and keeps its product id arrays while they match. Changed filters, filters seen for the first time and rows without a hash are read completely, as before (#837).
  • A process forgets filters no search needs (@unchainedshop/core-filters): a filter no search needed for ten cache lifetimes (ten minutes by default) is dropped from memory and read completely the next time, so a filter deleted through another replica or the worker does not stay in memory until a restart.
  • One Set per cached membership list (@unchainedshop/core): FilterDirector.filterProductIds built new Sets from the cached arrays on every call. The Sets are now shared, so filterProductIds and filterFacets().filteredByThisFilterSet are typed ReadonlySet<string> (types only).