rezataroosheh commented on code in PR #13770:
URL: https://github.com/apache/ignite/pull/13770#discussion_r4727333602
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryHandler.java:
##########
@@ -1734,16 +1735,22 @@ private CacheContinuousQueryEntry
transformToEntry(IgniteClosure<CacheEntryEvent
oldVal = null;
}
+ // The transformer result is not a cache value, so the keep binary
flag of the cache does not apply to it.
+ // Keep it binary only if the transformer returned a BinaryObject, as
on the local node.
+ boolean keepBinary = transVal instanceof BinaryObject;
Review Comment:
No worries, thanks for letting me know. It doesn't block me. A user reported
it on the dev list:
https://lists.apache.org/thread/hrr9s73y6v0f853qdt63rb6dh1hjhn3t
The same user reported a few more bugs there, and I fixed the confirmed
ones: IGNITE-29191 and IGNITE-29199 (merged, 2.19), IGNITE-29227 (#13769, which
you merged), this PR, and IGNITE-29241 (#13779). While working on IGNITE-29241,
I found three related bugs and filed IGNITE-29276, IGNITE-29291, and
IGNITE-29292, since I expect the same user to run into them soon.
I know I have many open PRs, so I've paused the drafts (#13779, #13828,
#13830) and won't open new ones until the ready ones are reviewed. Only two
wait on you: this PR and #13639 (IGNITE-29084). The others are with other
reviewers.
On this PR, the open question is JDK-8180450: is `transVal instanceof
BinaryObject` OK here, or would you prefer another approach?
--
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]