v0.34.0_1
This commit is contained in:
1 parent
9b3d6731cc
commit
00f29f92c8
68 files changed
+2599
-513
No files matched your search
Vendored
+7
@@ -201,6 +201,9 @@ struct ColdFile {
|
||||
#[serde(default)]
|
||||
vary: Vec<String>,
|
||||
revision: u64,
|
||||
/// 0 denotes legacy/unscoped entries; production vhosts require an exact match.
|
||||
#[serde(default)]
|
||||
scope_revision: u64,
|
||||
scope: String,
|
||||
#[serde(default = "default_cache_scheme")]
|
||||
scheme: String,
|
||||
@@ -296,6 +299,7 @@ struct ColdStore {
|
||||
struct ColdDraft {
|
||||
key: Key,
|
||||
revision: u64,
|
||||
scope_revision: u64,
|
||||
generation: u64,
|
||||
scope_generation: u64,
|
||||
key_generation: u64,
|
||||
@@ -321,6 +325,9 @@ struct Store {
|
||||
sequence: u64,
|
||||
generation: u64,
|
||||
revision: u64,
|
||||
/// Current persisted administrative config revision. Distinct from cache
|
||||
/// representation revision: operational saves do not evict data.
|
||||
control_revision: u64,
|
||||
scope_generations: HashMap<String, u64>,
|
||||
key_generations: HashMap<Key, u64>,
|
||||
domains: BTreeMap<(String, String), DomainCounters>,
|
||||
|
||||
Vendored
+2
@@ -55,6 +55,8 @@ pub struct Cache {
|
||||
revision: AtomicU64,
|
||||
cold: Arc<Mutex<ColdStore>>,
|
||||
tier_settings: Mutex<Settings>,
|
||||
/// Per-vhost content compatibility used by persisted COLD metadata.
|
||||
scope_revisions: Mutex<HashMap<String, u64>>,
|
||||
data_root: Option<PathBuf>,
|
||||
cold_tx: Option<mpsc::Sender<ColdCommand>>,
|
||||
cold_delete_fallbacks: Arc<Semaphore>,
|
||||
|
||||
Reference in new issue
Block a user