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

fileObj hashes not matching on insert in gridfs.js

    • Fully Compatible
    • ALL

      http://buildlogs.mongodb.org/build/502362d6d2a60f70cd0001d5/test/5023b5fbd2a60f5e97000337/

      	
      sh2120| added file: { _id: ObjectId('5023b60dbebcdb51f55100d1'), filename: "mongod.exe", chunkSize: 262144, uploadDate: new Date(1344517661822), md5: "ee4f03d9e587d723c4c6bb99531b3b30", length: 20939264 }
       m30999| Thu Aug 09 13:07:42 [conn5] end connection 127.0.0.1:50880 (1 connection now open)
      fileObj: {
      	"_id" : ObjectId("5023b60dbebcdb51f55100d1"),
      	"filename" : "mongod.exe",
      	"chunkSize" : 262144,
      	"uploadDate" : ISODate("2012-08-09T13:07:41.822Z"),
      	"md5" : "ee4f03d9e587d723c4c6bb99531b3b30",
      	"length" : 20939264
      sh2120| done!
      assert: ["4c933cd6fa8b299c8f87c96b06aaf38f"] != ["ee4f03d9e587d723c4c6bb99531b3b30"] are not equal : undefined
      Error("Printing Stack Trace")@:0
      ()@src/mongo/shell/utils.js:37
      ("[\"4c933cd6fa8b299c8f87c96b06aaf38f\"] != [\"ee4f03d9e587d723c4c6bb99531b3b30\"] are not equal : undefined")@src/mongo/shell/utils.js:58
      ("4c933cd6fa8b299c8f87c96b06aaf38f","ee4f03d9e587d723c4c6bb99531b3b30")@src/mongo/shell/utils.js:88
      testGridFS("sharded_files_id_n")@D:\slave\Windows_64bit_DEBUG\mongo\jstests\sharding\gridfs.js:27
      @D:\slave\Windows_64bit_DEBUG\mongo\jstests\sharding\gridfs.js:59
      Thu Aug 09 13:07:42 uncaught exception: ["4c933cd6fa8b299c8f87c96b06aaf38f"] != ["ee4f03d9e587d723c4c6bb99531b3b30"] are not equal : undefined
      failed to load: D:\slave\Windows_64bit_DEBUG\mongo\jstests\sharding\gridfs.js
      

        1. gridfs_output.html
          374 kB
          Ian Whalen

            Assignee:
            tad Tad Marshall
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: