Kiran Pawar 6095b13f21 Optimize deferred deletion share instance get query
The periodic database queries made by the share manager service to
process deferred deletion of shares has been fixed to consider the
host in addition to the share's state. This both improves performance
of the periodic task, as well as fixes incorrect behavior where
incorrect shares are retrieved by the query.

Partially-implements: bp/deferred-deletion
Change-Id: I813a3130ae015a6b8778bb2a288075b949313c73
(cherry picked from commit fab04b5751527c6a6e3bf3848c2af698088fb249)
2024-09-20 09:07:26 +05:30
..