Number of GET requests grows exponentially when multiple rows are being updated in the table
Bug #1263665 reported by
Anastasia Karpinska
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Timur Sufiev | ||
Icehouse |
Fix Released
|
High
|
Doug Fish | ||
Juno |
Fix Released
|
High
|
Doug Fish | ||
Kilo |
Fix Released
|
High
|
Doug Fish |
Bug Description
1. In Launch instance dialog select number of instances 10.
2. Create 10 instances.
2. While instances are being created and table rows are being updated the number of row update requests grows exponentially and a queue of pending requests still exists after all rows had beed updated.
There is a request type:
Request URL:http://
Request Method:GET
Changed in horizon: | |
assignee: | nobody → Anastasia Karpinska (anastasia-karpinska) |
status: | New → In Progress |
Changed in horizon: | |
assignee: | nobody → Dave Fogelson (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1xxsh5mkz9gl21a5rlwfnr8jn6ln0m3jxne2k9x1ohg85w3jabxlrqbgszpjpwcmvkbc-7ul3h2nks-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553jq53in4xm1m8wn3o4rlwaer06ogwvqwv9mrqoku2x334n7di44o65qze67n1wneepmi) |
Changed in horizon: | |
milestone: | none → liberty-1 |
Changed in horizon: | |
importance: | Medium → High |
tags: | added: in-stable-icehouse |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | liberty-1 → 8.0.0 |
tags: | removed: in-stable-icehouse in-stable-juno in-stable-kilo |
To post a comment you must log in.
horizon/ static/ horizon/ js/horizon. tables. js
complete: function (jqXHR, textStatus) {
next_ poll = interval * decay_constant;
if( next_poll > 30 * 1000) { next_poll = 30 * 1000; }
setTimeout (horizon. datatables. update, next_poll);
...
// Limit the interval to 30 secs
}
This code gets run every time *each* request completes, so if two requests complete, we call horizon. datatables. update twice and each of those calls starts two new requests.