Skip to content

implement truncate_storage: handling in making snapshot #576

implement truncate_storage: handling in making snapshot

implement truncate_storage: handling in making snapshot #576

Triggered via push August 16, 2024 14:51
Status Failure
Total duration 1m 18s
Artifacts

ci-build.yml

on: push
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 11 warnings
clang-diagnostic-error: src/limestone/datastore_snapshot.cpp#L117
no member named 'get' in 'limestone::internal::sorting_context'
clang-diagnostic-error: src/limestone/datastore_snapshot.cpp#L181
use of undeclared identifier 'key'
clang-diagnostic-error: src/limestone/datastore_snapshot.cpp#L183
variable 'sctx' cannot be implicitly captured in a lambda with no capture-default specified
clang-diagnostic-error: src/limestone/datastore_snapshot.cpp#L183
variable 'sctx' cannot be implicitly captured in a lambda with no capture-default specified
Analysis
Process completed with exit code 1.
modernize-use-nodiscard: src/limestone/log_entry.h#L317
function 'value_etc' should be marked [[nodiscard]]
modernize-use-nodiscard: src/limestone/log_entry.h#L319
function 'key_sid' should be marked [[nodiscard]]
modernize-use-nodiscard: src/./limestone/log_entry.h#L317
function 'value_etc' should be marked [[nodiscard]]
modernize-use-nodiscard: src/./limestone/log_entry.h#L319
function 'key_sid' should be marked [[nodiscard]]
cppcoreguidelines-special-member-functions,hicpp-special-member-functions: src/limestone/datastore_snapshot.cpp#L38
class 'sorting_context' defines a move constructor but does not define a destructor, a copy constructor, a copy assignment operator or a move assignment operator
misc-non-private-member-variables-in-classes: src/limestone/datastore_snapshot.cpp#L39
member variable 'sortdb' has public visibility
misc-non-private-member-variables-in-classes: src/limestone/datastore_snapshot.cpp#L40
member variable 'mtx_remove_storage' has public visibility
misc-non-private-member-variables-in-classes: src/limestone/datastore_snapshot.cpp#L41
member variable 'remove_storage' has public visibility
bugprone-exception-escape: src/limestone/datastore_snapshot.cpp#L42
an exception may be thrown in function 'sorting_context' which should not throw exceptions
hicpp-use-equals-default,modernize-use-equals-default: src/limestone/datastore_snapshot.cpp#L49
use '= default' to define a trivial default constructor