Bug 595774 - Settle on a solution for transient object deletes
Summary: Settle on a solution for transient object deletes
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: cumin
Version: Development
Hardware: All
OS: Linux
high
medium
Target Milestone: 1.3
: ---
Assignee: Justin Ross
QA Contact: Jan Sarenik
URL:
Whiteboard:
Keywords:
: 495596 511893 (view as bug list)
Depends On:
Blocks: 595746
TreeView+ depends on / blocked
 
Reported: 2010-05-25 15:16 UTC by Justin Ross
Modified: 2010-10-20 11:32 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Justin Ross 2010-05-25 15:16:51 UTC
We've had trouble in the past with stale data sticking in the console.  Our plan for handling this is to aggressively delete data from transient objects when agents fall out of contact, with the expectation that they will not come back.

This would be a safe assumption were it not for some constraints on the agent side, where sometimes an object that would normally be durable (is conceptually durable) is made transient instead because the agent cannot guarantee that the object will return with the same identity after an agent restart.

In the past we've handled this by having a relatively long timeout for transient object deletes.

We're now instead looking into rapid deletes, but with exceptions for certain classes of transient object.

Comment 1 Justin Ross 2010-05-25 18:57:17 UTC
*** Bug 511893 has been marked as a duplicate of this bug. ***

Comment 2 Justin Ross 2010-05-25 18:58:25 UTC
*** Bug 495596 has been marked as a duplicate of this bug. ***

Comment 3 Justin Ross 2010-07-12 15:24:08 UTC
The rapid deletion policy is in as of (actually some time before) revision 4102.

Comment 4 Jan Sarenik 2010-09-03 12:24:58 UTC
How can I verify this?

Comment 5 Justin Ross 2010-09-07 19:43:31 UTC
This bug was a development placeholder.  For purposes of verification, let's redefine it to "Eliminate stale data".

To verify:

1. Start cumin and nav to the system listing under the inventory tab
2. Start sesame
3. Wait for the sesame system to appear under the inventory tab
4. Stop sessame
5. Wait for the sesame system to vanish
6. Start sesame
7. Wait for the sesame system to reappear

The "aggressive deletion" referred to in this ticket should happen between steps 4 and 5.

A regression test for this would be a little tricky.  You'd need to use the python db api or psql to monitor the systems inside the cumin database.

Comment 6 Jan Sarenik 2010-09-08 07:05:31 UTC
Verified on cumin-0.1.4219-1.el5 using the steps
described in Comment #5.


Note You need to log in before you can comment on or make changes to this bug.