Affects Version/s: 6.5.0, 6.5.1, 6.5.2
Fix Version/s: 6.5.3
This was triggered by
RTFACT-17337 was implemented is that during an upgrade to 6.5.0 we are dropping the old index and creating a new index.
In case the new index' creation is failing, the upgrade proceeds and Artifactory runs without an index on the properties table, which causes constant full scans.
We should not get into a state where there is no index at all, and in case the creation of new index is failing we should at least re-create the new index.
Once above is fixed, we should update the REST API:
So this REST will start by dropping the old index, cutting the properties to 2400 chars, and creating the new improved index.