[SERVER-20417] metrics.interim file doesn't contain valid bson document Created: 15/Sep/15  Updated: 07/Oct/15  Resolved: 21/Sep/15

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: 3.1.9

Type: Bug Priority: Major - P3
Reporter: Bruce Lucas (Inactive) Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: FTDC
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-20423 metrics.interim file has garbage afte... Closed
Related
related to SERVER-20423 metrics.interim file has garbage afte... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform 9 (09/18/15)
Participants:

 Description   

00000000  00 00 00 00 00 00 00 00  00 1c c5 f4 d0 4f 01 00  |.............O..|
          11111111111 22  _  i  d  \0 33333333333333333333
00000010  00 10 74 79 70 65 00 01  00 00 00 05 64 61 74 61  |..type......data|
00000020  00 60 19 00 00 00 bd 4b  00 00 78 9c 9d 5c 0b 78  |.`.....K..x..\.x|
00000030  15 45 96 ae be af e4 92  00 97 04 19 bf cf c7 f6  |.E..............|
00000040  ce 13 66 07 26 10 84 e0  cc a8 21 a0 c3 0e 21 4a  |..f.&.....!...!J|
00000050  50 f6 9b dd d9 d8 b9 dd  c9 6d d3 b7 fb da dd 37  |P........m.....7|
00000060  21 33 f3 ed 5e 05 f1 81  0f 1c 41 18 f1 11 14 5d  |!3..^.....A....]|
00000070  58 18 44 f1 01 38 4a 46  45 f1 1d 41 c5 17 18 c0  |X.D..8JFE..A....|
00000080  11 65 56 09 a0 12 44 60  cf a9 aa ee db f7 26 81  |.eV...D`......&.|
00000090  be 5e 05 bb aa fe 73 aa  ea d4 39 a7 ce a9 ea b6  |.^....s...9.....|
000000a0  61 32 21 41 4b 31 5b 15  b3 de 96 ec b4 45 a6 43  |a2!AK1[......E.C|
000000b0  4d d4 b2 25 d3 26 73 af  f9 b2 ab 4e 20 24 90 30  |M..%.&s....N $.0|

  • 11111111111 - expect to find bson document length, find 0s instead
  • 22 - expect to find first field type, find 0s instead
  • expect next 3 bytes to be _ i d, find 0s instead
  • 33333333333333333333 - appears to be a valid timestamp

So it appears that the first 8 bytes have gotten overwritten with 0s.



 Comments   
Comment by Githook User [ 21/Sep/15 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-20417: Move file interim file
Branch: master
https://github.com/mongodb/mongo/commit/5c5108872a9af3e17b0da7edada0a9a780ade6a6

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