inMemory storage engine should report the capped size as storage size

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.2.0-rc3
    • Component/s: Storage
    • None
    • ALL
    • Hide

      apply this diff:

      Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      diff --git a/jstests/concurrency/fsm_all.js b/jstests/concurrency/fsm_all.js
      index c174342..175e137 100644
      --- a/jstests/concurrency/fsm_all.js
      +++ b/jstests/concurrency/fsm_all.js
      @@ -8,5 +8,5 @@ var blacklist = [
       ].map(function(file) { return dir + '/' + file; });
       
       runWorkloadsSerially(ls(dir).filter(function(file) {
      -    return !Array.contains(blacklist, file);
      +    return !Array.contains(blacklist, file) && file.indexOf("convert_to_capped_collection.js") !== -1;
       }));
      

      then run

      python buildscripts/resmoke.py --suites=concurrency --storageEngine=inMemory
      
      Show
      apply this diff: Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml diff --git a/jstests/concurrency/fsm_all.js b/jstests/concurrency/fsm_all.js index c174342..175e137 100644 --- a/jstests/concurrency/fsm_all.js +++ b/jstests/concurrency/fsm_all.js @@ -8,5 +8,5 @@ var blacklist = [ ].map(function(file) { return dir + '/' + file; }); runWorkloadsSerially(ls(dir).filter(function(file) { - return !Array.contains(blacklist, file); + return !Array.contains(blacklist, file) && file.indexOf( "convert_to_capped_collection.js" ) !== -1; })); then run python buildscripts/resmoke.py --suites=concurrency --storageEngine=inMemory
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The inMemory storage engine reports the storage size to be equivalent to the data size. This causes the convert_to_capped_collection fsm workload to fail, because it expects the storage size to be the capped size, which should be rounded up to a multiple of 256.

            Assignee:
            Charlie Swanson
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: