]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/RandomCache: Fix inconsistence between contents and count 2136/head
authorHaomai Wang <haomaiwang@gmail.com>
Wed, 23 Jul 2014 03:26:18 +0000 (11:26 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Wed, 23 Jul 2014 03:31:46 +0000 (11:31 +0800)
commit5efdc6236cc31fd58a304f2aac7024a9e65fca93
treea082986fd3e5080a4b275f78b9fa8247c7ac3491
parent79f3f6749122ce2944baa70541949d7ca75525e6
common/RandomCache: Fix inconsistence between contents and count

The add/clear method may cause count inconsistent with the real size of
contents.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/common/random_cache.hpp