rcldb: message log level change (docid beyond updated.size())
This commit is contained in:
parent
7de66aae60
commit
b6cd22c320
@ -2030,12 +2030,15 @@ void Db::i_setExistingFlags(const string& udi, unsigned int docid)
|
|||||||
// Set the up to date flag for the document and its
|
// Set the up to date flag for the document and its
|
||||||
// subdocs. needUpdate() can also be called at query time (for
|
// subdocs. needUpdate() can also be called at query time (for
|
||||||
// preview up to date check), so no error if the updated bitmap is
|
// preview up to date check), so no error if the updated bitmap is
|
||||||
// of size 0
|
// of size 0, and also this now happens when fsIndexer() calls
|
||||||
|
// udiTreeMarkExisting() after an error, so the message level is
|
||||||
|
// now debug
|
||||||
if (docid >= updated.size()) {
|
if (docid >= updated.size()) {
|
||||||
if (updated.size())
|
if (updated.size()) {
|
||||||
LOGERR("needUpdate: existing docid beyond updated.size(). Udi [" <<
|
LOGDEB("needUpdate: existing docid beyond updated.size() "
|
||||||
udi << "], docid " << docid << ", updated.size() " <<
|
"(probably ok). Udi [" << udi << "], docid " << docid <<
|
||||||
updated.size() << "\n");
|
", updated.size() " << updated.size() << "\n");
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
updated[docid] = true;
|
updated[docid] = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user