hypercache-lmcache-native 0.10.0__tar.gz → 0.10.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
31
31
 
32
32
  [[package]]
33
33
  name = "hypercache-lmcache-connector"
34
- version = "0.10.0"
34
+ version = "0.10.1"
35
35
  dependencies = [
36
36
  "crc32fast",
37
37
  "libc",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "hypercache-lmcache-connector"
3
- version = "0.10.0"
3
+ version = "0.10.1"
4
4
  edition = "2021"
5
5
  license = "Apache-2.0"
6
6
  description = "LMCache native L2 connector backed by the HyperCache daemon"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypercache-lmcache-native
3
- Version: 0.10.0
3
+ Version: 0.10.1
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Operating System :: POSIX :: Linux
@@ -57,7 +57,7 @@ exclude_root_device = true
57
57
  storage_backing_mode = "raw_block"
58
58
  chunk_size_bytes = 4194304
59
59
  device_start_offset_bytes = 4096
60
- metadata_persistence_enabled = true # keep the KV cache across daemon restarts
60
+ metadata_persistence_enabled = true # keep the KV cache across clean daemon restarts
61
61
  agent_enabled = false
62
62
  metrics_enabled = false
63
63
  ram_cache_enabled = false
@@ -166,6 +166,7 @@ It prints `None` when the kernels load, and the reason when they don't. The conn
166
166
 
167
167
  - Any doubt about a block is a miss. Lookup only accepts committed local-only blocks with a checksum for every chunk, and load verifies every chunk before reporting success.
168
168
  - If the daemon restarts, the connector reconnects by itself. A request that couldn't be sent is resent once, and one the daemon may have received is never resent, so it reports a failure.
169
+ - The daemon does not flush the drive's write cache for KV blocks, because a lost block only costs a recompute. A clean stop (SIGINT or SIGTERM) flushes the drives and keeps every block. After a crash, `kill -9` or power cut, the next start drops every KV block, so they are misses rather than data that may never have reached the drive. Checkpoints and other objects still flush on every commit.
169
170
  - Blocks are never flushed to a backend. Against an older daemon, stores fail before any data is written and lookups miss. Support is checked again on every new connection, because a restarted daemon may be a different version, and a commit only counts when the daemon confirms `LOCAL_ONLY`.
170
171
  - A commit names the layout this connector staged, so if another writer replaced the block in between, the daemon refuses it and the store fails.
171
172
  - Two stores of the same block in one process run one after the other, and each reports its real outcome. A block already stored counts only if its size and layout match.
@@ -36,7 +36,7 @@ exclude_root_device = true
36
36
  storage_backing_mode = "raw_block"
37
37
  chunk_size_bytes = 4194304
38
38
  device_start_offset_bytes = 4096
39
- metadata_persistence_enabled = true # keep the KV cache across daemon restarts
39
+ metadata_persistence_enabled = true # keep the KV cache across clean daemon restarts
40
40
  agent_enabled = false
41
41
  metrics_enabled = false
42
42
  ram_cache_enabled = false
@@ -145,6 +145,7 @@ It prints `None` when the kernels load, and the reason when they don't. The conn
145
145
 
146
146
  - Any doubt about a block is a miss. Lookup only accepts committed local-only blocks with a checksum for every chunk, and load verifies every chunk before reporting success.
147
147
  - If the daemon restarts, the connector reconnects by itself. A request that couldn't be sent is resent once, and one the daemon may have received is never resent, so it reports a failure.
148
+ - The daemon does not flush the drive's write cache for KV blocks, because a lost block only costs a recompute. A clean stop (SIGINT or SIGTERM) flushes the drives and keeps every block. After a crash, `kill -9` or power cut, the next start drops every KV block, so they are misses rather than data that may never have reached the drive. Checkpoints and other objects still flush on every commit.
148
149
  - Blocks are never flushed to a backend. Against an older daemon, stores fail before any data is written and lookups miss. Support is checked again on every new connection, because a restarted daemon may be a different version, and a commit only counts when the daemon confirms `LOCAL_ONLY`.
149
150
  - A commit names the layout this connector staged, so if another writer replaced the block in between, the daemon refuses it and the store fails.
150
151
  - Two stores of the same block in one process run one after the other, and each reports its real outcome. A block already stored counts only if its size and layout match.