File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 4242 # https://www.cockroachlabs.com/docs/releases/release-support-policy
4343 crdb : [v24.3]
4444 ruby : ["3.4"]
45- conf :
46- [
47- " --max-sql-memory=25% --cache=25%" ,
48- " --max-sql-memory=25% --cache=25% --store=type=mem,size=20%" ,
49- " --max-sql-memory=50% --cache=50% --store=type=mem,size=50%" ,
50- " --max-sql-memory=90% --cache=90% --store=type=mem,size=90%" ,
51- " --max-sql-memory=25% --cache=25% --store=type=mem,size=70%" ,
52- ]
53- name : " ${{ matrix.conf }}"
45+ sql_cache : [15, 25, 35]
46+ store : [20, 40, 60, 80]
47+ name : " ${{ matrix.sql_cache }}% SQL&Cache, ${{ matrix.store }}% Store"
5448 steps :
5549 - name : Set Up Actions
5650 uses : actions/checkout@v4
8478 # Start a CockroachDB server and wait for it to become ready.
8579 rm -f "$urlfile"
8680 # Start CockroachDB.
87- cockroach start-single-node --insecure ${{ matrix.conf }} --host=localhost --spatial-libs=./cockroach-$full_version.linux-amd64/lib --listening-url-file="$urlfile" >/dev/null 2>&1 &
81+ cockroach start-single-node --insecure --max-sql-memory= ${{ matrix.sql_cache }}% --cache=${{ matrix.sql_cache }}% --store=type=mem,size=${ matrix.store }}% --host=localhost --spatial-libs=./cockroach-$full_version.linux-amd64/lib --listening-url-file="$urlfile" >/dev/null 2>&1 &
8882 # Ensure CockroachDB is stopped on script exit.
8983 # Wait until CockroachDB has started.
9084 for i in {0..3}; do
You can’t perform that action at this time.
0 commit comments