Intel-bigdata / SSM

Smart Storage Management for Big Data, a comprehensive hot/cold data optimized solution
Apache License 2.0
134 stars 67 forks source link

Fix whitelist and uncompact actions lock issues. #2232

Closed lipppppp closed 3 years ago

lipppppp commented 3 years ago

Hi, there are two issues about whitelist and uncompact actions.

  1. When user didn't set whitelist, adding "/" to currentList will influence coverList in SmartConf and leads to other problems. So I changed related process.
  2. Recover method will add lock to smallfileList in uncompact actions when HA happened. But when uncompact actions finished, the lock won't be removed. I think it is not necessary to add samllfileList lock for uncompact actions. This patch will solve these problems, please review.
PHILO-HE commented 3 years ago

The patch looks good to me. Will commit soon. Thanks!