Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20417

metrics.interim file doesn't contain valid bson document

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Fully Compatible
    • ALL
    • Platform 9 (09/18/15)

      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.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: