If we are unlucky with an APCu eviction at the wrong moment, and no other thread writing to the same metric, we can get stuck in an infinite loop where apcu_fetch will always return false.
Fix by applying the same strategy as if apcu_fetch was false in the first place (before doing compare-and-swap)
If we are unlucky with an APCu eviction at the wrong moment, and no other thread writing to the same metric, we can get stuck in an infinite loop where apcu_fetch will always return false.
Fix by applying the same strategy as if apcu_fetch was false in the first place (before doing compare-and-swap)