Skip to content

Snapshots feature refactor#292

Open
AnnaPaolaMusio wants to merge 8 commits into
eclipse-score:mainfrom
etas-contrib:snapshots-feature-refactor
Open

Snapshots feature refactor#292
AnnaPaolaMusio wants to merge 8 commits into
eclipse-score:mainfrom
etas-contrib:snapshots-feature-refactor

Conversation

@AnnaPaolaMusio
Copy link
Copy Markdown
Contributor

The C++ implementation of the KVS module has been modified in terms of snapshot behavior.

  1. Removal of snapshot_rotate
    The snapshot_rotate function has been completely removed from the C++ implementation. Snapshot management is no longer automatic and requires an explicit call to the snapshot_create() function.

  2. The flush() function no longer automatically creates snapshots.
    In the previous behavior (still valid for RUST) flush() persisted the data and called snapshot_rotate() to automatically create a new snapshot. Now flush() now only persists the current state of the KVS to disk.

  3. Implementation of snapshot_create API
    The new snapshot_create() function has been implemented, allowing for the explicit creation of snapshots in the first available slot.

  4. Implementation of snapshot_delete API
    The snapshot_delete() function has been implemented to explicitly remove a specific snapshots by ID.

  5. Update to snapshot_count and snapshot_restore.

  6. A new component requirement has been introduced, according to the new behaviour of the snapshot_create.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.4.2) and connecting to it...
INFO: Invocation ID: 50d583ce-50e4-4efb-b76d-7693237810b5
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 3 packages loaded
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Analyzing: target //:license-check (4 packages loaded, 0 targets configured)
Analyzing: target //:license-check (4 packages loaded, 0 targets configured)

Analyzing: target //:license-check (62 packages loaded, 10 targets configured)

Analyzing: target //:license-check (86 packages loaded, 10 targets configured)

Analyzing: target //:license-check (145 packages loaded, 3669 targets configured)

Analyzing: target //:license-check (155 packages loaded, 5372 targets configured)

Analyzing: target //:license-check (155 packages loaded, 5374 targets configured)

Analyzing: target //:license-check (156 packages loaded, 5374 targets configured)

Analyzing: target //:license-check (159 packages loaded, 7385 targets configured)

Analyzing: target //:license-check (162 packages loaded, 10023 targets configured)

Analyzing: target //:license-check (162 packages loaded, 10023 targets configured)

Analyzing: target //:license-check (162 packages loaded, 10023 targets configured)

Analyzing: target //:license-check (162 packages loaded, 10023 targets configured)

INFO: Analyzed target //:license-check (163 packages loaded, 10149 targets configured).
[13 / 17] JavaToolchainCompileClasses external/rules_java+/toolchains/platformclasspath_classes; 0s disk-cache, processwrapper-sandbox ... (2 actions running)
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 66 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
[15 / 17] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar; 0s disk-cache, processwrapper-sandbox
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 26.739s, Critical Path: 2.13s
INFO: 17 processes: 12 internal, 4 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 17 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

@github-actions
Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

@AnnaPaolaMusio AnnaPaolaMusio marked this pull request as ready for review May 27, 2026 11:43
Comment thread tests/test_cases/tests/test_cit_snapshots.py Outdated
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.

2 participants