Fixed #23326 - DatabaseCache.incr is atomic