Skip to main content

Module keys

Module keys 

Source

Structs§

BudgetKeyContext
Key context for budget partition keys.
ExecKeyContext
Pre-computed key context for all keys on an execution’s partition. Created once per operation and reused for all key construction.
FlowIndexKeys
Flow-partition index keys.
FlowKeyContext
Key context for flow-structural partition keys.
IndexKeys
Index keys scoped to a single execution partition.
QuotaKeyContext
Key context for quota partition keys.

Constants§

USAGE_DEDUP_KEY_PREFIX
Shared prefix for the usage-dedup keyspace. Must match the ff:usagededup: literal referenced in lua/**.lua (notably lua/budget.lua:99, the ff_report_usage_and_check function). Grep ff:usagededup: to find all producers, consumers, and test fixtures in one search.

Functions§

budget_attach_key
Budget attachment key (not budget-ID scoped).
budget_policies_index
Budget policies index — SET of budget IDs on this partition. Used by the budget reconciler for cluster-safe discovery (replaces SCAN).
budget_resets_key
Budget reset schedule index.
global_config_partitions
Partition configuration — ff:config:partitions (§8.3). Validated on startup; created on first boot.
idempotency_key
ff:idem:{p:N}:<namespace>:<idempotency_key>
lane_config_key
Lane configuration key.
lane_counts_key
Lane counts key.
lanes_index_key
Lane registry.
namespace_executions_key
ff:ns:<namespace>:executions
noop_key
Placeholder key that shares a hash tag with other KEYS in the same FCALL.
quota_attach_key
Quota attachment key.
quota_policies_index
Quota policy index — SET of policy IDs on this partition. Used by the quota reconciler for cluster-safe discovery (replaces SCAN).
tag_index_key
ff:tag:<namespace>:<key>:<value>
usage_dedup_key
Build a usage-dedup key: ff:usagededup:<hash_tag>:<dedup_id>.
waitpoint_key_resolution
Waitpoint key resolution — ff:wpkey:{p:N}:<waitpoint_key>
worker_alive_key_ns
ff:worker:{namespace}:{instance_id}:alive — liveness key for the worker. TTL’d via PEXPIRE; presence == registered.
worker_caps_key_ns
ff:worker:{namespace}:{instance_id}:caps — HASH of worker_id, lanes_csv, caps_csv, ttl_ms, registered_at_ms for the registered worker.
workers_capability_key
Worker capability index.
workers_index_key_ns
ff:idx:{namespace}:workers — SET index of live worker_instance_ids for the namespace. list_workers enumerates this.