Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 137 for Walker (0.2 sec)

  1. internal/dsync/drwmutex.go

    				noQuorum, err := refreshLock(ctx, dm.clnt, id, source, quorum)
    				if err == nil && noQuorum {
    					// Clean the lock locally and in remote nodes
    					forceUnlock(ctx, dm.clnt, id)
    					// Execute the caller lock loss callback
    					if lockLossCallback != nil {
    						lockLossCallback()
    					}
    					return
    				}
    
    				refreshTimer.Reset(dm.refreshInterval)
    			}
    		}
    	}()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-utils.go

    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, allParts)
    	if err != nil {
    		return fivs, err
    	}
    	n := 0
    	for _, fi := range fivs.Versions {
    		// Filter our tier object delete marker
    		if !fi.TierFreeVersion() {
    			fivs.Versions[n] = fi
    			n++
    		} else {
    			fivs.FreeVersions = append(fivs.FreeVersions, fi)
    		}
    	}
    	fivs.Versions = fivs.Versions[:n]
    	// Update numversions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. cmd/object-handlers-common.go

    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// If top level is a delete marker proceed to upload.
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    		// set common headers
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. tests/tests_test.go

    		// SQLCMDPASSWORD=LoremIpsum86 sqlcmd -U sa -S localhost:9930
    		// CREATE DATABASE gorm;
    		// GO
    		// CREATE LOGIN gorm WITH PASSWORD = 'LoremIpsum86';
    		// CREATE USER gorm FROM LOGIN gorm;
    		// ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];
    		// GO
    		log.Println("testing sqlserver...")
    		if dbDSN == "" {
    			dbDSN = sqlserverDSN
    		}
    		db, err = gorm.Open(sqlserver.Open(dbDSN), cfg)
    	case "tidb":
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  5. cmd/batch-handlers.go

    		ctx, cancel := context.WithCancel(ctx)
    		// one of source/target is s3, skip delete marker and all versions under the same object name.
    		s3Type := r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3
    
    		if err := api.Walk(ctx, r.Source.Bucket, r.Source.Prefix, walkCh, WalkOptions{
    			Marker:   lastObject,
    			Filter:   selectObj,
    			AskDisks: walkQuorum,
    		}); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  6. internal/bucket/replication/replication_test.go

    	testCases := []struct {
    		inputConfig           string
    		expectedParsingErr    error
    		expectedValidationErr error
    		destBucket            string
    		sameTarget            bool
    	}{
    		{ // 1 Invalid delete marker status in replication config
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. src/archive/zip/writer.go

    	}
    	return nil
    }
    
    // CreateHeader adds a file to the zip archive using the provided [FileHeader]
    // for the file metadata. [Writer] takes ownership of fh and may mutate
    // its fields. The caller must not modify fh after calling [Writer.CreateHeader].
    //
    // This returns a [Writer] to which the file contents should be written.
    // The file's contents must be written to the io.Writer before the next
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    	var loi ListObjectsInfo
    	opts := listPathOptions{
    		V1:          v1,
    		Bucket:      bucket,
    		Prefix:      prefix,
    		Separator:   delimiter,
    		Limit:       maxKeysPlusOne(maxKeys, marker != ""),
    		Marker:      marker,
    		InclDeleted: false,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    	if err != nil {
    		return toStorageErr(err)
    	}
    	return toStorageErr(st.Results(func(in []byte) error {
    		_, err := wr.Write(in)
    		return err
    	}))
    }
    
    // WalkDirHandler - remote caller to list files and folders in a requested directory path.
    func (s *storageRESTServer) WalkDirHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) (gerr *grid.RemoteErr) {
    	var opts WalkDirOptions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. cmd/erasure.go

    					return nil
    				})
    			})
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // nsScanner will start scanning buckets and send updated totals as they are traversed.
    // Updates are sent on a regular basis and the caller *must* consume them.
    func (er erasureObjects) nsScanner(ctx context.Context, buckets []BucketInfo, wantCycle uint32, updates chan<- dataUsageCache, healScanMode madmin.HealScanMode) error {
    	if len(buckets) == 0 {
    		return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
Back to top