Summary:
In master code we should acquire locks on tablets in the order of increasing ids.
To guarantee that tablets are always locked in the same order to avoid lock order inversion.
When vector index is created locks are acquired in the order of partitions.
Fixed by using correct lock order.
Jira: DB-15446
Test Plan: ./yb_build.sh tsan PgIndexBackfillTest.VectorIndex -n 40
Reviewers: zdrudi
Reviewed By: zdrudi
Subscribers: ybase, yql
Tags: #jenkins-ready
Differential Revision: https://phorge.dev.yugabyte.com/D42068