Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for replay (6.9 sec)

  1. migrator/migrator.go

    //	q := DB.Model(&User{}).Where("age > ?", 20)
    //	DB.Debug().Migrator().CreateView("user_view", gorm.ViewOption{Query: q})
    //
    //	// CREATE OR REPLACE VIEW `users_view` AS SELECT * FROM `users` WITH CHECK OPTION
    //	q := DB.Model(&User{})
    //	DB.Debug().Migrator().CreateView("user_view", gorm.ViewOption{Query: q, Replace: true, CheckOption: "WITH CHECK OPTION"})
    //
    // [subquery]: https://gorm.io/docs/advanced_query.html#SubQuery
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    	// For each pod IP
    	for _, pip := range podIPs {
    		// Add to host ipset
    		log.Debugf("adding pod %s probe to ipset %s with ip %s", pod.Name, hostsideProbeSet.Prefix, pip)
    		// Add IP/port combo to set. Note that we set Replace to true - a pod ip/port combo already being
    		// in the set is perfectly fine, and something we can always safely overwrite, so we will.
    		if err := hostsideProbeSet.AddIP(pip, ipProto, podUID, true); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  3. cmd/metacache-entries.go

    				return ctx.Err()
    			case out <- *best:
    				last = best.name
    			}
    		} else if serverDebugLog {
    			console.Debugln("mergeEntryChannels: discarding duplicate", best.name, "<=", last)
    		}
    		// Replace entry we just sent.
    		if err := selectFrom(bestIdx); err != nil {
    			return err
    		}
    	}
    }
    
    // merge will merge other into m.
    // If the same entries exists in both and metadata matches only one is added,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    		meta[xhttp.ContentEncoding] = oi.ContentEncoding
    	}
    
    	if oi.ContentType != "" {
    		meta[xhttp.ContentType] = oi.ContentType
    	}
    
    	meta[xhttp.AmzObjectTagging] = oi.UserTags
    	meta[xhttp.AmzTagDirective] = "REPLACE"
    
    	if sc == "" {
    		sc = oi.StorageClass
    	}
    	// drop non standard storage classes for tiering from replication
    	if sc != "" && (sc == storageclass.RRS || sc == storageclass.STANDARD) {
    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. cmd/erasure-healing.go

    		// notFoundPartsErrs is ignored since
    		// - delete marker does not have any parts
    		dataBlocks := (len(errs) + 1) / 2
    		return validMeta, notFoundMetaErrs > dataBlocks
    	}
    
    	// TODO: It is possible to replay the object via just single
    	// xl.meta file, considering quorum number of data-dirs are still
    	// present on other drives.
    	//
    	// However this requires a bit of a rewrite, leave this up for
    	// future work.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    			ReplicaSync:             "enable",
    			ExistingObjectReplicate: "enable",
    		}
    
    		switch {
    		case hasRule:
    			if ruleARN != opts.DestBucket {
    				// remove stale replication rule and replace rule with correct target ARN
    				if len(replicationConfig.Rules) > 1 {
    					err = replicationConfig.RemoveRule(opts)
    				} else {
    					replicationConfig = replication.Config{}
    				}
    				if err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/post-policy_test.go

    			data:                bytes.Repeat([]byte("a"), 1025),
    			expectedRespStatus:  http.StatusNoContent,
    			accessKey:           credentials.AccessKey,
    			secretKey:           credentials.SecretKey,
    			malformedBody:       false,
    			ignoreContentLength: true,
    		},
    		// Failed with entity too small.
    		{
    			objectName:          "test",
    			data:                bytes.Repeat([]byte("a"), 1023),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  8. cni/pkg/ipset/nldeps_mock.go

    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. internal/rest/client.go

    var ErrClientClosed = errors.New("rest client is closed")
    
    // Call - make a REST call with context.
    func (c *Client) Call(ctx context.Context, method string, values url.Values, body io.Reader, length int64) (reply io.ReadCloser, err error) {
    	switch atomic.LoadInt32(&c.connected) {
    	case closed:
    		// client closed, this is usually a manual process
    		// so return a local error as client is closed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  10. internal/grid/grid_test.go

    		}
    		t.Log("Roundtrip:", time.Since(start))
    	})
    
    	t.Run("localToRemoteHuge", func(t *testing.T) {
    		testPayload := bytes.Repeat([]byte("?"), 1<<20)
    
    		start := time.Now()
    		resp, err := remoteConn.Request(context.Background(), handlerTest, testPayload)
    		errFatal(err)
    		if string(resp) != string(testPayload) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
Back to top