Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for _shards (0.15 sec)

  1. docs/debugging/xl-meta/main.go

    				mapped = make([]byte, size)
    				filled = make([]byte, size)
    			}
    			data = ei.V2Obj.EcM
    			parity = ei.V2Obj.EcN
    			if shards == 0 {
    				shards = data + parity
    			}
    			idx = ei.V2Obj.EcIndex - 1
    			fmt.Println("Read shard", ei.V2Obj.EcIndex, "Data shards", data, "Parity", parity, fmt.Sprintf("(%s)", file))
    			if ei.V2Obj.Size != size {
    				return fmt.Errorf("size mismatch. Meta size: %d", ei.V2Obj.Size)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  2. cmd/bitrot-whole.go

    	"hash"
    	"io"
    )
    
    // Implementation to calculate bitrot for the whole file.
    type wholeBitrotWriter struct {
    	disk      StorageAPI
    	volume    string
    	filePath  string
    	shardSize int64 // This is the shard size of the erasure logic
    	hash.Hash       // For bitrot hash
    }
    
    func (b *wholeBitrotWriter) Write(p []byte) (int, error) {
    	err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. update-credits.sh

          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
          "You" (or "Your") shall mean an individual or Legal Entity
          exercising permissions granted by this License.
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. docs/erasure/README.md

    code is a mathematical algorithm to reconstruct missing or corrupted data. MinIO uses Reed-Solomon code to shard objects into variable data and parity blocks. For example, in a 12 drive setup, an object can be sharded to a variable number of data and parity blocks across all the drives - ranging from six data and six parity blocks to ten data and two parity blocks.
    
    By default, MinIO shards the objects across N/2 data and N/2 parity drives. Though, you can use [storage classes](https://github...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  5. docs/debugging/hash-set/main.go

    	flag.StringVar(&deploymentID, "deployment-id", "", "MinIO deployment ID, obtained from 'format.json'")
    	flag.IntVar(&setCount, "set-count", 0, "Total set count")
    	flag.IntVar(&shards, "shards", 0, "Total shards count")
    	flag.BoolVar(&verbose, "v", false, "Display all objects")
    
    	flag.Parse()
    
    	if deploymentID == "" {
    		log.Fatalln("deployment ID is mandatory")
    	}
    
    	if setCount == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  6. cmd/erasure_test.go

    			if test.reconstructParity {
    				for j := range decoded {
    					if decoded[j] == nil {
    						t.Errorf("Test %d: failed to reconstruct shard %d", i, j)
    					}
    				}
    			} else {
    				for j := range decoded[:test.dataBlocks] {
    					if decoded[j] == nil {
    						t.Errorf("Test %d: failed to reconstruct data shard %d", i, j)
    					}
    				}
    			}
    
    			decodedData := new(bytes.Buffer)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  7. internal/config/storageclass/storage-class.go

    	StandardEnv = "MINIO_STORAGE_CLASS_STANDARD"
    	// Optimize storage class environment variable
    	OptimizeEnv = "MINIO_STORAGE_CLASS_OPTIMIZE"
    	// Inline block indicates the size of the shard
    	// that is considered for inlining, remember this
    	// shard value is the value per drive shard it
    	// will vary based on the parity that is configured
    	// for the STANDARD storage_class.
    	// inlining means data and metadata are written
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    							return errVolumeNotFound
    						}
    						return verr
    					}
    				}
    			}
    			return osErrToFileErr(err)
    		}
    		if st.Mode().IsDir() {
    			return errFileNotFound
    		}
    		// Check if shard is truncated.
    		if st.Size() < fi.Erasure.ShardFileSize(part.Size) {
    			return errFileCorrupt
    		}
    	}
    
    	return nil
    }
    
    // deleteFile deletes a file or a directory if its empty unless recursive
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/erasure-metadata.go

    			// In this case, parity == 0 implies that this object version is a
    			// delete marker
    			readQuorum = N/2 + 1
    		}
    		if occ < readQuorum {
    			// Ignore this parity since we don't have enough shards for read quorum
    			continue
    		}
    
    		if occ > maxOcc {
    			maxOcc = occ
    			cparity = parity
    		}
    	}
    
    	if maxOcc == 0 {
    		// Did not found anything useful
    		return -1
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  10. docs/bucket/notifications/README.md

    ```
    
    Use curl to view contents of `minio_events` index.
    
    ```
    $ curl  "http://localhost:9200/minio_events/_search?pretty=true"
    {
      "took" : 40,
      "timed_out" : false,
      "_shards" : {
        "total" : 5,
        "successful" : 5,
        "failed" : 0
      },
      "hits" : {
        "total" : 1,
        "max_score" : 1.0,
        "hits" : [
          {
            "_index" : "minio_events",
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
Back to top