Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

wait_until(:table_not_exists… shows an error for a non existing table

Aperta
#3,190 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
aws, ruby
Ambito
api, cloud, databases

Direzione di ricerca

Inizia dal punto di ingresso Aws::DynamoDB::Client#wait_until e riproduci il caso table_not_exists dell’issue. Segui la gestione di ResourceNotFoundException quando manca una tabella, quindi verifica che il waiter restituisca nil senza mostrare un errore del client.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature-request
Describe the bug

When I call Aws::DynamoDB::Client.new.wait_until(:table_not_exists, table_name: 'this_does_not_exist')

then I see a client error

[Aws::DynamoDB::Client 400 0.004513 0 retries] describe_table(table_name:"this_does_not_exist") Aws::DynamoDB::Errors::ResourceNotFoundException Cannot do operations on a non-existent table

IMHO this is unexpected behavior. When I tell the client to wait until a table does not exist (e.g. after a delete call) and it doesnt exist, it should just silently proceed.

Regression Issue
  • Select this option if this issue appears to be a regression.
Expected Behavior

Just return nil, do not show a DynamoDB Client error

Current Behavior

Shows client error.

Reproduction Steps

Aws::DynamoDB::Client.new.wait_until(:table_not_exists, table_name: 'this_does_not_exist')

Possible Solution

No response

Additional Information/Context

No response

Gem name ('aws-sdk', 'aws-sdk-resources' or service gems like 'aws-sdk-s3') and its version

aws-sdk-ruby

Environment details (Version of Ruby, OS environment)

latest, latest macOS

Lingua principale
Ruby
Stelle
3.7k
Fork
1.2k
Merge medio
1g 16h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws/aws-sdk-ruby

Tutte le issue di aws/aws-sdk-ruby

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.