On 12/12/22 08:14, Pradeep wrote:
We have migrated Apache solr aws load balancer from classic to Application
load balancer. We havent changed anything in solr other than migrating load
balancer but solr taking more time while committing in Solr.
Fyi, we are processing 200 records every batch, this is failing at last
stage of commit in solr (deleting stale records in solr). But same logic
working fine from many years in classic load balancer but after migration
to ALB this is happenning.
The message subject mentions optimize but the message body does not.
Is optimize involved? An optimize of a large index is always going to
be slow.
Solr does not have any kind of "deleting stale records" that I have ever
heard of, so that must be something your code, which is more difficult
for us to troubleshoot because we are not going to have any idea how to
get that code to give useful logs without a lot more information about
that code.
If you're encountering an error from Solr then solr.log should have at
least some info about what happened and that might be enough info to
figure out the problem.
If changing the load balancer caused issues, then you may need to talk
to someone who understands how to troubleshoot the LB.
Basically we need a lot more information about what's happening to have
any hope of helping you.
Thanks,
Shawn