[SERVER-7097] Missing endl in outOfSpace() Created: 21/Sep/12  Updated: 15/Feb/13  Resolved: 07/Oct/12

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: 2.0.7, 2.2.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Tad Marshall Assignee: Tad Marshall
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-3795 All logfile lines should start with date Closed
Operating System: ALL
Participants:

 Description   

In outOfSpace() on line 1273 of mongo/db/pdfile.cpp, the log() line reporting a failure to find space for a document after allocating a new extent to hold it is missing an endl at the end of the line. This will prevent the line from being logged until another line logged from this thread includes an endl. This just makes the logged output badly formatted, because the code will retry 10 times and each retry logs its output with an endl. Because of the missing endl, the first of these appears bare on the next log line (no timestamp or thread name).


Generated at Thu Feb 08 03:13:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.