Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Jared Casey
Jared CaseyReporter
Jared Casey
Jared CaseyStory Points
1
Fix versions
Priority
Instabug
Open Instabug
Sentry
Sentry
Zendesk Support
Zendesk Support
Created April 9, 2024 at 4:23 PM
Updated April 10, 2024 at 3:05 PM
Resolved April 10, 2024 at 3:05 PM
It is possible (although a bug...that is being fixed) to receive a configuration that contains an empty vBucketMap. Currently the SDK does not ignore these configurations which leaves the SDK susceptible to crashing if operations are attempted prior to updating the config. Specifically, floating point exceptions due to modulus operations w/ 0 in the denominator have been seen in wrapper SDKs (see code references here and here).
Lets add checks in when updating configuration to ignore configs that meet the condition: config.vbmap && config.vbmap->size() == 0.