Notice: this is a static mirror for historical purposes.

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
033Source Integration[All Projects] Generalpublic2009-05-04 06:062009-06-10 11:24
ReporterJohn Reese 
Assigned ToJohn Reese 
Product Version0.14 
Target Version0.14Fixed in Version 
Summary033: Deleting large repositories hits OOM situations
DescriptionCurrently, when deleting large repositories, the call to SourceChangeset::load_by_repo() will hit an OOM situation and fail to delete anything. The delete functions should be replaced by a set of queries that will all run server-side, without needing to load everything from the database first.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (028)
John Reese (administrator)
2009-06-10 11:24

Fix committed to 53c1e36c8f branch at 2009-06-10 18:17:31.

- Related Changesets
Source Integration: 53c1e36c8f 53c1e36c
Timestamp: 2009-06-10 18:17:31
Author: John Reese
Committer: John Reese
Details ] Diff ]
Fix 033: Fix OOM when deleting large repositories

Rather than having the delete process first load all changesets for the repo,
and then delete files for each individual changeset, replace this method with
a single DB query that handles all file deletion with a subquery.
mod - Source/Source.API.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2009-05-04 06:06 John Reese New Issue
2009-06-10 11:16 John Reese Status new => assigned
2009-06-10 11:16 John Reese Assigned To => John Reese
2009-06-10 11:24 John Reese Note Added: 028
2009-06-10 11:24 John Reese Status assigned => resolved
2009-06-10 11:24 John Reese Resolution open => fixed
2009-06-10 11:24 John Reese Changeset attached 53c1e36c8f 53c1e36c =>

Copyright © 2000 - 2012 MantisBT Group
Time: 0.1164 seconds.
memory usage: 8,317 KB
Powered by Mantis Bugtracker

hosted with