Defect HC-13225

auth.inventory is not consistently updating the product index

Software

Customer case Applies to Corrected in
CS0266701 V9.1.7.0 9.1.8.1

Observed behavior

When FilterOutOfStockInventoryExpression is used to filter out any out-of-stock items, some items appear to have inventory but do not.

Expected behavior

The out of stock filter should not be allowing products without inventory through to the storefront.

Resolution

FilterOutOfStockInventoryExpression relies on the product index to contain up-to-date inventory information about products. In some instances, insufficient indexing service wait times led to the product index being out-of-date, showing stale inventory counts.