ListStreams: an ExclusiveStartStreamArn that is not a stream ARN answers "Invalid stream ARN format", where DynamoDB answers Invalid StreamArn or a length fault
I maintainer di solito rispondono entro 4 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 76/100
Direzione di ricerca
Inizia da parse_stream_arn in crates/storage/src/util/arn.rs e segui come ListStreams convalida ExclusiveStartStreamArn. Confronta gli errori esistenti con le misurazioni DynamoDB dell’issue; aggiungi o individua test per le forme ARN malformate e i valori più corti di 37 caratteri. Il lavoro è completato quando entrambi i casi restituiscono gli errori di convalida compatibili con DynamoDB indicati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What ExtendDB does
parse_stream_arn in crates/storage/src/util/arn.rs refuses a start ARN it cannot read with Invalid stream ARN format: <value>. ListStreams gives that sentence for a table ARN and for a value of fewer than 37 characters.
Measured at 9234b54ac of #830 on 2026-11-07, SQLite and PostgreSQL, on the caller's account:
ExclusiveStartStreamArn |
ExtendDB |
|---|---|
arn:aws:dynamodb:us-east-1:123456789012:table/pq830-probe |
ValidationException: Invalid stream ARN format: arn:aws:dynamodb:us-east-1:123456789012:table/pq830-probe |
| the same table ARN with U+0000 in the table segment | Invalid stream ARN format: <value> |
xyz |
Invalid stream ARN format: xyz |
x<U+0000>y |
Invalid stream ARN format: x<U+0000>y |
What DynamoDB does
Measured in us-east-1 on 2026-11-06, with SDK parameter validation off:
ExclusiveStartStreamArn |
DynamoDB |
|---|---|
| a table ARN of the caller's account, with or without U+0000 in the table segment | ValidationException: Invalid StreamArn |
xyz and x<U+0000>y |
ValidationException: 1 validation error detected: Value at 'exclusiveStartStreamArn' failed to satisfy constraint: Member must have length greater than or equal to 37 |
Suggested fix
Answer Invalid StreamArn for a start ARN that is not a stream ARN, and check the minimum length of 37 characters before the shape. The maximum length, and the order of these checks against Limit, were not measured.
Related: #621, #830.
- Lingua principale
- Rust
- Stelle
- 517
- Fork
- 60
- Merge medio
- 5g 3h
- PR unite (30g)
- 79
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ExtendDB/extenddb
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 4 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 4 giorni
-
tests: two race tests share one boto3 client across threads and failed with TLSV1_ALERT_DECODE_ERRORApertaci:stability
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 4 giorni
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 4 giorni
-
storage-sqlite: a restore slot test checks the slot before the copy frees itForse già presa @Dodothereal l’ha presa oggi. Apertaci:stability sqlite
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di ExtendDB/extenddb
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
bug order-flow studies ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
userFRM/egui-charts#2417 ·
I maintainer di solito rispondono entro 1 giorno
-
In a plain-text message, Font, Font Size, Font Color and Text Highlight Color stay liveForse già presa @ragelfundionctrumnar l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
UCS-Care-Group/mailcraft#862 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
smoltcp-rs/smoltcp#1243 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno