You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bump version to 0.8.0-prerelease-1, merge DB migrations for 0.8.0. (#3478)
Also, fix taskprov_peer_aggregators.role help text.
(Previously, the code & the schema disagreed on whether this was our or
our peer's role; go with the code's conception that this is our peer's
role.)
role AGGREGATOR_ROLE NOT NULL, -- the role of this peer aggregator
47
+
verify_key_init BYTEANOT NULL, -- the preshared key used for VDAF verify key derivation.
47
48
48
49
-- Parameters applied to every task created with this peer aggregator.
49
-
tolerable_clock_skew BIGINTNOT NULL, -- the maximum acceptable clock skew to allow between client and aggregator, in seconds
50
-
report_expiry_age BIGINT, -- the maximum age of a report before it is considered expired (and acceptable for garbage collection), in seconds. NULL means that GC is disabled.
51
-
collector_hpke_config BYTEANOT NULL, -- the HPKE config of the collector (encoded HpkeConfig message)
50
+
tolerable_clock_skew BIGINTNOT NULL, -- the maximum acceptable clock skew to allow between client and aggregator, in seconds
51
+
report_expiry_age BIGINT, -- the maximum age of a report before it is considered expired (and acceptable for garbage collection), in seconds. NULL means that GC is disabled.
52
+
collector_hpke_config BYTEANOT NULL, -- the HPKE config of the collector (encoded HpkeConfig message)
52
53
53
54
-- creation/update records
54
55
created_at TIMESTAMPNOT NULL, -- when the row was created
-- Specifies the possible state of a collection job.
326
343
CREATETYPECOLLECTION_JOB_STATEAS ENUM(
@@ -345,6 +362,8 @@ CREATE TABLE collection_jobs(
345
362
helper_aggregate_share BYTEA, -- the helper's encrypted aggregate share (HpkeCiphertext, only if in state FINISHED)
346
363
leader_aggregate_share BYTEA, -- the leader's unencrypted aggregate share (opaque VDAF message, only if in state FINISHED)
347
364
365
+
step_attempts BIGINTNOT NULL DEFAULT 0, -- the number of attempts to step the collection job without making progress, regardless of whether the lease was successfully released or not
366
+
348
367
lease_expiry TIMESTAMPNOT NULL DEFAULT TIMESTAMP'-infinity', -- when lease on this collection job expires; -infinity implies no current lease
349
368
lease_token BYTEA, -- a value identifying the current leaseholder; NULL implies no current lease
350
369
lease_attempts BIGINTNOT NULL DEFAULT 0, -- the number of lease acquiries since the last successful lease release
0 commit comments