Skip to content

Commit

Permalink
follow-up
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Aizman <[email protected]>
  • Loading branch information
alex-aizman committed Feb 8, 2024
1 parent f02606a commit 3e71357
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/cli/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

// direct
require (
github.com/NVIDIA/aistore v1.3.22-0.20240208230705-e5e7fec6a5ae
github.com/NVIDIA/aistore v1.3.22-0.20240208230952-f02606ae0d3c
github.com/fatih/color v1.16.0
github.com/json-iterator/go v1.1.12
github.com/onsi/ginkgo v1.16.5
Expand Down
4 changes: 2 additions & 2 deletions cmd/cli/go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
code.cloudfoundry.org/bytefmt v0.0.0-20190710193110-1eb035ffe2b6/go.mod h1:wN/zk7mhREp/oviagqUXY3EwuHhWyOvAdsn5Y4CzOrc=
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/NVIDIA/aistore v1.3.22-0.20240208230705-e5e7fec6a5ae h1:0y6ybC5raKIyZg9U1OL0I0boX37idtjCdjPuJlz3MDQ=
github.com/NVIDIA/aistore v1.3.22-0.20240208230705-e5e7fec6a5ae/go.mod h1:jpWmGuqxnY+akx81S5eqHhGdgSENm0mVYRrVbpCW4/I=
github.com/NVIDIA/aistore v1.3.22-0.20240208230952-f02606ae0d3c h1:YE/SrkCt4Ntb7EBFC2afjWyu0iCEgx72e8eM2JBhdIA=
github.com/NVIDIA/aistore v1.3.22-0.20240208230952-f02606ae0d3c/go.mod h1:jpWmGuqxnY+akx81S5eqHhGdgSENm0mVYRrVbpCW4/I=
github.com/OneOfOne/xxhash v1.2.8 h1:31czK/TI9sNkxIKfaUfGlU47BAxQ0ztGgd9vPyqimf8=
github.com/OneOfOne/xxhash v1.2.8/go.mod h1:eZbhyaAYD41SGSSsnmcpxVoRiQ/MPUTjUdIIOT9Um7Q=
github.com/VividCortex/ewma v1.1.1/go.mod h1:2Tkkvm3sRDVXaiyucHiACn4cqf7DpdyLvmxzcbUokwA=
Expand Down
6 changes: 3 additions & 3 deletions cmn/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,16 +193,16 @@ type (
//
// The value 0 (zero) indicates that objects of any size
// are to be sliced, to produce (D) data slices and (P) erasure coded parity slices.
// On the other hand, the value -1 requires that absolutely all objects of any size
// On the other hand, the value -1 specifies that absolutely all objects of any size
// must be replicated as is. In effect, the (-1) option provides data protection via
// intra-cluster (P+1)-way replication (a.k.a. mirroring).
//
// In all cases, a given (D, P) configuration provides node-level redundancy,
// whereby P nodes can be lost without incurring loss of data.
ObjSizeLimit int64 `json:"objsize_limit"`

// Number of data (D) slices; the value 1 will have have an effect of producing
// (P) full-size replicas.
// Number of data (D) slices; the value 1 will have an effect of producing
// (P) additional full-size replicas.
DataSlices int `json:"data_slices"`

// Depending on the object size and `ObjSizeLimit`, the value of `ParitySlices` (or P) indicates:
Expand Down

0 comments on commit 3e71357

Please sign in to comment.