MINIFICPP-1155 - Rocksdb repos print invalid stats#733
MINIFICPP-1155 - Rocksdb repos print invalid stats#733arpadboda wants to merge 1 commit intoapache:masterfrom
Conversation
bakaid
left a comment
There was a problem hiding this comment.
We should check the return values of the GetProperty calls. When I was first debugging it, it wasn't clear whether it was caused by GetProperty returning false, but us still using the value.
The strings simply remain empty strings in that case, so we don't have to handle error here, it's a properly designed API :) |
|
Added a note to https://issues.apache.org/jira/browse/MINIFICPP-1145 to handle this nicely in the refactor PR. |
bakaid
left a comment
There was a problem hiding this comment.
@arpadboda Agreed, let's do this once properly in the refactor task.
The fix itself looks good.
Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:
Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
Has your PR been rebased against the latest commit within the target branch (typically master)?
Is your initial contribution a single, squashed commit?
For code changes:
For documentation related changes:
Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.