[SERVER-5449] Assertion failure writing to journal file Created: 29/Mar/12 Updated: 11/Jul/16 Resolved: 30/Mar/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Stability, Storage |
| Affects Version/s: | 2.0.2, 2.0.4, 2.1.0, 2.1.1 |
| Fix Version/s: | 2.0.5, 2.1.1 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Jeffrey Yemin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
EC2, EBS |
||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Thu Mar 29 17:45:51 [journal] write fails written:8192 len:16384 buf:ยช$ errno:0 Success Thu Mar 29 17:45:51 Backtrace: Logstream::get called in uninitialized state |
| Comments |
| Comment by auto [ 17/Apr/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Instead of treating it as an error for write() to return a non-negative value less than len, |
| Comment by auto [ 30/Mar/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: Instead of treating it as an error for write() to return a non-negative value less than len, |
| Comment by Andy Schwerin [ 29/Mar/12 ] |
|
the write() in LogFile::synchronousAppend() needs to be done in a loop, in case a slow write gets interrupted part-way through. |