You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PersistedCounter and MonotonicallyIncreasingCounter are used as types for counters that are allowed to rollover and counters that are not allowed to rollover.
This implementation was done in such a way that it allowed the underlying counter to rollover but would systematically return an error once the counter value reached its maximum value due to this check : VerifyOrReturnError(MonotonicallyIncreasingCounter<T>::GetValue() < mNextEpoch, CHIP_ERROR_INTERNAL);
Description
PersistedCounter
andMonotonicallyIncreasingCounter
are used as types for counters that are allowed to rollover and counters that are not allowed to rollover.This implementation was done in such a way that it allowed the underlying counter to rollover but would systematically return an error once the counter value reached its maximum value due to this check :
VerifyOrReturnError(MonotonicallyIncreasingCounter<T>::GetValue() < mNextEpoch, CHIP_ERROR_INTERNAL);
See #33174 for the changes.
The text was updated successfully, but these errors were encountered: