Project

Profile

Help

Task #9252

sync task uses too many DB connections

Added by dkliban@redhat.com about 2 months ago. Updated 10 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
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>
Related to File Support - Backport #9311: Backport #9252 to 1.9.1 releaseCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Copied to RPM Support - Issue #9253: sync task uses too many DB connectionsCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 04e62a98 View on GitHub
Added by dkliban@redhat.com about 2 months ago

Runs all DB querries synchronously during a sync task.

closes: #9252

History

#1 Updated by dkliban@redhat.com about 2 months ago

  • Copied to Issue #9253: sync task uses too many DB connections added

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

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

#3 Updated by pulpbot about 2 months ago

  • Status changed from NEW to POST

#4 Updated by daviddavis about 2 months ago

  • Sprint/Milestone set to 1.9.1

#6 Updated by dkliban@redhat.com about 2 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by daviddavis about 2 months ago

  • Sprint/Milestone deleted (1.9.1)

#8 Updated by daviddavis about 2 months ago

#9 Updated by pulpbot 10 days ago

  • Sprint/Milestone set to 1.10.0

#10 Updated by pulpbot 10 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF