Similar Items: A Behavioral Theory for Distributed Systems with Weak Recovery