Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check size of arr before indexing into it #200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ewollesen
Copy link

!!! Please consider this just an rough attempt, proper investigation should be made. !!!

Errors were detected when arr was undefined, and this code attempted to index
arr[0], which of course produced an exception that caused jellyfish to
restart, and customers reported 504 (gateway timeout) errors in that
time. Apparently all of the jellyfish instances were rebooting, presumably do
to this issue..?

Slack link:
https://tidepoolteam.slack.com/archives/C09AWCB4Y/p1709042338637789

Sumologic: https://service.us2.sumologic.com/ui/#/search/create?id=dC35xRBPVUhc23bvxpUEUqi8S0AujosStdg239RM

Errors were detected when arr was undefined, and this code attempted to index
arr[0], which of course produced an exception that caused jellyfish to
restart, and customers reported 504 (gateway timeout) errors in that
time. Apparently all of the jellyfish instances were rebooting, presumably do
to this issue..?

Slack link:
https://tidepoolteam.slack.com/archives/C09AWCB4Y/p1709042338637789

Sumologic: https://service.us2.sumologic.com/ui/#/search/create?id=dC35xRBPVUhc23bvxpUEUqi8S0AujosStdg239RM
@ewollesen ewollesen force-pushed the eric/undefined-array-indexing-fix branch from f8c4200 to faefeca Compare February 27, 2024 15:40
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