Change in ovirt-engine[master]: core: audig_log table is not cleaned ...(#856009)

emesika at redhat.com emesika at redhat.com
Wed Sep 19 11:32:43 UTC 2012


Eli Mesika has submitted this change and it was merged.

Change subject: core: audig_log table is not cleaned ...(#856009)
......................................................................


core: audig_log table is not cleaned ...(#856009)

core audig_log table is not cleaned properly, causing rhevm database to grow excessively(#856009)

https://bugzilla.redhat.com/856009

Problem was that the DeleteAuditLogOlderThenDate removed only records
with processed=true.
this flag is used by rhev-notification tool to mark which events were
handled (by sending events to subscribers) , so , the default of this
flag is false and after rhev-notification tool handles it , it is set to
true

Sine the DeleteAuditLogOlderThenDate removes old data (more than 30 days
by default) there is no need to relate to this flag and it should be
removed from the SP condition.

Change-Id: Id1e5d06751d672aa1f40f5a395234f71597289f4
Signed-off-by: Eli Mesika <emesika at redhat.com>
---
M backend/manager/dbscripts/audit_log_sp.sql
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/8016
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id1e5d06751d672aa1f40f5a395234f71597289f4
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list