Project

General

Profile

Bug #6515

link_interface_to_vips slow with large numbers of VIPs

Added by Chris Buechler about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Interfaces
Target version:
Start date:
06/21/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3.x
Affected Architecture:

Description

link_interface_to_vips when called with the update parameter calls interfaces_vips_configure once per VIP on the interface, so it repeats the same actions in their entirety over and over. With a few thousand VIPs, that adds minutes of unnecessary delays to anything that calls link_interface_to_vips with update.

Associated revisions

Revision d75c55fb (diff)
Added by Chris Buechler about 3 years ago

Only call interfaces_vips_configure once if it's needed, rather than doing the same thing over and over for every VIP on an interface. Ticket #6515

Revision 6fd9645e (diff)
Added by Chris Buechler about 3 years ago

Only call interfaces_vips_configure once if it's needed, rather than doing the same thing over and over for every VIP on an interface. Ticket #6515

Revision ac3e3baa (diff)
Added by Chris Buechler about 3 years ago

Only call interfaces_vips_configure once if it's needed, rather than doing the same thing over and over for every VIP on an interface. Ticket #6515

History

#1 Updated by Chris Buechler about 3 years ago

  • Status changed from Confirmed to Feedback

fix pushed. Confirmed that still does all the necessary actions, and eliminates the delays by not doing the same thing repeatedly.

#2 Updated by Chris Buechler about 3 years ago

  • Status changed from Feedback to Resolved

works

#3 Updated by Chris Buechler about 3 years ago

  • Target version changed from 2.3.1-p6 to 2.3.2

Also available in: Atom PDF