mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
04.47.2008 e651d8a4ba69ea4764d780ccf66068bd6f9c9c46
refs
author jvergara <jvergara@localhost>
Tuesday, November 4, 2008 18:47 +0100
committer jvergara <jvergara@localhost>
Tuesday, November 4, 2008 18:47 +0100
commite651d8a4ba69ea4764d780ccf66068bd6f9c9c46
tree d7b4fdece97b4d0799921e7653b60056651259dd tree | zip | gz
parent c50fc392d798917462570de61d61027237b5b2ce view | diff
Fix for issue 3554 (Control Panel : Error displayed after deleting several entries).

The problem came because we were setting a subtree delete control on the same di
r context used to refresh the tree. This generate some problems with the connec
tion that got closed. The fix consists on analyzing the node that is being dele
ted, if it contains over 40 subordinates, we use another connection and the subt
ree delete control, if not we delete the subtree recursively.

The number of notifications in the logs and the calls to the event thread have b
een reduced since they had quite a bit of impact in performance.

The code has been updated so that after restarting the server we try to reuse th
e previously provided credentials, instead of simply asking the user to login ag
ain.
4 files modified
354 ■■■■■ changed files
opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java 37 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/task/DeleteEntryTask.java 288 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/ControlCenterMainPane.java 2 ●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/util/Utilities.java 27 ●●●●● diff | view | raw | blame | history