Skip to content

Commit

Permalink
Set newBlocks to 3 instead of 1 (#140)
Browse files Browse the repository at this point in the history
In blobstore.proto, the recommended value for newBlocks is 3 for CAS
and 1 for AC. Let's use that in the examples as well.
  • Loading branch information
moroten authored Jul 2, 2024
1 parent 8815a6a commit 007f745
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bare/config/storage.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local common = import 'common.libsonnet';
keyLocationMapMaximumPutAttempts: 32,
oldBlocks: 8,
currentBlocks: 24,
newBlocks: 1,
newBlocks: 3,
blocksOnBlockDevice: {
source: {
file: {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/config/storage.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local common = import 'common.libsonnet';
keyLocationMapMaximumPutAttempts: 32,
oldBlocks: 8,
currentBlocks: 24,
newBlocks: 1,
newBlocks: 3,
blocksOnBlockDevice: {
source: {
file: {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/config/worker-fuse-ubuntu22-04.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local common = import 'common.libsonnet';
keyLocationMapMaximumPutAttempts: 32,
oldBlocks: 8,
currentBlocks: 24,
newBlocks: 1,
newBlocks: 3,
blocksOnBlockDevice: {
source: {
file: {
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/config/storage.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local common = import 'common.libsonnet';
keyLocationMapMaximumPutAttempts: 32,
oldBlocks: 8,
currentBlocks: 24,
newBlocks: 1,
newBlocks: 3,
blocksOnBlockDevice: {
source: {
file: {
Expand Down

0 comments on commit 007f745

Please sign in to comment.