Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 234 for related (0.19 sec)

  1. cmd/metacache-manager.go

    	trash:   make(map[string]metacache),
    }
    
    type metacacheManager struct {
    	mu      sync.RWMutex
    	init    sync.Once
    	buckets map[string]*bucketMetacache
    	trash   map[string]metacache // Recently deleted lists.
    }
    
    const metacacheMaxEntries = 5000
    
    // initManager will start async saving the cache.
    func (m *metacacheManager) initManager() {
    	// Add a transient bucket.
    	// Start saver when object layer is ready.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    		time.Sleep(5 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    		dm1st.Unlock(context.Background())
    	}()
    
    	dm2nd.Lock(id, source)
    
    	// fmt.Printf("2nd lock obtained after 1st lock is released\n")
    	time.Sleep(testDrwMutexRefreshCallTimeout * 2)
    
    	dm2nd.Unlock(context.Background())
    }
    
    // Test three locks for same resource, one succeeds, one fails (after timeout)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  3. chainable_api.go

    // By default, GORM uses soft deletion, marking records as "deleted"
    // by setting a timestamp on a specific field (e.g., `deleted_at`).
    // Unscoped allows queries to include records marked as deleted,
    // overriding the soft deletion behavior.
    // Example:
    //    var users []User
    //    db.Unscoped().Find(&users)
    //    // Retrieves all users, including deleted ones.
    func (db *DB) Unscoped() (tx *DB) {
    	tx = db.getInstance()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  4. cmd/bucket-replication.go

    // then be retried by healing. In the case of permanent deletes, until the replication is completed on the
    // target cluster, the object version is marked deleted on the source and hidden from listing. It is permanently
    // deleted from the source when the VersionPurgeStatus changes to "Complete", i.e after replication succeeds
    // on target.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. operator/cmd/mesh/manifest_shared_test.go

    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    		// TestMode is required to not wait in the go client for resources that will never be created in the test server.
    		helmreconciler.TestMode = true
    		// Add install and controller to the list of commands to run tests against.
    		testedManifestCmds = append(testedManifestCmds, cmdApply, cmdController)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. cmd/erasure-healing-common_test.go

    	// the FileInfo which has read quorum.
    	fi1 := FileInfo{
    		Volume:         "mybucket",
    		Name:           "myobject",
    		VersionID:      "",
    		IsLatest:       true,
    		Deleted:        false,
    		ExpireRestored: false,
    		DataDir:        "4a01d9dd-0c5e-4103-88f8-b307c57d212e",
    		XLV1:           false,
    		ModTime:        time.Date(2023, time.March, 15, 11, 18, 4, 989906961, time.UTC),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  7. cmd/peer-rest-server.go

    	bucketInfo, err := getBucketInfoLocal(context.Background(), bucket, BucketOptions{
    		Deleted: bucketDeleted,
    	})
    	if err != nil {
    		return info, grid.NewRemoteErr(err)
    	}
    
    	return &VolInfo{
    		Name:    bucketInfo.Name,
    		Created: bucketInfo.Created,
    	}, nil
    }
    
    // DeleteBucketHandler implements peer delete bucket call.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  8. internal/kms/kes.go

    	"sync"
    	"time"
    
    	"github.com/minio/pkg/v2/env"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/pkg/v2/certs"
    )
    
    const (
    	tlsClientSessionCacheSize = 100
    )
    
    // Config contains various KMS-related configuration
    // parameters - like KMS endpoints or authentication
    // credentials.
    type Config struct {
    	// Endpoints contains a list of KMS server
    	// HTTP endpoints.
    	Endpoints []string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-utils_test.go

    func TestGetFileInfoVersions(t *testing.T) {
    	basefi := FileInfo{
    		Volume:           "volume",
    		Name:             "object-name",
    		VersionID:        "756100c6-b393-4981-928a-d49bbc164741",
    		IsLatest:         true,
    		Deleted:          false,
    		TransitionStatus: "",
    		DataDir:          "bffea160-ca7f-465f-98bc-9b4f1c3ba1ef",
    		XLV1:             false,
    		ModTime:          time.Now().UTC(),
    		Size:             0,
    		Mode:             0,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. internal/config/drive/drive.go

    )
    
    // DefaultKVS - default KVS for drive
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   MaxTimeout,
    		Value: "",
    	},
    }
    
    var configLk sync.RWMutex
    
    // Config represents the subnet related configuration
    type Config struct {
    	// MaxTimeout - maximum timeout for a drive operation
    	MaxTimeout time.Duration `json:"maxTimeout"`
    }
    
    // Update - updates the config with latest values
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top