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:
AndyA
2023-03-14 12:47:45 -07:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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 (