Hi All,

We have a scenario where we need to:
 - index a group of data (group 1)
 - index a second group of data, sometimes querying for records that were
added in group 1.

We have 6 shards, each composed of two TLOG replicas.

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.

Some thoughts for how to solve:
 1. issue a hard commit that forces all TLOG replicas to update, not just
the leaders. (Is this possible?)
 2. force the query to go only to the leaders.

Are there any good options for this? I'm sure it's a common pattern to
index data and make it searchable to other data that's still being
indexed... Curious as to how others have solved this same problem.

Thanks!

Kyle

Reply via email to