You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "tkalkirill (via GitHub)" <gi...@apache.org> on 2023/06/26 07:28:42 UTC
[GitHub] [ignite-3] tkalkirill commented on a diff in pull request #2233: IGNITE-19693 getAll does not preserve order and does not return nulls for missing keys
tkalkirill commented on code in PR #2233:
URL: https://github.com/apache/ignite-3/pull/2233#discussion_r1241745285
##########
modules/client/src/main/java/org/apache/ignite/internal/client/table/ClientKeyValueView.java:
##########
@@ -464,11 +464,12 @@ private HashMap<K, V> readGetAllResponse(ClientSchema schema, ClientMessageUnpac
try {
for (int i = 0; i < cnt; i++) {
- in.unpackBoolean(); // TODO: Optimize (IGNITE-16022).
-
- var tupleReader = new BinaryTupleReader(schema.columns().length, in.readBinaryUnsafe());
- var reader = new ClientMarshallerReader(tupleReader);
- res.put((K) keyMarsh.readObject(reader, null), (V) valMarsh.readObject(reader, null));
+ // TODO: Optimize (IGNITE-16022).
+ if (in.unpackBoolean()) {
Review Comment:
I think yes, this part was done by @ptupitsyn
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org