[389-ds-base] branch master updated (1698dd8 -> bb335e0)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
mreynolds pushed a change to branch master
in repository 389-ds-base.
from 1698dd8 Issue 50071 - Set ports in local_simple_allocate function
add bb335e0 Ticket 49864 - Revised replication status messages for transient errors
No new revisions were added by this update.
Summary of changes:
ldap/servers/plugins/replication/repl5_inc_protocol.c | 2 +-
ldap/servers/plugins/replication/repl5_protocol_util.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 3 months
[389-ds-base] branch master updated (5eab3b5 -> 1698dd8)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
spichugi pushed a change to branch master
in repository 389-ds-base.
from 5eab3b5 Ticket 50065 - lib389 aci parsing is too strict
add 1698dd8 Issue 50071 - Set ports in local_simple_allocate function
No new revisions were added by this update.
Summary of changes:
src/lib389/lib389/__init__.py | 10 ++++++++--
src/lib389/lib389/dseldif.py | 9 +++------
src/lib389/lib389/instance/remove.py | 3 ++-
src/lib389/lib389/tests/instance/remove_test.py | 14 ++++++++++++--
4 files changed, 25 insertions(+), 11 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 3 months
[389-ds-base] branch 389-ds-base-1.3.6 updated: Ticket 49967 - entry cache corruption after failed MODRDN
by git repository hosting
This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch 389-ds-base-1.3.6
in repository 389-ds-base.
The following commit(s) were added to refs/heads/389-ds-base-1.3.6 by this push:
new 68e0d58 Ticket 49967 - entry cache corruption after failed MODRDN
68e0d58 is described below
commit 68e0d589c61a16352a69dfebe5a91854aae73fd9
Author: Thierry Bordaz <tbordaz(a)redhat.com>
AuthorDate: Wed Oct 24 15:31:25 2018 +0200
Ticket 49967 - entry cache corruption after failed MODRDN
Bug Description:
During a MODRDN the DN cache is updated to replace
source DN with the target DN (modrdn_rename_entry_update_indexes)
If later a failure occurs (for example if BETXN_POSTOP fails) and
the txn is aborted, the target DN (for the specific entryID) remains
in the DN cache.
If the entry is returned in a search, to build the DN there is
a lookup of the DN cache with the entryID. It retrieves the target DN
rather than the source DN
Fix Description:
In case of failure of the operation, the entry (from the entryID)
need to be cleared from the DN cache
https://pagure.io/389-ds-base/issue/49967
Reviewed by: Mark Reynolds
Platforms tested: F27
Flag Day: no
Doc impact: no
(cherry picked from commit ab4af68ef49fcdc5f2f6d0c1f5c7b9a5333b1bee)
(cherry picked from commit 0a2cc3bdb266dc9e88900b1851f119157cae2df6)
---
ldap/servers/slapd/back-ldbm/ldbm_modrdn.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c b/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c
index 622ff0b..40d2415 100644
--- a/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c
+++ b/ldap/servers/slapd/back-ldbm/ldbm_modrdn.c
@@ -1456,6 +1456,19 @@ common_return:
}
}
}
+
+ if (ec && retval) {
+ /* if the operation failed, the destination entry does not exist
+ * but it has been added in dncache during cache_add_tentative
+ * we need to remove it. Else a retrieval from ep_id can give the wrong DN
+ */
+ struct backdn *bdn = dncache_find_id(&inst->inst_dncache, ec->ep_id);
+ slapi_log_err(SLAPI_LOG_CACHE, "ldbm_back_modrdn",
+ "operation failed, the target entry is cleared from dncache (%s)\n", slapi_entry_get_dn(ec->ep_entry));
+ CACHE_REMOVE(&inst->inst_dncache, bdn);
+ CACHE_RETURN(&inst->inst_dncache, &bdn);
+ }
+
/* remove the new entry from the cache if the op failed -
otherwise, leave it in */
if (ec && inst) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 3 months
[389-ds-base] branch master updated (55ec4ef -> 5eab3b5)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
mreynolds pushed a change to branch master
in repository 389-ds-base.
from 55ec4ef Issue 50061 - Improve schema loading in UI
add 5eab3b5 Ticket 50065 - lib389 aci parsing is too strict
No new revisions were added by this update.
Summary of changes:
src/lib389/lib389/_entry.py | 19 +++++++++--
src/lib389/lib389/tests/aci_parse_test.py | 57 +++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 2 deletions(-)
create mode 100644 src/lib389/lib389/tests/aci_parse_test.py
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 3 months
[389-ds-base] branch master updated (d36f796 -> 55ec4ef)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
spichugi pushed a change to branch master
in repository 389-ds-base.
from d36f796 Ticket 50063 - Crash after attempting to restore a single backend
add 55ec4ef Issue 50061 - Improve schema loading in UI
No new revisions were added by this update.
Summary of changes:
src/cockpit/389-console/src/schema.js | 143 ++++++++++++++--------------------
src/lib389/lib389/cli_conf/schema.py | 31 ++++++++
src/lib389/lib389/schema.py | 12 +--
3 files changed, 97 insertions(+), 89 deletions(-)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 3 months
[389-ds-base] branch master updated (bae33f9 -> d36f796)
by git repository hosting
This is an automated email from the git hooks/post-receive script.
mreynolds pushed a change to branch master
in repository 389-ds-base.
from bae33f9 Ticket 50062 - Replace error by warning in the state machine defined in repl5_inc_run
add d36f796 Ticket 50063 - Crash after attempting to restore a single backend
No new revisions were added by this update.
Summary of changes:
ldap/servers/slapd/back-ldbm/dblayer.c | 5 +++++
1 file changed, 5 insertions(+)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
5 years, 3 months