Skip to content

[IOTDB-2750] Enhance check statement before writing mlog#5253

Merged
HTHou merged 1 commit intoapache:masterfrom
bigreybear:i2750_master
Mar 16, 2022
Merged

[IOTDB-2750] Enhance check statement before writing mlog#5253
HTHou merged 1 commit intoapache:masterfrom
bigreybear:i2750_master

Conversation

@bigreybear
Copy link
Copy Markdown
Contributor

Reason of the ISSUE:

During recovery from mlog.bin, MManager::MLogWrite is not initialized since there is no need to write a new entry into mlog, which directly causes the NPE of this issue. This may be caused by nonstandard usage of Templates or originate from disharmonious implementation between MManager and TemplateManager. We will make a thorough refactor to these modules soon.

To fix this issue, we enhanced the check statement before writing entry into mlog.

@HTHou HTHou changed the title Enhance check statement before writing mlog [IOTDB-2750] Enhance check statement before writing mlog Mar 16, 2022
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 65.368% when pulling f8bb810 on bigreybear:i2750_master into 5a88650 on apache:master.

@HTHou HTHou merged commit 5edf9e9 into apache:master Mar 16, 2022
@bigreybear bigreybear deleted the i2750_master branch July 28, 2022 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants