# File lib/storage/cache.rb, line 271 def mark(oid) return nil if oid.nil? @st.inc(:cache_marks) hv = hash(oid) @cache[hv].each do |ce| next if ce.oid != oid ce.dirty! return end # this would indicate we've tried marking it dirty before we did a put. @st.inc(:cache_mark_misses) log.debug "Marking object dirty before put - #{oid}" end