Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for isHealed (0.09 sec)

  1. cmd/global-heal.go

    		}
    
    		healingLogIf(ctx, tracker.update(ctx))
    		close(quitting)
    	}()
    
    	var retErr error
    
    	// Heal all buckets with all objects
    	for _, bucket := range healBuckets {
    		if tracker.isHealed(bucket) {
    			continue
    		}
    
    		var forwardTo string
    		// If we resume to the same bucket, forward to last known item.
    		b := tracker.getBucket()
    		if b == bucket {
    			forwardTo = tracker.getObject()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops.go

    	return h.disk.Delete(ctx, minioMetaBucket,
    		pathJoin(bucketMetaPrefix, healingTrackerFilename),
    		DeleteOptions{
    			Recursive: false,
    			Immediate: false,
    		},
    	)
    }
    
    func (h *healingTracker) isHealed(bucket string) bool {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    	for _, v := range h.HealedBuckets {
    		if v == bucket {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. internal/crypto/metadata_test.go

    }
    
    func TestIsETagSealed(t *testing.T) {
    	for i, test := range isETagSealedTests {
    		etag, err := hex.DecodeString(test.ETag)
    		if err != nil {
    			t.Errorf("Test %d: failed to decode etag: %s", i, err)
    		}
    		if sealed := IsETagSealed(etag); sealed != test.IsSealed {
    			t.Errorf("Test %d: got %v - want %v", i, sealed, test.IsSealed)
    		}
    	}
    }
    
    var removeInternalEntriesTests = []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. internal/crypto/sse-s3.go

    		return keyID, kmsKey, sealedKey, Errorf("The internal sealed key for SSE-S3 is invalid")
    	}
    	if idPresent && kmsKeyPresent { // We are using a KMS -> parse the sealed KMS data key.
    		kmsKey, err = base64.StdEncoding.DecodeString(b64KMSSealedKey)
    		if err != nil {
    			return keyID, kmsKey, sealedKey, Errorf("The internal sealed KMS data key for SSE-S3 is invalid")
    		}
    	}
    
    	sealedKey.Algorithm = algorithm
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. internal/crypto/metadata.go

    	// MetaSealedKeySSEC is the sealed object encryption key in case of SSE-C.
    	MetaSealedKeySSEC = "X-Minio-Internal-Server-Side-Encryption-Sealed-Key"
    	// MetaSealedKeyS3 is the sealed object encryption key in case of SSE-S3
    	MetaSealedKeyS3 = "X-Minio-Internal-Server-Side-Encryption-S3-Sealed-Key"
    	// MetaSealedKeyKMS is the sealed object encryption key in case of SSE-KMS
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. internal/crypto/sse-c.go

    	if md5Sum := md5.Sum(clientKey); err != nil || !bytes.Equal(md5Sum[:], keyMD5) {
    		return key, ErrCustomerKeyMD5Mismatch
    	}
    	copy(key[:], clientKey)
    	return key, nil
    }
    
    // UnsealObjectKey extracts and decrypts the sealed object key
    // from the metadata using the SSE-C client key of the HTTP headers
    // and returns the decrypted object key.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. internal/crypto/sse-kms.go

    		return keyID, kmsKey, sealedKey, ctx, Errorf("The internal sealed key for SSE-KMS is invalid")
    	}
    	if idPresent && kmsKeyPresent { // We are using a KMS -> parse the sealed KMS data key.
    		kmsKey, err = base64.StdEncoding.DecodeString(b64KMSSealedKey)
    		if err != nil {
    			return keyID, kmsKey, sealedKey, ctx, Errorf("The internal sealed KMS data key for SSE-KMS is invalid")
    		}
    	}
    	b64Ctx, ok := metadata[MetaContext]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final SystemHelper helper1 = new SystemHelper() {
                @Override
                public long getCurrentTimeAsLong() {
                    return systemHelper.eolTime + 1000L;
                }
            };
            helper1.eolTime = systemHelper.eolTime;
            assertTrue(helper1.isEoled());
            final SystemHelper helper2 = new SystemHelper() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. internal/crypto/key.go

    		logger.CriticalIf(context.Background(), errors.New("Unable to generate sealed key"))
    	}
    	sealedKey := SealedKey{
    		IV:        iv,
    		Algorithm: SealAlgorithm,
    	}
    	copy(sealedKey.Key[:], encryptedKey.Bytes())
    	return sealedKey
    }
    
    // Unseal decrypts a sealed key using the 256 bit external key. Since the sealed key
    // may be cryptographically bound to the object's path the same bucket/object as during sealing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            final boolean eoled = isEoled();
            runtime.registerData("eoled", eoled);
            if (eoled) {
                final String eolLink = fessConfig.getOnlineHelpEol();
                runtime.registerData("eolLink", getHelpUrl(eolLink));
            }
        }
    
        protected boolean isEoled() {
            return getCurrentTimeAsLong() > eolTime;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top