lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-10769) Allow nodeAdded / nodeLost events to report multiple nodes in one event.
Date Tue, 22 Aug 2017 19:43:00 GMT

     [ https://issues.apache.org/jira/browse/SOLR-10769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrzej Bialecki  updated SOLR-10769:
-------------------------------------
    Attachment: SOLR-10769.patch

This patch modifies NodeAddedTrigger / NodeLostTrigger so that they generate single events
for multiple nodeName-s that caused events within the last {{waitFor}} interval. Consequently,
the "nodeName" event property has been renamed to "nodeNames" and its value is a List<String>
of node names.

All tests are passing with these changes.

> Allow nodeAdded / nodeLost events to report multiple nodes in one event.
> ------------------------------------------------------------------------
>
>                 Key: SOLR-10769
>                 URL: https://issues.apache.org/jira/browse/SOLR-10769
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 7.1
>
>         Attachments: SOLR-10769.patch
>
>
> I think we should consider collapsing multiple nodeAdded / nodeLost events, ie. generate
a single event with information about multiple node names, if there were multiple changes
to the cluster in a short time.
> Processing a single event that records N changes could help us to react faster to cluster
changes than processing N events each with a single change, and with {{waitFor}} in between.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message