github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/cmd/tools/split_index_shards/README.md (about)

     1  # split_index_shards
     2  
     3  `split_index_shards` is a command line utility that traverses M3DB index folder
     4  and updates reverse index filesets to contain the ids of shards after shard splitting
     5  (see [split_shards](../split_shards)).
     6  
     7  # Usage
     8  
     9  ```
    10  $ git clone git@github.com:m3db/m3.git
    11  $ make split_index_shards
    12  $ ./bin/split_index_shards
    13  Usage: split_index_shards [-b value] [-f value] [-h value] [-p value] [parameters ...]
    14   -b, --block-until=value
    15                     Block Until Time, exclusive [in nsec]
    16   -f, --factor=value
    17                     Integer factor to increase the number of shards by
    18   -h, --src-shards=value
    19                     Original (source) number of shards
    20   -p, --path=value  Index path [e.g. /temp/lib/m3db/index]
    21  ```