On 9/3/2021 9:19 AM, lstusr 5u93n4 wrote:
What we're seeing is the following:
  - index some data
  - issue a hard commit
  - issue a query for that data
  - sometimes the query gets routed to a replica that is not yet updated,
and doesn't contain the data.

How long are you waiting between the hard commit and the query? Are you waiting for the commit operation to return a response before you try to query?  I actually don't know whether a commit operation will wait for all replicas when you're in cloud mode.  I don't have a lot of experience with SolrCloud yet.  I did set up a cloud deployment at an old job, but it was VERY small.  All my large-index experience is in standalone mode.

Commits can sometimes be very slow.  This is mostly dependent on your cache autowarm configuration and any manual warming queries that you have defined.

Thanks,
Shawn

Reply via email to