Issue #970
closedPulp freezes during association processing
Description
During tests of pulp-2.5 we often met situation when pulp froze in association process for even few minutes on one package. Solution was add sort index "_id" to _associated_units_by_type_cursor method, so pulp return always sorted data by one index. Patch applicable on master branch is included in files.
Files
Updated by bmbouter over 9 years ago
- Subject changed from [RFE] fixed sort index in _associated_units_by_type_cursor to Pulp freezes during association processing
This looks like a bug report so I'm removing the [RFE] from the front. We don't use that syntax anymore. I also rewrote it some to match my understanding of the issue.
Updated by jortel@redhat.com over 9 years ago
- Priority changed from Normal to High
- Triaged changed from No to Yes
Updated by bcourt over 9 years ago
jluza, can you provide samples of the command line or rest API calls that you are making when you hit this issue? There are a lot of code paths that can hit this particular code. Thanks!
Updated by rbarlow over 9 years ago
- Status changed from NEW to POST
- Assignee set to jluza
- Platform Release set to 2.7.1
- OS deleted (
RHEL 6) - Tags Easy Fix added
Added by jluza over 9 years ago
Added by jluza over 9 years ago
Revision b54816cf | View on GitHub
sort with _id in every unit association query (prevents mongo from freeze)
This commit changes the unit association query's default sort to use the _id field instead of the unit key as it did before. Since the default sort is arbitrary, this improves performance while maintaining API compatibility.
https://pulp.plan.io/issues/970
fixes #970
Updated by jluza about 9 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|b54816cf9f68dc099425b33e5027a82d16e1570d.
Updated by amacdona@redhat.com about 9 years ago
- Platform Release changed from 2.7.1 to 2.7.2
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from MODIFIED to 5
Updated by semyers over 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
- Platform Release changed from 2.7.2 to 2.7.0
sort with _id in every unit association query (prevents mongo from freeze)
This commit changes the unit association query's default sort to use the _id field instead of the unit key as it did before. Since the default sort is arbitrary, this improves performance while maintaining API compatibility.
https://pulp.plan.io/issues/970
fixes #970