Do not use ByteBufferInput 04/111004/4
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Mar 2024 07:05:59 +0000 (08:05 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 25 Mar 2024 07:45:56 +0000 (08:45 +0100)
commit9d980ed146bc4a7b5eede803b9d2450afb3c421f
tree7d19b392a9ff71566bdf8713e3721adbaa5707b1
parent88a1e0bc7269500b63f519e20145ae6f751485f1
Do not use ByteBufferInput

ByteBufferInput ends up calling ByteBuffer.put() in readAscii(). Work
this around by integrating through InputStream. Not exactly nice, but
the best we can do right now.

JIRA: CONTROLLER-2109
Change-Id: I182c3cefb97ada0cd9fdc2b7440256f38341df5a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
atomix-storage/src/main/java/io/atomix/utils/serializer/KryoJournalSerdes.java