shishkovilja commented on code in PR #12581:
URL: https://github.com/apache/ignite/pull/12581#discussion_r2619695332
##########
modules/core/src/main/java/org/apache/ignite/internal/direct/DirectMessageReader.java:
##########
@@ -372,13 +373,24 @@ public ByteBuffer getBuffer() {
@Override public <C extends Collection<?>> C
readCollection(MessageCollectionItemType itemType) {
DirectByteBufferStream stream = state.item().stream;
- C col = stream.readCollection(itemType, this);
+ C col = stream.readList(itemType, this);
lastRead = stream.lastFinished();
return col;
}
+ /** {@inheritDoc} */
+ @Override public <SET extends Set<?>> SET
readSet(MessageCollectionItemType itemType) {
+ DirectByteBufferStream stream = state.item().stream;
+
+ SET set = stream.readSet(itemType, this);
Review Comment:
```suggestion
SET set = stream.readCollection(itemType, this, true);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]