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

     1  # split_shards
     2  
     3  `split_shards` is a command line utility that traverses M3DB data folder
     4  and splits data filesets into more granular shards.
     5  
     6  # Usage
     7  
     8  ```
     9  $ git clone git@github.com:m3db/m3.git
    10  $ make split_shards
    11  $ ./bin/split_shards
    12  Usage: split_shards [-b value] [-d value] [-f value] [-h value] [-s value] [parameters ...]
    13   -b, --block-until=value
    14         Block Until Time, exclusive [in nsec]
    15   -d, --dst-path=value
    16         Destination path prefix [e.g. /var/lib/m3db/data]
    17   -f, --factor=value
    18         Integer factor to increase the number of shards by
    19   -h, --src-shards=value
    20         Original (source) number of shards
    21   -s, --src-path=value
    22         Source path [e.g. /temp/lib/m3db/data]
    23  ```