mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-20 10:26:37 -06:00
Merge pull request #5569 from dolthub/andy/speedup-bats
[no-release-notes] go/store/nbs: tweak chunk journal IO parameters
This commit is contained in:
4
.github/workflows/ci-bats-unix.yaml
vendored
4
.github/workflows/ci-bats-unix.yaml
vendored
@@ -104,8 +104,8 @@ jobs:
|
||||
- name: Install Maven
|
||||
working-directory: ./.ci_bin
|
||||
run: |
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.8.7/binaries/apache-maven-3.8.7-bin.tar.gz
|
||||
tar -xf apache-maven-3.8.7-bin.tar.gz
|
||||
curl -LO https://dlcdn.apache.org/maven/maven-3/3.9.0/binaries/apache-maven-3.9.0-bin.tar.gz
|
||||
tar -xf apache-maven-3.9.0-bin.tar.gz
|
||||
echo "$(pwd)/apache-maven-3.8.7/bin" >> $GITHUB_PATH
|
||||
- name: Install Hadoop
|
||||
working-directory: ./.ci_bin
|
||||
|
||||
@@ -27,7 +27,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
chunkJournalFileSize = 256 * 1024 * 1024
|
||||
chunkJournalFileSize = 16 * 1024
|
||||
|
||||
// todo(andy): buffer must be able to hold an entire record,
|
||||
// but we don't have a hard limit on record size right now
|
||||
@@ -36,7 +36,7 @@ const (
|
||||
chunkJournalAddr = "vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv"
|
||||
|
||||
journalIndexFileName = "journal.idx"
|
||||
journalIndexDefaultMaxNovel = 64 * 1024
|
||||
journalIndexDefaultMaxNovel = 4096
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user