A C++ map can drop a live cache entry. One <= in a comparator is enough. I forced a timestamp tie and watched a key vanish. Would you have caught that in review?
This is a debugging retrospective. It is not a product tour. The artifact is a comparator audit you can run locally.
The symptom
I reconstructed a small TTL cache. Insert looked fine. Lookup looked fine. Unit tests stayed green.
Then two entries shared the same expiry second. One key disappeared. No throw. No log line. Just a hole.






