Closed artemananiev closed 2 months ago
Coverage variation | Diff coverage |
---|---|
Report missing for de34f1ca79a8dbc4faa88eb0321e4048714f2dbb[^1] | :white_check_mark: 93.88% |
Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more [^1]: Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.
Attention: Patch coverage is 83.67347%
with 8 lines
in your changes missing coverage. Please review.
Project coverage is 59.16%. Comparing base (
964661d
) to head (6fe2c3f
). Report is 38 commits behind head on develop.
Fix summary:
AbstractLongList
and its subclasses: max valid index. Previously there was only a field for min valid index, and list size was used as max valid indexupdateValidKeyRange()
method must be called. All updates to the list outside the current range will result in an exceptionstartWriting(min, max)
method in MIDKVS is split into two:updateValidKeyRange(min, max)
andstartWriting()
. This is needed, because sometimes there is nothing to write, but the store index still needs to be updated. Previously the index was updated directly instartWriting()
Testing:
updateValidKeyRange()
when neededFixes: https://github.com/hashgraph/hedera-services/issues/15036 Signed-off-by: Artem Ananev artem.ananev@swirldslabs.com