| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Adds Cache Groups concepts to Cripts (#12743) * Adds Cache Groups concepts to Cripts - cleans up the notion around cached URLs and headers, and cache keys. - adds APIs to set the lookup status as well * Changes from code review * Address Bryan's review issues WriteToDisk previously updated last_sync and cleared the transaction log before confirming syncMap succeeded. On rename failure the log would be lost even though the map was never written to disk. syncMap now returns bool; WriteToDisk reverts last_sync on failure and only calls clearLog when all dirty slots have been successfully synced. Adds Catch2 unit tests covering basic insert/lookup, persist-and-reload, transaction log replay across restarts, corrupt/truncated/wrong-version map file handling, sync failure log preservation, and map rotation. More unit tests will be done in a future PR. * Address Copilot review comments Add missing standard headers in CacheGroup.cc. Use std::error_code overload for filesystem::remove in syncMap error paths. Add <filesystem> and <system_error> to CacheGroup.hpp. Use fixed-width types in _MapHeader for a stable on-disk format. Fix max_to_process calculation in the sync continuation to spread groups evenly across the sync window. * Address bryancall's review comments Fix sync retry logic: revert last_sync to its previous value on syncMap failure instead of setting it to last_write. The old code made the slot appear clean, preventing retries until a new Insert bumped last_write again. | 6 个月前 | |
Remove unused globals rejected by Clang 23 (#13759) Moving ATS CI from fedora:44 to fedora:45 brings Clang 23. Its -Wunused-but-set-global diagnostic flags globals that are assigned but never read. These warnings fail the Fedora CI build because its CMake preset treats warnings as errors, blocking the image upgrade. This patch removes unused counters and pointer assignments while keeping plugin objects registered with the C++ API. It also removes an unused continuation allocation from the intercept example. Removing the unused remap pointer exposes an ownership-tracking limitation in the existing Clang analyzer. This patch explicitly returns the remap plugin through its instance handle so the analyzer can see the transfer to the remap API, which deletes the instance when its rule is removed. Co-authored-by: Codex GPT-6.1 Sol High | 11 天前 | |
cleanup cript example. add missing function (#11129) * cleanup cript example. add missing function * actually implement Cript::splitter --------- Co-authored-by: Chris McFarlen <cmcfarlen@apple.com> | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 11 天前 | ||
| 2 年前 |