@earth-app/collegedb
    Preparing search index...

    Function createManifest

    • Builds the manifest a deployment starts life with.

      algorithm is the caller's decision, and it is the whole upgrade story: a deployment CollegeDB has never seen starts at hrw and computes placements immediately, while a deployment that already has mappings starts at modulo so the keys an earlier version placed still resolve.

      Parameters

      • shards: string[]

        Currently configured shard bindings

      • algorithm: PlacementAlgorithm

        Algorithm for the first epoch

      Returns PlacementManifest

      A single-epoch manifest

      1.4.0