[
https://issues.apache.org/jira/browse/IGNITE-12209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940816#comment-16940816
]
Nikolay Izhikov commented on IGNITE-12209:
------------------------------------------
[~ascherbakov]
> org.apache.ignite.internal.processors.cache.transactions.IgniteTxState#allEntries
AFAIK call of the {{size}} can't fail.
I've added {{null}} check, because some implementation can return null.
> org.apache.ignite.internal.processors.cache.transactions.IgniteTxState#cacheIds
As I can see, {{cacheIds}} is add only collection.
I've added {{null}} check.
I think we can cache current size of the cache id and simply iterate over
{{cacheIds}} values.
Please, take a look at the current implementation
> 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)