[ 
https://issues.apache.org/jira/browse/IGNITE-16400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485643#comment-17485643
 ] 

Ignite TC Bot commented on IGNITE-16400:
----------------------------------------

{panel:title=Branch: [pull/9771/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9771/head] Base: [master] : No new tests 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6398132&buildTypeId=IgniteTests24Java8_RunAll]

> Deprecate direct references to local services. Fix service proxy.
> -----------------------------------------------------------------
>
>                 Key: IGNITE-16400
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16400
>             Project: Ignite
>          Issue Type: Sub-task
>    Affects Versions: 2.12, 2.11.1
>            Reporter: Vladimir Steshin
>            Assignee: Vladimir Steshin
>            Priority: Major
>             Fix For: 2.13
>
>
> As discussed in the threads related to the main ticket #IGNITE-12464, we 
> deprecate references to local services like
> {code:java}
> IgniteServices#service()
> IgniteServices#services()
> {code}
> and fix behavior of the proxies like
> {code:java}
> serviceProxy(String name, Class<? super T> svcItf, boolean sticky)
> {code}
> so that a proxy is given every time even for local services.
> Reasons in short:
> * Direct references to local services corrupt the service statistics.
> * Direct references to local services bring no real optimization.
> * `serviceProxy()` says 'proxy', '@return Proxy over service'. It should 
> return a proxy and do not variate behavior. Especially depending on user-side 
> settings
> Also, the documentation of service metrics and limitations or local services 
> is going to get improved.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to