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

Create javascript test fixture for serverless topology

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Serverless

      • Using the ShardingTest javascript fixture (shell/shardingtest.js) as a base, create a new js test fixture that starts up the server side components of a serverless pod. For the purposes of this ticket, the components should be one or mongoqd, one config server, and one or more replica sets started up as shard servers (the number of mongoqds and replica sets should be configurable as they are in ShardingTest). Note that as a part of PM-2347, we should change these components to be in line with the longer term serverless architecture.
        • The serverless fixture shouldn't need most of the functions specific to sharding/sharded collections defined in shardingtest.js i.e. anything related to mongos, and functions such as`chunkCounts`, `awaitBalancerRound`, and `shardColl`.
        • The balancer should be stopped and auto split turned off. Serverless will not rely on the balancer to move data.
      • The documentation in shardingtest.js is lacking, let's make the documentation for this fixture more robust, including providing TypeScript typings.

            Assignee:
            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: