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
ByteBufs are shared between many sessions and threads. Because if this it is important that none of these session change the readerIndex of the shared buffer, and when changing the readerIndex can not be avoided, a duplicate() must be made.
In most cases this can be fixed by using the .getX() methods instead of the .readX() versions.
A PR is on its way.
The text was updated successfully, but these errors were encountered:
…ged (#832)
DebugUtils.payload2Str set the readerIndex to the readableBytes, witch
was simply wrong. Utils.readBytesAndRewind was unused and thus removed.
SegmentedPersistentQueueSerDes use of readBytes (that changes the
readerIndex) was changed to getBytes which does not change the readerIndex.
ByteBufs are shared between many sessions and threads. Because if this it is important that none of these session change the
readerIndex
of the shared buffer, and when changing the readerIndex can not be avoided, aduplicate()
must be made.In most cases this can be fixed by using the
.getX()
methods instead of the.readX()
versions.A PR is on its way.
The text was updated successfully, but these errors were encountered: