Storing the data isn't a problem, but one issue we've had with situations like
this where there should be a default filter (soft_deleted==false) that can be
overridden is that it's quite hard within the context of the query parser to do
it, because it involves examining an incoming query to see
On Mon, Mar 6, 2017 at 3:06 PM, Lei Zhang
wrote:
On Mon, Mar 6, 2017 at 1:21 AM, Matt Riedemann
wrote:
So I'm wondering at what point instances stored in searchlight will
be removed. Maybe there is already an answer to this and the
searchlight team can just inform me. Otherwise we mig
On Mon, Mar 6, 2017 at 3:06 PM, Zhenyu Zheng
wrote:
Hi, Gibi
Yes, soft_delete.end notification didn't got handled in SL, and we
should do it, but what Matt mean here is deferent, even you 'hard'
delete an instance the record still exists in DB and user with
certain role can list it using
On Mon, Mar 6, 2017 at 1:21 AM, Matt Riedemann wrote:
>
> So I'm wondering at what point instances stored in searchlight will be
> removed. Maybe there is already an answer to this and the searchlight team
> can just inform me. Otherwise we might need to think about data retention
> policies and
Hi, Gibi
Yes, soft_delete.end notification didn't got handled in SL, and we should
do it, but what Matt mean here is deferent, even you 'hard' delete an
instance the record still exists in DB and user with certain role can list
it using deleted=true, so we should also do it in SL
On Monday, March
On Mon, Mar 6, 2017 at 3:09 AM, Zhenyu Zheng
wrote:
Hi, Matt
AFAIK, searchlight did delete the record, it catch the
instance.delete notification and perform the action:
http://git.openstack.org/cgit/openstack/searchlight/tree/searchlight/elasticsearch/plugins/nova/notification_handler.py#n
Hi, Matt
AFAIK, searchlight did delete the record, it catch the instance.delete
notification and perform the action:
http://git.openstack.org/cgit/openstack/searchlight/tree/searchlight/elasticsearch/plugins/nova/notification_handler.py#n100
->
http://git.openstack.org/cgit/openstack/searchlight/t
I've posted a spec [1] for nova's integration with searchlight for
listing instance across multiple cells. One of the open questions I have
on that is when/how do instances get removed from searchlight?
When an instance gets deleted via the compute API today, it's not really
deleted from the d