[
https://issues.apache.org/jira/browse/IGNITE-12209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940904#comment-16940904
]
Nikolay Izhikov commented on IGNITE-12209:
------------------------------------------
> I would add try ... catch block to avoid issues.
We should wrap every execution of every method to try catch blocks if we
follow this kind of logic.
> Writing a code on assumption what this will not happen is bad.
> In fact, both can fail if something will change if future in underlying
> implementation.
What, exactly, "will not happen"?
execution of {{size()}} can't fail because of Collection contract.
If it throws an exception it a bug that will lead to specific system view error.
> Transaction system view
> -----------------------
>
> Key: IGNITE-12209
> URL: https://issues.apache.org/jira/browse/IGNITE-12209
> Project: Ignite
> Issue Type: Sub-task
> Affects Versions: 2.7.6
> Reporter: Nikolay Izhikov
> Assignee: Nikolay Izhikov
> Priority: Major
> Labels: IEP-35
> Fix For: 2.8
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> IGNITE-12145 finished
> We should add transactions to the system views.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)