Bug 645702 - Need to get rid of rhnPaidErrataTempCache temporary table
Summary: Need to get rid of rhnPaidErrataTempCache temporary table
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.2
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space12
TreeView+ depends on / blocked
 
Reported: 2010-10-22 09:33 UTC by Jan Pazdziora
Modified: 2011-07-26 08:14 UTC (History)
1 user (show)

Fixed In Version: spacewalk-java-1.2.79-1 spacewalk-schema-1.2.60-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-19 16:16:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2010-10-22 09:33:07 UTC
Description of problem:

We have temporary table rhnPaidErrataTempCache in our schema. It seems to be used by java/code/src/com/redhat/rhn/taskomatic/task/ErrataMailer.java to store some data which are immediatelly processed and then removed from this table.

We need the logic rewritten in such a way that the data which gets stored in that temporary table are selected in correct order and processed on the fly, for each user and each server.

We want to get rid of that temporary table because the semantics of temporary tables is different in PostgreSQL, and besides, it can be done better some different way anyway.

Version-Release number of selected component (if applicable):

Spacewalk nightly (1.2).

How reproducible:

Look at code.

Steps to Reproduce:
1. Check errata mailer operation.
  
Actual results:

For the errata mailer to work, the temporary table rhnPaidErrataTempCache is needed.

Expected results:

Errata mailer should keep on working even after refactoring, when temporary table rhnPaidErrataTempCache is removed.


Additional info:

Comment 1 Tomas Lestach 2010-11-01 11:26:22 UTC
Table removed.

spacewalk.git: 8015ae73ed6bb341407ecf9edd015a874ae2fa6e

Comment 2 Tomas Lestach 2010-11-01 12:37:33 UTC
adding upgrade script for delete_errata procedure

spacewalk.git: 8230ee7cdd4449b1437825fe6a54b7f4ba2de1f3

Comment 4 Jan Pazdziora 2010-11-19 16:16:31 UTC
With Spacewalk 1.2 released, marking as CLOSED CURRENTRELEASE.

https://www.redhat.com/archives/spacewalk-list/2010-November/msg00111.html


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