HBASE-25850 Fix spotbugs warnings on branch-2 (#3239)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
xiaozhang0319 2021-05-07 20:21:53 +08:00 committed by GitHub
parent 2938ba421b
commit bec79d877f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -208,8 +208,7 @@ public class DefaultMobStoreCompactor extends DefaultCompactor {
if (major) {
try {
delFileWriter = mobStore.createDelFileWriterInTmp(new Date(fd.latestPutTs),
fd.maxKeyCount, major ? majorCompactionCompression : minorCompactionCompression,
store.getRegionInfo().getStartKey());
fd.maxKeyCount, majorCompactionCompression, store.getRegionInfo().getStartKey());
} catch (IOException e) {
LOG.warn(
"Failed to create del writer, "