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

Andrey Gura commented on IGNITE-1016:
-------------------------------------

See patch [^ignite-1016.patch].

The following changes are made:

# {{FairAffinityFunction}} has {{excludeNeighbors}} and {{backupFilter}} now. 
It allows to exclude backup nodes on the same host or exclude nodes that don't 
satisfy to provided filter (similar to {{RendezvousAffinityFunction}}).
# Warning message added to both {{FairAffinityFunction}} and 
{{RendezvousAffinityFunction}} functions. This message prints out in case when 
topology size is less then backups configured. In this case 
{{excludeNeighbors}} flag is ignored. Javadoc updated.
# Javadoc about relation between {{excludeNeighbors}} flag and {{backupFilter}} 
property fixed for {{RendezvousAffinityFunction}} and updated for 
{{FairAffinityFunction}}.
# Unit-test are added.

> Add excludeNeighbors and backupFilter to FairAffinityFunction
> -------------------------------------------------------------
>
>                 Key: IGNITE-1016
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1016
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-4
>            Reporter: Valentin Kulichenko
>            Assignee: Andrey Gura
>              Labels: Usability
>             Fix For: ignite-1.4
>
>         Attachments: ignite-1016.patch
>
>
> These properties are currently available only for 
> {{RendezvousAffinityFunction}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to