Re: [CAUTION] Re: [CAUTION] Re: CDCR Queues API invocation with CloudSolrclient

2019-07-25 Thread Natarajan, Rajeswari
I tried Shawn's suggestion to use SolrQuery Object instead of QT , still it is the same issue. Regards, Rajeswari On 7/24/19, 4:54 PM, "Natarajan, Rajeswari" wrote: Please look at the below test which tests CDCR OPS Api. This has "BadApple" annotation (meaning the test fails intermitt

Re: [CAUTION] Re: CDCR Queues API invocation with CloudSolrclient

2019-07-24 Thread Natarajan, Rajeswari
Please look at the below test which tests CDCR OPS Api. This has "BadApple" annotation (meaning the test fails intermittently) https://github.com/apache/lucene-solr/blob/master/solr/core/src/test/org/apache/solr/cloud/cdcr/CdcrOpsAndBoundariesTest.java#L73 This also is because of sometimes the

Re: CDCR Queues API invocation with CloudSolrclient

2019-07-24 Thread Natarajan, Rajeswari
Btw , the code is copied from solr 7.6 source code. Thanks, Rajeswari On 7/24/19, 4:12 PM, "Natarajan, Rajeswari" wrote: Thanks Shawn for the reply. I am not saying it is bug. I just would like to know how to get the "lastTimestamp" by invoking CluodSolrClient reliabily. Regards

Re: CDCR Queues API invocation with CloudSolrclient

2019-07-24 Thread Natarajan, Rajeswari
Thanks Shawn for the reply. I am not saying it is bug. I just would like to know how to get the "lastTimestamp" by invoking CluodSolrClient reliabily. Regards, Rajeswari On 7/24/19, 3:14 PM, "Shawn Heisey" wrote: On 7/24/2019 3:50 PM, Natarajan, Rajeswari wrote: > Hi, > > Wit

Re: CDCR Queues API invocation with CloudSolrclient

2019-07-24 Thread Shawn Heisey
On 7/24/2019 3:50 PM, Natarajan, Rajeswari wrote: Hi, With the below API , the QueryResponse , sometimes have the "lastTimestamp" , sometimes not. protected static QueryResponse getCdcrQueue(CloudSolrClient client) throws SolrServerException, IOException { ModifiableSolrParams params = ne