[Bug]: CloudWatch Logs Large Query Scenario - Offset Bug

Aperta
#7,873 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@rlhagerm ci sta già lavorando.

Dal 27/4/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Expected behavior

Large query should not orphan any logs.

Actual behavior

This line https://github.com/awsdocs/aws-doc-sdk-examples/blob/ac9d32f046f9485149cf47a2348bd2c396e25fdd/javascriptv3/example_code/cloudwatch-logs/scenarios/large-query/cloud-watch-query.js#L77

bumps the ms by 1 for the next query. But, if the logs hit the 10k limit before exhausting all of the logs for that ms, those logs will be lost in the query.

Steps to reproduce
Send 10,001 logs where log 10,000 and log 10,001 both share an identical timestamp. Maybe. Not sure if that will work but hopefully it explains the problem.
Logs / stacktrace (if applicable)

Which SDK were you using?

.NET

Which OS were you using?

macOS

SDK version

No response

OS version

No response

Lingua principale
Java
Stelle
10.5k
Fork
5.8k
Merge medio
2g 21h
PR unite (30g)
30

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 awsdocs/aws-doc-sdk-examples

Tutte le issue di awsdocs/aws-doc-sdk-examples

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.