Skip to content

fix(engine): answer missing restore override members as DynamoDB does - #1365

Open
LeeroyHannigan wants to merge 11 commits into
fix/1326-cross-region-restorefrom
fix/1348-override-null-members
Open

LeeroyHannigan wants to merge 11 commits into
fix/1326-cross-region-restorefrom
fix/1348-override-null-members

Conversation

@LeeroyHannigan

@LeeroyHannigan LeeroyHannigan commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Changes since the last review

The branch is at 13f6a213c0. These commits sit on ede255504, the head that the review of 2 Dec 2026 read:

  • 9d760b41e merges fix(engine): answer a restore from another region as DynamoDB does #1359 at c15ba3632, which holds main of 25 Nov and the heads of the PRs below this one of that day. The conflicts:
  • fc0af5bfa: the null clauses list the entries of LocalSecondaryIndexOverride before those of GlobalSecondaryIndexOverride, as DynamoDB does (measured on 25 November 2026). The engine table and the wire table have that row, and with the old order the engine row fails. Both tables also have the row of a null ReadCapacityUnits (measured on 25 November 2026).
  • d5cf6fab6 ends the doc of capacity_units at the refusal of the parse.
  • db0571dc5: the table of the checks that the WebAssembly build does not make lists the new clauses. The VectorIndexOverride rows of docs/differences-from-dynamodb.md and docs/dynamodb-limits.md say that a null or an empty list is no override.
  • 296204d71 merges fix(engine): answer a restore from another region as DynamoDB does #1359 at 697a46709, with no conflict.
  • 07570f1f0c merges fix(engine): answer a restore from another region as DynamoDB does #1359 at bc4e812bfc, which holds fix(engine): answer a missing or malformed BackupArn as DynamoDB does #1327's pushed head and main of 2 Dec. The conflicts:
  • bb38573599 lists at most 10 clauses for missing members, as DynamoDB does (measured on 3 December 2026). Before, 100000 entries of {} got an answer of 37 MB. validate_name_member_after keeps the first 10 clauses, and missing_members stops at 10 paths. The PartiQL request checks had the same limit as a private constant, and both now read MAX_CLAUSES in extenddb_core::validation. The engine table of the restore order and _OVERRIDE_MEMBER_ROWS get seven rows measured on 3 December 2026. Three rows test the limit. The others send a null IndexName, an SSEType of "" and of kms, and a ReadCapacityUnits of -1e30.
  • 3b921c0dd3: docs/manuals/14-backup-and-restore.md says that a null or an empty VectorIndexOverride is no override. The overrides row of docs/differences-from-dynamodb.md says that a list with an entry of another JSON kind, such as [[]], gets SerializationException.
  • ab4adea834 merges fix(engine): answer a restore from another region as DynamoDB does #1359 at 6f959528e4, with no conflict.
  • 13f6a213c0 builds one row of the restore order test with std::slice::from_ref, which clippy 1.97 asks for.
  • The description rewrites the VectorIndexOverride sentence, and gives the conflicts and the test runs at the new head.

What

RestoreTableFromBackup now answers these faults inside an override as DynamoDB does. Each fault is a clause of the request's one validation message.

  • A missing WriteCapacityUnits or ReadCapacityUnits in ProvisionedThroughputOverride gets Value null at '<path>' failed to satisfy constraint: Member must not be null. The path is provisionedThroughputOverride.writeCapacityUnits or provisionedThroughputOverride.readCapacityUnits, and the WriteCapacityUnits clause comes first. A member sent as null gets the same clause.
  • The restore reads a capacity with a fraction as its integer part. 0.5 gets Value '0' at 'provisionedThroughputOverride.readCapacityUnits' failed to satisfy constraint: Member must have value greater than or equal to 1.
  • An SSEType outside [AES256, KMS] in SSESpecificationOverride gets the enum clause at sSESpecificationOverride.sSEType.
  • A GlobalSecondaryIndexOverride or LocalSecondaryIndexOverride entry without IndexName, KeySchema or Projection gets a Value null clause for each missing member, in that order. A member sent as null is missing. The paths are globalSecondaryIndexOverride.1.member.indexName and the like. The entries of the LSI list come first.
  • The message lists at most 10 clauses, and its count then says 10.
  • "VectorIndexOverride": [] is no override. A list with entries, such as [null] or [{}], keeps the refusal of ExtendDB. A value that is not a list, such as {}, and a list with an entry of another JSON kind, such as [[]], get SerializationException.

The throughput, billing mode and SSE clauses come before the clauses of TargetTableName, and the index override clauses come after them. All of them come after the account and shape answers for the BackupArn and after the length text of the name. They come before the check of the backup id.

Before this change, the restore answered a missing member with a SerializationException. It checked the SSE type only after it read the backup, and it refused "VectorIndexOverride": [].

check_restore_name_and_overrides in crates/engine/src/backup.rs adds the clauses to the message of validate_name_member_after. IndexOverrides::missing_members in crates/engine/src/backup/overrides.rs finds the missing index members. validation_errors in crates/core prints the value of a Member must not be null clause as null. The constraint text is the new constant MEMBER_NOT_NULL in extenddb_core::error. validation_errors and the PartiQL request checks read it, and they read the clause limit MAX_CLAUSES in extenddb_core::validation.

The table in docs/webassembly.md of the checks that the WebAssembly build does not make, docs/differences-from-dynamodb.md, docs/dynamodb-limits.md and docs/manuals/14-backup-and-restore.md describe these answers.

The base of this PR is #1359.

Why

These are DynamoDB's answers, measured in us-east-1 on 21 November 2026 with signed requests. Each request went out twice and got the same answer both times. No backup exists. Unless the text says otherwise, the BackupArn names the caller's account and the target name is valid. Each answer with clauses is a ValidationException.

NULL(<path>) is Value null at '<path>' failed to satisfy constraint: Member must not be null.

Override members DynamoDB ExtendDB on #1359
"ProvisionedThroughputOverride": {"ReadCapacityUnits": 1} 1 error: NULL(provisionedThroughputOverride.writeCapacityUnits) SerializationException
"ProvisionedThroughputOverride": {} 2 errors: NULL for writeCapacityUnits, then for readCapacityUnits SerializationException
"ProvisionedThroughputOverride": {"ReadCapacityUnits": 0} 2 errors: NULL for writeCapacityUnits, then the readCapacityUnits range clause 1 error, the range clause
"BillingModeOverride": "PAY" with {"ReadCapacityUnits": 1} 2 errors: NULL for writeCapacityUnits, then the billingModeOverride enum clause 1 error, the enum clause
"GlobalSecondaryIndexOverride": [{}] 3 errors: NULL for indexName, keySchema and projection of globalSecondaryIndexOverride.1.member SerializationException
"GlobalSecondaryIndexOverride": [{"IndexName": "gsi"}] 2 errors: NULL for keySchema and projection SerializationException
"LocalSecondaryIndexOverride": [{}] 3 errors, under localSecondaryIndexOverride.1.member SerializationException
"SSESpecificationOverride": {"SSEType": "BAD"} 1 error: the sSESpecificationOverride.sSEType enum clause BackupNotFoundException
{"ReadCapacityUnits": 0.5, "WriteCapacityUnits": 1}, backup id bad 1 error: Value '0' at provisionedThroughputOverride.readCapacityUnits Invalid Request: BackupArn is not valid
"VectorIndexOverride": [] BackupNotFoundException the refusal of ExtendDB

With the target name a b, DynamoDB adds the pattern clause of targetTableName in the order that the What section gives. ExtendDB on #1359 leaves out the new clauses. With the backup id bad, DynamoDB gives the same clauses. ExtendDB on #1359 answers Invalid Request: BackupArn is not valid when the only fault is a missing member or the SSE type.

The comparison covers 181 requests. Of the 143 requests in scope, this PR gives DynamoDB's answer to 143, and #1359 to 105. The other 38 requests have another JSON kind in an override member or an entry in VectorIndexOverride. This PR and #1359 give the same answer to each, and 34 of them match DynamoDB. The 4 others have a VectorIndexOverride entry. DynamoDB answers the length clause of its index name. ExtendDB answers its refusal, the name's clause alone or the backup id text, with and without this PR.

DynamoDB gave these answers on 25 November and 3 December 2026, measured the same way. The ExtendDB columns of the rows of 3 December come from SQLite servers built from 6f959528e4 and 13f6a213c0.

Override members Date DynamoDB ExtendDB on #1359 ExtendDB with this PR
"GlobalSecondaryIndexOverride": [{}] and "LocalSecondaryIndexOverride": [{}] 25 Nov 6 errors: NULL for indexName, keySchema and projection of localSecondaryIndexOverride.1.member, then of globalSecondaryIndexOverride.1.member SerializationException as DynamoDB
"ProvisionedThroughputOverride": {"ReadCapacityUnits": null, "WriteCapacityUnits": 1} 25 Nov 1 error: NULL(provisionedThroughputOverride.readCapacityUnits) SerializationException as DynamoDB
"ProvisionedThroughputOverride": {"ReadCapacityUnits": 1.5, "WriteCapacityUnits": 1} 25 Nov BackupNotFoundException SerializationException SerializationException
"GlobalSecondaryIndexOverride": [{"IndexName": null, ...}] with a valid KeySchema and Projection 3 Dec 1 error: NULL(globalSecondaryIndexOverride.1.member.indexName) SerializationException as DynamoDB
"SSESpecificationOverride": {"SSEType": ""}, and the same with kms 3 Dec 1 error: the sSESpecificationOverride.sSEType enum clause BackupNotFoundException as DynamoDB
{"ReadCapacityUnits": -1e30, "WriteCapacityUnits": 1} 3 Dec 1 error: Value '-9223372036854775808' at provisionedThroughputOverride.readCapacityUnits SerializationException as DynamoDB
"GlobalSecondaryIndexOverride" with 4, 50 or 1000 entries of {} 3 Dec 10 errors: the three NULL clauses of entries 1 to 3, then NULL for indexName of entry 4 SerializationException as DynamoDB
the same with 4 entries and the target name a b 3 Dec 10 errors: the pattern clause of targetTableName, then 9 NULL clauses 1 error, the pattern clause as DynamoDB
the same with 4 entries and "ProvisionedThroughputOverride": {} 3 Dec 10 errors: the two throughput NULL clauses, then 8 NULL clauses of the entries SerializationException as DynamoDB

Fixes #1348

Testing done

At 13f6a213c0, each cargo command with --locked:

  • cargo +1.97.0 test -p extenddb-core -p extenddb-engine -p extenddb-server --lib --no-fail-fast: core 1260 passed and 1 ignored, engine 983 passed, server 524 passed. On this host 5 backup_store::tests of the server fail on every branch, main included, because another user owns /local/home.
  • cargo +1.97.0 clippy of the core, engine, server and storage crates with --all-targets -- -D warnings, the same command with --features extenddb-engine/backup-test-hooks, cargo +1.94.0 check of the four crates with --all-targets, and cargo +1.97.0 fmt --all -- --check are clean.
  • cargo +1.97.0 test -p extenddb-wasm-adapter: the 3 unit tests pass, and the parity test passes all 281 cases of the corpus. The clippy step of the WebAssembly workflow is clean.
  • Against ExtendDB on SQLite built from this head: tests/test_backup_restore_fidelity.py 118 passed and tests/test_authz_cross_account.py 19 passed. pytest --collect-only -q collects tests/ and tests/python with no error.
  • Controls on bb38573599, each with the tests kept: without the cut to 10 clauses in validate_name_member_after, or without the stop at 10 paths in missing_members, a_restore_checks_its_members_in_the_services_order fails. With entry.get(member).is_none() in missing_members, it fails at the null IndexName row.
  • On the merge 9d760b41e, the engine test with the new rows ran with the old order of the two lists. It failed at the row with entries in both lists, where it got the GSI list first.
  • On 21 November 2026, a control reverted the production change and kept the tests. Then 24 of the 36 new engine rows failed, and 21 of the 27 new Python rows failed against a build of fix(engine): answer a restore from another region as DynamoDB does #1359's head.
  • On 21 November 2026, the comparison of 181 requests in Why came from a release build on SQLite. tests/test_backup_restore_fidelity.py passed 95 tests against it. 402 random restore requests went to that build and to fix(engine): answer a restore from another region as DynamoDB does #1359's head. The 161 answers that differ add clauses of this change, in the order above.

Line counts at 13f6a213c0, against #1359's head 6f959528e4: production +138 -39, tests +276 -48, docs +4 -4. The test files, the parity corpus and the lines after #[cfg(test)] and mod tests count as tests, and .md files as docs.

git merge-tree shows no conflict with main at c8e66fb568. Of the 106 open PRs that change the files of this stack, these get a new conflict from this PR:

capacity_units reads a fraction as #1167 does in deserialize_capacity_units. Whichever of the two merges second should call deserialize_capacity_units, so that one copy remains. On this base, a fraction of 1 or more, such as 1.5, passes the clause check, and so does a figure above the 64-bit range. DynamoDB accepts 1.5 there and answers BackupNotFoundException for a backup that does not exist (measured on 25 November 2026). Here the parse refuses both with a SerializationException until #1167 changes the parse.

Not in this PR:

  • The IndexName clauses of an entry, which DynamoDB lists in the same message as its missing members (measured on 25 November 2026, RestoreTableFromBackup checks an override value before the BackupArn and the TargetTableName length, where DynamoDB checks those first #1271). For "GlobalSecondaryIndexOverride": [{"IndexName": "g i", "Projection": {"ProjectionType": "KEYS_ONLY"}}], DynamoDB answers 2 validation errors detected: Value 'g i' at 'globalSecondaryIndexOverride.1.member.indexName' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z0-9_.-]+; Value null at 'globalSecondaryIndexOverride.1.member.keySchema' failed to satisfy constraint: Member must not be null. This PR answers 1 validation error detected: Value null at 'globalSecondaryIndexOverride.1.member.keySchema' failed to satisfy constraint: Member must not be null.
  • The members inside an index override entry, such as the elements of KeySchema, the KeyType and ProjectionType values and the entry's ProvisionedThroughput. These are not measured.
  • The members of a VectorIndexOverride entry (the 4 requests above).
  • The texts of SerializationException (A request member of the wrong JSON type gets serde_json's error text, where the service sends its own #1012).

Checklist

  • I have read CONTRIBUTING.md
  • All tests pass (cargo test --workspace)
  • Code is formatted (cargo fmt --check)
  • Clippy is clean (cargo clippy -- -W clippy::pedantic)
  • I have added or updated tests for new functionality
  • I have updated documentation if behavior changed
  • Breaking changes are noted below (if any)
  • If this changes the wire protocol, Storage trait, auth model, on-disk
    format, or public CLI surface, an RFC has been accepted or is linked
    below. Otherwise, an ADR captures the decision (link below).

ADR / RFC: n/a

Breaking changes

RestoreTableFromBackup answers a missing or null throughput member and a missing member of an index override entry with ValidationException clauses, where it answered SerializationException. The message lists at most 10 clauses. It answers an SSEType outside its enum with its clause before the backup read, where it answered after the read. It accepts "VectorIndexOverride": [] as no override, where it refused it. A client that matches on the old answers sees the new ones. A restore with complete overrides gets the same answer as before.


By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache License 2.0 and I agree to the Developer Certificate of
Origin (DCO). See CONTRIBUTING.md for details.

RestoreTableFromBackup answered a member missing inside an override with
a SerializationException. It checked the SSEType of
SSESpecificationOverride only after it read the backup. It skipped a
capacity figure with a fraction, and it refused an empty
VectorIndexOverride.

DynamoDB lists these faults as clauses of the request's one validation
message (measured in us-east-1 on 21 Nov 2026, each request twice):

- ProvisionedThroughputOverride without WriteCapacityUnits gets
  "Value null at 'provisionedThroughputOverride.writeCapacityUnits'
  failed to satisfy constraint: Member must not be null". A missing
  ReadCapacityUnits gets the same text, after it.
- An index override entry without IndexName, KeySchema or Projection
  gets the same text at 'globalSecondaryIndexOverride.1.member.indexName'
  and the like, in that member order.
- An SSEType of BAD gets "Value 'BAD' at
  'sSESpecificationOverride.sSEType' failed to satisfy constraint:
  Member must satisfy enum value set: [AES256, KMS]".
- DynamoDB reads a ReadCapacityUnits of 0.5 as 0. It gets "Value '0' at
  'provisionedThroughputOverride.readCapacityUnits' failed to satisfy
  constraint: Member must have value greater than or equal to 1".

The throughput, billing mode and SSE clauses come before the clauses of
the TargetTableName, and the index override clauses come after them.
All of them come after the account and the shape of the BackupArn and
after the length text of the name. They come before the check of the
backup id. DynamoDB answers BackupNotFoundException to an empty
VectorIndexOverride when the backup does not exist.

The engine now adds these clauses to the one message, in that order.
The clause of a missing member shows its value as null. An empty
VectorIndexOverride is no override, and any other one keeps the refusal
of ExtendDB. The constraint text of a missing member is now one constant
in extenddb_core::error, which the PartiQL request checks also read.

Fixes #1348.
The new head of fix/1326-cross-region-restore holds main and the new
heads of the three branches below it.

Conflicts:

- crates/core/src/error/mod.rs: the pub use messages::{...} line. This
  branch adds MEMBER_NOT_NULL. On main, #468 added INVALID_STREAM_ARN
  and validation_errors_detected to it. The merge keeps every name.
- backup_requests/pitr.rs: the doc of check_restore_table_name.
  fix/1224-restore-target-name added an Errors section, and this branch
  added the later clauses. The merge keeps both.

In messages.rs, main moved the envelope of validation_errors to
validation_errors_detected. The merge keeps the null value of this
branch for a clause of MEMBER_NOT_NULL in validation_errors.
A restore with an entry without members in both index override lists
got the null clauses of the GSI list first. DynamoDB lists the LSI list
first. GlobalSecondaryIndexOverride [{}] with LocalSecondaryIndexOverride
[{}] gets six clauses: the indexName, keySchema and projection of
localSecondaryIndexOverride.1, then those of
globalSecondaryIndexOverride.1. Measured in us-east-1 on 25 Nov 2026,
each request twice.

missing_members now reads the LSI list first. The engine table and the
wire table have that row, and with the old order the engine row fails.
Both tables also have the row of a null ReadCapacityUnits. It gets the
null clause at provisionedThroughputOverride.readCapacityUnits, as on
DynamoDB (measured on 25 Nov 2026).
The doc ended with "which #1167 changes". A statement about another
open PR in a code comment goes out of date when that PR merges. The
doc now ends at the refusal of the parse.
The README table of the checks that the WebAssembly build does not make
listed two kinds of override clauses before the clauses of the name. It
now also lists the null clause of a missing or null throughput member,
a fraction read as its integer part and the SSEType enum. After the
clauses of the name it lists the null clauses of the index override
entries, the LSI list first.

The rows of VectorIndexOverride in docs/differences-from-dynamodb.md
and docs/dynamodb-limits.md said that ExtendDB refuses every one. They
now say that a null or an empty list is no override. DynamoDB reads the
empty list the same way.
The new head of fix/1326-cross-region-restore splits long sentences in
the BackupArn rows of docs/differences-from-dynamodb.md and
docs/dynamodb-limits.md. No conflict: this branch changes other rows of
those files.

@navareamol navareamol left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the answer to a restore with many index override entries has no limit. A request with 100000 entries of {} (a body of about 300 KB) gets a 36,966,789 byte answer that says "300000 validation errors detected". On a SQLite build of the base (#1359) the same request gets 150 bytes. Has anyone sent a long list of empty entries to DynamoDB to see whether it lists every one or stops at a count?

I think three behaviours have no test and no live measurement. A null member inside ProvisionedThroughputOverride or an index entry counts as missing, and the GSI list's clauses come before the LSI list's. The description says the null case and the both lists case are not measured. I changed entry.get(member).is_none_or(Value::is_null) to entry.get(member).is_none() in missing_members, changed override_member(throughput?, member) to throughput?.get(member), and swapped the two lists, one at a time. The new unit test and the other restore override tests pass each time. Could you measure these two requests on DynamoDB, or take them out of this PR, and add a row for each either way?

The description says git merge-tree shows no conflict with main. On current main (92155f3) it conflicts in crates/core/src/error/mod.rs, crates/engine/src/backup.rs, crates/engine/src/lib.rs and crates/engine/src/partiql/request_checks.rs. The first and last are this PR's: main now exports INVALID_STREAM_ARN and validation_errors_detected on the same pub use line, and moved AT_LEAST_ONE out of request_checks.rs. The CI run here is on the merge with the base branch only, so it did not run main's CodeQL, wasm or wire matrix checks. Could you merge main and update the sentence?

docs/differences-from-dynamodb.md line 160 says VectorIndexOverride is "Refused with ValidationException", and docs/manuals/14-backup-and-restore.md line 1157 says it is refused. With this change an empty list restores. Could you update both lines?

Has SSEType of an empty string or lowercase kms been sent to DynamoDB? Both get the enum clause here, and only BAD is measured. A capacity of -1e30 prints Value '-9223372036854775808' here, and the comment on capacity_units calls that saturation without saying it was measured.

Two description sentences do not match the code. "Any other VectorIndexOverride that is not null keeps the refusal of ExtendDB" holds for [null] and [{}], but {} and [[]] get a SerializationException. "872 engine tests and 516 server unit tests passed" is 871 and 521 on this head with cargo +1.97.0 test --locked -p extenddb-core -p extenddb-engine -p extenddb-server --lib, 0 failed.

I will approve once the null and both lists requests are measured or removed with rows added, main is merged with CI green on it, and the two doc lines are updated.

The new head of fix/1326-cross-region-restore holds the new heads of the
three branches below it and main of 2 Dec. On main, #1521 moved the
WebAssembly section of README.md to docs/webassembly.md, and the PartiQL
request checks read AT_LEAST_ONE from request_limits.rs.

Conflicts:

- README.md: this branch changed the TargetTableName row of the table of
  checks in the WebAssembly section. The merge takes the README of
  fix/1326-cross-region-restore. It makes the same change in
  docs/webassembly.md.
- partiql/request_checks.rs: this branch removed the NOT_NULL constant,
  which it reads from extenddb_core::error now, and main removed
  AT_LEAST_ONE. The merge removes both.
- backup/tests.rs: the doc and the bindings of the restore order test.
  The merge keeps the words and bindings of both sides.

The core test of validate_name_member_after from
fix/1271-restore-check-order gets the later argument that this branch
added.
A restore with many index override entries of {} listed every missing
member. 100000 entries in a body of about 300 KB got an answer of 37
MB. DynamoDB lists the first 10 clauses, and its count says 10. On 3 Dec
2026, 4, 50 and 1000 entries of {} got the same 10 clauses, each request
sent twice. The name's clause and the throughput clauses count
among the 10.

validate_name_member_after now keeps the first 10 clauses, and
missing_members stops at 10 paths. The PartiQL request checks had the
same limit as a private constant. Both now read MAX_CLAUSES in
extenddb_core::validation.

The engine table of the restore order and _OVERRIDE_MEMBER_ROWS get
seven rows measured on 3 Dec 2026. Three rows test the limit. The others
send a null IndexName in a GSI entry, an SSEType of "" and of "kms", and
a ReadCapacityUnits of -1e30. The doc of capacity_units cites that row.
The backup and restore manual still said that every VectorIndexOverride
is refused. A null or an empty one is no override, and the manual now
says so. The overrides row of docs/differences-from-dynamodb.md said
that every list with entries gets a ValidationException. A list with an
entry of another JSON kind, such as [[]], gets a SerializationException,
as a value that is not a list does. The row now says so.
The new head of fix/1326-cross-region-restore gives the service's answer
for a padded backup ARN of another account in the BackupArn row of
docs/differences-from-dynamodb.md. The row named an issue number there.
The merge has no conflict.
Clippy 1.97 refuses the clone that made a one-entry slice in a row of
the restore order test (cloned_ref_to_slice_refs). The row now uses
std::slice::from_ref.
@LeeroyHannigan

Copy link
Copy Markdown
Collaborator Author

@navareamol

  1. Yes, on 3 Dec 2026, each request twice. A restore with 4, 50 or 1000 entries of {} got the same answer, 10 validation errors detected: and the first 10 clauses. They are the three clauses of entry 1, then those of entry 2, and so on. The clause of a bad TargetTableName and the clauses of an empty ProvisionedThroughputOverride count among the 10. bb38573599 keeps the first 10 clauses in validate_name_member_after, and missing_members stops at 10 paths. The PartiQL request checks had the same limit as a private constant. Both now read MAX_CLAUSES in extenddb_core::validation. Without the truncation, or without the stop at 10 paths, the engine test fails.
  2. Both are measured now, with rows. On 25 Nov 2026, a restore with [{}] in both lists got six clauses, the localSecondaryIndexOverride ones first. {"ReadCapacityUnits": null, "WriteCapacityUnits": 1} got Value null at 'provisionedThroughputOverride.readCapacityUnits' failed to satisfy constraint: Member must not be null. On 3 Dec 2026, a GSI entry with "IndexName": null got the same clause at globalSecondaryIndexOverride.1.member.indexName. fc0af5bfae lists the LSI entries first and adds the both-lists row and the null throughput row. bb38573599 adds the null IndexName row. The rows are in the engine table of the restore order and in _OVERRIDE_MEMBER_ROWS. With entry.get(member).is_none() in missing_members, the engine test fails at the null IndexName row. With the two lists in the old order, it fails at the both-lists row.
  3. The branch takes the new head of fix(engine): answer a restore from another region as DynamoDB does #1359 with merges: 07570f1f0c and ab4adea834. That head holds fix(engine): answer a missing or malformed BackupArn as DynamoDB does #1327's pushed head and main of 2 Dec. In crates/engine/src/partiql/request_checks.rs, this PR removed the NOT_NULL constant and main removed AT_LEAST_ONE, so the merge removes both. The pub use line of crates/core/src/error/mod.rs keeps every name of both sides. git merge-tree of the new head 13f6a213c0 with main at c8e66fb568 shows no conflict. The description now gives the conflicts with the open PRs. CI runs when the branch is pushed.
  4. db0571dc55 changed the VectorIndexOverride row of docs/differences-from-dynamodb.md: a null or an empty list is no override. 3b921c0dd3 changes the line of docs/manuals/14-backup-and-restore.md in the same way. The commit also changes the row: a list with an entry of another JSON kind, such as [[]], gets SerializationException. A value that is not a list gets it too.
  5. Yes, on 3 Dec 2026, each request twice. SSEType "" and kms get the enum clause, as here. ReadCapacityUnits -1e30 gets Value '-9223372036854775808'. bb38573599 adds the three rows, and the doc of capacity_units cites the -1e30 row.
  6. The description now says that {} and [[]] get SerializationException. It gives the test counts of the new head 13f6a213c0: core 1260 passed and 1 ignored, engine 983 passed, and server 524 passed. Five backup_store::tests of the server fail on every branch on the host of these runs, main included.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants