[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-11-24 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15694736#comment-15694736 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-11-24 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15694664#comment-15694664 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-11-24 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15694066#comment-15694066 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-11-24 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15694063#comment-15694063 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-11-24 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15694027#comment-15694027 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-10-18 Thread Shalin Shekhar Mangar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15587088#comment-15587088 ] Shalin Shekhar Mangar commented on SOLR-9512: - bq. Case 6: do i understand it right that we

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-10-17 Thread Christine Poerschke (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15583374#comment-15583374 ] Christine Poerschke commented on SOLR-9512: --- Thanks Shalin and Noble for analysing and

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-10-14 Thread Shalin Shekhar Mangar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15576189#comment-15576189 ] Shalin Shekhar Mangar commented on SOLR-9512: - Noble and I discussed this offline. Here is a

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-21 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509487#comment-15509487 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-21 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15509483#comment-15509483 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-20 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506675#comment-15506675 ] Noble Paul commented on SOLR-9512: -- Does it make any sense to have the explicit flag

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-20 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506575#comment-15506575 ] Alan Woodward commented on SOLR-9512: - OK, have reverted. For the moment, I'll set

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-20 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506551#comment-15506551 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-20 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506552#comment-15506552 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-20 Thread Christine Poerschke (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15506019#comment-15506019 ] Christine Poerschke commented on SOLR-9512: --- Hi [~romseygeek] and [~noble.paul] - am only now

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-20 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505956#comment-15505956 ] Noble Paul commented on SOLR-9512: -- Let's first discuss what is the fix and don't rush into solutions >

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-20 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505951#comment-15505951 ] Alan Woodward commented on SOLR-9512: - OK, but lets deal with that in a separate issue, as I think it's

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-20 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505858#comment-15505858 ] Noble Paul commented on SOLR-9512: -- bq.The invalidation clause above is only called when the request was

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-20 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505849#comment-15505849 ] Alan Woodward commented on SOLR-9512: - bq. because the new leader is not elected yet The invalidation

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-19 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15505419#comment-15505419 ] Noble Paul commented on SOLR-9512: -- bq. How so? You invalidate the cache if the first server did not

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-19 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15504502#comment-15504502 ] Alan Woodward commented on SOLR-9512: - bq. The patch contains way more changes than you mentioned. I

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-19 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15504227#comment-15504227 ] Noble Paul commented on SOLR-9512: -- The following is not the way we should invalidate the cache. {code}

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-19 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15504167#comment-15504167 ] Noble Paul commented on SOLR-9512: -- [~romseygeek] The patch contains way more changes than you mentioned.

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-19 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503651#comment-15503651 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-19 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503653#comment-15503653 ] ASF subversion and git services commented on SOLR-9512: --- Commit

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-19 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15503044#comment-15503044 ] Noble Paul commented on SOLR-9512: -- bq.Looking at HttpSolrCall it appears that it's only used in /select

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-19 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502871#comment-15502871 ] Noble Paul commented on SOLR-9512: -- bq. The old leader is down, a new leader has been selected, but the

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-19 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502696#comment-15502696 ] Alan Woodward commented on SOLR-9512: - Right, there are two scenarios: 1. The leader is down, and

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-17 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498680#comment-15498680 ] Noble Paul commented on SOLR-9512: -- So in your solution here is what happens # Instead of just passing

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-17 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498631#comment-15498631 ] Alan Woodward commented on SOLR-9512: - (apologies for the terrible metaphor there, it's early on a

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-17 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498629#comment-15498629 ] Alan Woodward commented on SOLR-9512: - It's kicking the can to a live server, though, which will be

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-17 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498506#comment-15498506 ] Noble Paul commented on SOLR-9512: -- bq. there is a leader, it's just that we locally have the wrong one

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-17 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498495#comment-15498495 ] Alan Woodward commented on SOLR-9512: - I don't think so - there *is* a leader, it's just that we

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-17 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498496#comment-15498496 ] Alan Woodward commented on SOLR-9512: - I don't think so - there *is* a leader, it's just that we

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-17 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498485#comment-15498485 ] Noble Paul commented on SOLR-9512: -- It's just hiding the problem. The fact that there is no leader for

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-16 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15495751#comment-15495751 ] Alan Woodward commented on SOLR-9512: - Having played with this a bit, I think adding extra retry logic

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-15 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15493315#comment-15493315 ] Noble Paul commented on SOLR-9512: -- * Catch the Connectionrefused Exception * Check how old is the state.

[jira] [Commented] (SOLR-9512) CloudSolrClient's cluster state cache can break direct updates to leaders

2016-09-14 Thread Alan Woodward (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15490788#comment-15490788 ] Alan Woodward commented on SOLR-9512: - Possibly related: SOLR-9090, SOLR-6312. I think the best case