Remove work-journal references from source comments

This commit is contained in:
ms2k 2026-07-19 01:12:18 +09:00
commit cc328237f4
8 changed files with 12 additions and 14 deletions

View file

@ -1,5 +1,5 @@
//! Dragonfly/Redis coordination primitives with G-A3 global slots and L-B1 //! Dragonfly/Redis coordination primitives with global slots and process-local
//! process-local permits; feature packages own protocol orchestration. //! permits; feature packages own protocol orchestration.
mod error; mod error;
mod keys; mod keys;

View file

@ -1,5 +1,5 @@
//! IF-1 L-B1 permit accounting holds local capacity until cooperative stop or //! Permit accounting holds local capacity until cooperative stop or process
//! process death, independently of lease expiry. //! death, independently of lease expiry.
use std::collections::HashMap; use std::collections::HashMap;
use std::sync::{Arc, Mutex}; use std::sync::{Arc, Mutex};

View file

@ -1,5 +1,5 @@
-- KEYS: lease, slots, reserve. ARGV[1]=job_id. -- KEYS: lease, slots, reserve. ARGV[1]=job_id.
-- C2 expiry preserves G-A3 occupancy while a reservation remains. -- Lease expiry preserves slot occupancy while a reservation remains.
local function now_ms() local function now_ms()
local t = redis.call('TIME') local t = redis.call('TIME')
return (tonumber(t[1]) * 1000) + math.floor(tonumber(t[2]) / 1000) return (tonumber(t[1]) * 1000) + math.floor(tonumber(t[2]) / 1000)

View file

@ -1,4 +1,4 @@
-- G-A3 global slots: KEYS[1]=reserve KEYS[2]=slots KEYS[3]=lease -- KEYS[1]=reserve KEYS[2]=slots KEYS[3]=lease
-- ARGV[1]=worker_id ARGV[2]=ttl_ms ARGV[3]=global_limit ARGV[4]=job_id -- ARGV[1]=worker_id ARGV[2]=ttl_ms ARGV[3]=global_limit ARGV[4]=job_id
local function now_ms() local function now_ms()
local t = redis.call('TIME') local t = redis.call('TIME')

View file

@ -32,8 +32,8 @@ impl Default for StoreConfig {
} }
} }
/// Dragonfly/Redis substrate using IF-1 G-A3 global job slots; process-local /// Dragonfly/Redis global job slots; process-local permits live in
/// permits live in [`crate::LocalPermitGate`]. /// [`crate::LocalPermitGate`].
#[derive(Clone)] #[derive(Clone)]
pub struct CoordinationStore { pub struct CoordinationStore {
conn: ConnectionManager, conn: ConnectionManager,
@ -113,7 +113,6 @@ impl CoordinationStore {
.await .await
} }
/// Reserve under global capacity (IF-1 G-A3 + IF-4 reserve key).
pub async fn reserve( pub async fn reserve(
&self, &self,
job_id: &str, job_id: &str,

View file

@ -587,7 +587,7 @@ async fn activate_without_seed_clears_foreign_progress() {
.await .await
.expect("report"); .expect("report");
store.release(job, &first).await.expect("release"); store.release(job, &first).await.expect("release");
// Stale progress may linger after release (IF-6). // Progress may outlive its lease until the next owner activates.
assert!(store.get_progress(job).await.expect("progress").is_some()); assert!(store.get_progress(job).await.expect("progress").is_some());
store store
@ -675,8 +675,8 @@ async fn clean_terminal_and_reconstruction() {
store.drop_job_state(&[job]).await.expect("cleanup"); store.drop_job_state(&[job]).await.expect("cleanup");
} }
/// G-A3 rebuild after loss: wipe empties slots; re-project then re-admit rebuilds /// Re-projection and admission rebuild slot membership after coordination loss.
/// membership. PermitSafety holds across repeated wipes and concurrent admit. /// PermitSafety holds across repeated wipes and concurrent admission.
#[tokio::test] #[tokio::test]
async fn repeated_loss_reconstruction_preserves_permit_safety() { async fn repeated_loss_reconstruction_preserves_permit_safety() {
let Some(store) = test_store("rebuild-g", 2, Duration::from_secs(10)).await else { let Some(store) = test_store("rebuild-g", 2, Duration::from_secs(10)).await else {

View file

@ -4,7 +4,6 @@ use crate::error::IdentityError;
use crate::principal::Principal; use crate::principal::Principal;
use crate::target::{DefaultTarget, TargetOverride, resolve_target}; use crate::target::{DefaultTarget, TargetOverride, resolve_target};
/// Management operations governed by current authorization (architecture A-3).
#[derive(Clone, Copy, Debug, Eq, PartialEq)] #[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum ManagementOperation { pub enum ManagementOperation {
List, List,

View file

@ -1,4 +1,4 @@
//! Target storage adapter (WP-08). //! Target storage adapter.
//! //!
//! OpenDAL-backed create-only attempt objects, multipart recovery, exact //! OpenDAL-backed create-only attempt objects, multipart recovery, exact
//! identity reads and deletes, independent SHA-256, version retention, and //! identity reads and deletes, independent SHA-256, version retention, and