Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for scParity (0.04 seconds)

  1. cmd/global-heal.go

    	}
    	sort.Slice(status.Sets, func(i, j int) bool {
    		return status.Sets[i].ID < status.Sets[j].ID
    	})
    
    	backendInfo := o.BackendInfo()
    	status.SCParity = make(map[string]int)
    	status.SCParity[storageclass.STANDARD] = backendInfo.StandardSCParity
    	status.SCParity[storageclass.RRS] = backendInfo.RRSCParity
    
    	return status, true
    }
    
    type healEntryResult struct {
    	bytes     uint64
    	success   bool
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 04 13:49:12 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. cmd/erasure-server-pool.go

    		ok = ok && set.Legacy()
    	}
    	return ok
    }
    
    func (z *erasureServerPools) BackendInfo() (b madmin.BackendInfo) {
    	b.Type = madmin.Erasure
    
    	scParity := globalStorageClass.GetParityForSC(storageclass.STANDARD)
    	if scParity < 0 {
    		scParity = z.serverPools[0].defaultParityCount
    	}
    	rrSCParity := globalStorageClass.GetParityForSC(storageclass.RRS)
    
    	// Data blocks can vary per pool, but parity is same.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  3. internal/config/storageclass/storage-class.go

    func ValidateParity(ssParity, setDriveCount int) error {
    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    	if ssParity > 0 && ssParity < minParityDrives {
    		return fmt.Errorf("parity %d should be greater than or equal to %d",
    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. internal/config/storageclass/storage-class_test.go

    			t.Errorf("Test %d, Expected `%v`, got `%v`", i+1, tt.expectedError, err)
    		}
    	}
    }
    
    func TestValidateParity(t *testing.T) {
    	tests := []struct {
    		rrsParity     int
    		ssParity      int
    		success       bool
    		setDriveCount int
    	}{
    		{2, 4, true, 16},
    		{3, 3, true, 16},
    		{0, 0, true, 16},
    		{1, 4, true, 16},
    		{0, 4, true, 16},
    		{7, 6, false, 16},
    		{9, 0, false, 16},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Click Count (0)
  5. cmd/erasure-metadata.go

    			// 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
    	}
    	return cparity
    }
    
    func listObjectParities(partsMetadata []FileInfo, errs []error) (parities []int) {
    	totalShards := len(partsMetadata)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  6. docs/ru/llm-prompt.md

    Use correct Russian grammar — appropriate cases, suffixes, and endings depending on context.
    
    For the following technical terms, use these specific translations to ensure consistency and clarity across the documentation:
    
    * production (meaning production software or environment): продакшн (do not change the ending, for example, translate `in production` as `в продакшн` (not `в продакшене`))
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Oct 06 11:09:58 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    - ✅ File type context in MS Office errors
    - ✅ Archive type in archive extractor errors
    
    ## Testing Best Practices
    
    1. **Isolation**: Each test is independent and doesn't affect others
    2. **Clarity**: Test names clearly describe what is being tested
    3. **Coverage**: Both success and failure paths are tested
    4. **Edge Cases**: Null, empty, and boundary conditions are covered
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Nov 19 08:55:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

     *          Javadoc description provided.<br>
     *          <i>NOTE: While this is not a required part of the Mojo specification, it <b>SHOULD</b> be provided to
     *          enable future tool support for browsing, etc. and for clarity.</i>
     *      </td>
     *   </tr>
     *   <tr>
     *      <td>parameters</td>
     *      <td>N/A</td>
     *      <td>No</td>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. CODE_OF_CONDUCT.md

    ### 1. Correction
    
    **Community Impact**: Use of inappropriate language or other behavior deemed
    unprofessional or unwelcome in the community.
    
    **Consequence**: A private, written warning from community leaders, providing
    clarity around the nature of the violation and an explanation of why the
    behavior was inappropriate. A public apology may be requested.
    
    ### 2. Warning
    
    **Community Impact**: A violation through a single incident or series
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 17 06:18:13 GMT 2024
    - 5K bytes
    - Click Count (0)
  10. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

    "Modified Works" shall mean any work in Source Code or other form that
    results from an addition to, deletion from, or modification of the
    contents of the Program, including, for purposes of clarity any new file
    in Source Code form that contains any contents of the Program. Modified
    Works shall not include works that contain only declarations,
    interfaces, types, classes, structures, or files of the Program solely
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jun 04 06:45:16 GMT 2024
    - 13.9K bytes
    - Click Count (0)
Back to Top