[SERVER-50887] 'bug' messages should be changed to Warning severity Created: 11/Sep/20  Updated: 29/Oct/23  Resolved: 04/Feb/21

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-02-08
Participants:

 Description   

These two messages should have severity higher than Informational:

src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp-            if (nextNotIncreasing) {
src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp-                // Our new key is less than the old key which means the next call moved to !next.
src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp-                LOGV2(51790,
src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp-                      "WTIndex::updatePosition -- the new key ({newKey}) is less than the previous "
src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp:                      "key ({prevKey}), which is a bug.",
src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp-                      "WTIndex::updatePosition -- new key is less than previous key",
src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp-                      "newKey"_attr = redact(toHex(item.data, item.size)),
src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp-                      "prevKey"_attr = redact(_key.toString()));
src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp-
--
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp-
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp-    if (_forward && _lastReturnedId >= id) {
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp-        LOGV2(22406,
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp-              "WTCursor::next -- c->next_key ( {next}) was not greater than _lastReturnedId "
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:              "({last}) which is a bug.",
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp:              "WTCursor::next -- next was not greater than last which is a bug",
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp-              "next"_attr = id,
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp-              "last"_attr = _lastReturnedId);
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp-
src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp-        // Crash when testing diagnostics are enabled.



 Comments   
Comment by Githook User [ 04/Feb/21 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-50887 'bug' messages should be changed to a warning severity
Branch: master
https://github.com/mongodb/mongo/commit/078b47bc4bb193c936b2041aa7d1a5fcfb17fdf6

Generated at Thu Feb 08 05:23:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.