|
|
@@ -464,6 +464,9 @@ static int ldbm_ancestorid_new_idl_create_index(backend *be)
|
|
|
while (1) {
|
|
|
ret = ldbm_parentid(be, txn, id, &parentid);
|
|
|
if (ret != 0) {
|
|
|
+ slapi_log_error(SLAPI_LOG_FATAL, sourcefile,
|
|
|
+ "Error: ldbm_parentid on node index [" ID_FMT "] of [" ID_FMT "]\n",
|
|
|
+ nids, nodes->b_nids);
|
|
|
idl_free(children);
|
|
|
goto out;
|
|
|
}
|
|
|
@@ -552,6 +555,9 @@ static int ldbm_parentid(backend *be, DB_TXN *txn, ID id, ID *ppid)
|
|
|
ret = db->get(db, txn, &key, &data, 0);
|
|
|
if (ret != 0) {
|
|
|
ldbm_nasty(sourcefile,13110,ret);
|
|
|
+ slapi_log_error(SLAPI_LOG_FATAL, sourcefile,
|
|
|
+ "Error: unable to find entry id [" ID_FMT "] (original [" ID_FMT "])"
|
|
|
+ " in id2entry\n", stored_id, id);
|
|
|
goto out;
|
|
|
}
|
|
|
|