diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2007-09-24 18:27:15 +0000 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2007-09-24 18:27:15 +0000 |
| commit | 71867898256b2cd8b8c66dca2a12debf4d8879ee (patch) | |
| tree | a85a91cafbba6b434d8d5f475165da9fb13cfa17 /ldap/admin/src/scripts | |
| parent | ac772cd4cb7dc71710fd433e9e89a593bec61db4 (diff) | |
| download | ds-71867898256b2cd8b8c66dca2a12debf4d8879ee.tar.gz ds-71867898256b2cd8b8c66dca2a12debf4d8879ee.tar.xz ds-71867898256b2cd8b8c66dca2a12debf4d8879ee.zip | |
Resolves: #171081
Summary: ldapsearch hung at browsing index creation (comment #4)
Fix Description:
1. instead of covering all the reindexing look, set vlv lock just around
vlv_update_index, where vlv update is executed.
2. actually, lock is not meant to use for excluding the operation against vlv
reconfiguration. This ldbm_back_ldbm2index function first calls
instance_set_busy_and_readonly and protects the backend from the operation done
by other threads. vlv delete was just ignoring the busy/readonly setting.
Thus, changed the vlv code to respect the setting. Found the backend is busy,
deleting a vlv index fails and returns.
3. cleaned up the instance_set_busy_and_readonly function not to leak memory.
4. fixed minor memory leak.
Diffstat (limited to 'ldap/admin/src/scripts')
0 files changed, 0 insertions, 0 deletions
