Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

int ReplicateBlock::add_cloned_block_map(const uint32_t block_id) 实现没有对传入相同block_id的情况进行处理, 有内存泄漏可能 #9

Open
huaizong opened this issue Mar 19, 2015 · 1 comment

Comments

@huaizong
Copy link

https://github.com/alibaba/tfs/blob/master/src/dataserver/replicate_block.cpp#L371

    int ReplicateBlock::add_cloned_block_map(const uint32_t block_id)  实现没有对传入相同block_id的情况进行处理, 有内存泄漏可能

@wangruowr
Copy link

Replicate block在调用逻辑时保证了不是系统的block,只有缺少副本时才会触发replicate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants