Project

Profile

Help

Issue #9253

sync task uses too many DB connections

Added by dkliban@redhat.com 5 months ago. Updated 5 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 103
Quarter:

Description

Django 3.2 opens up new DB connection for each coroutine, unless the call is wrapped with sync_to_async.


Related issues

Related to Pulp - Issue #9129: Syncing is running out of DB connectionsCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Copied from File Support - Task #9252: sync task uses too many DB connectionsCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 9d10803f View on GitHub
Added by dkliban@redhat.com 5 months ago

Runs all DB queries synchronously during a sync task.

Required PR: https://github.com/pulp/pulpcore/pull/1553

closes: #9253

History

#1 Updated by dkliban@redhat.com 5 months ago

  • Copied from Task #9252: sync task uses too many DB connections added

#2 Updated by dkliban@redhat.com 5 months ago

  • Related to Issue #9129: Syncing is running out of DB connections added

#3 Updated by pulpbot 5 months ago

  • Status changed from NEW to POST

#4 Updated by dalley 5 months ago

  • Assignee set to dkliban@redhat.com
  • Triaged changed from No to Yes
  • Sprint set to Sprint 103

#5 Updated by dkliban@redhat.com 5 months ago

  • Status changed from POST to MODIFIED

#6 Updated by dalley 5 months ago

  • Sprint/Milestone set to 3.15.0

#7 Updated by pulpbot 5 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF