Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for closeBitrotReaders (0.16 sec)

  1. cmd/erasure-healing.go

    			// Heal each part. erasure.Heal() will write the healed
    			// part to .minio/tmp/uuid/ which needs to be renamed
    			// later to the final location.
    			err = erasure.Heal(ctx, writers, readers, partSize, prefer)
    			closeBitrotReaders(readers)
    			closeBitrotWriters(writers)
    			if err != nil {
    				return result, err
    			}
    
    			// outDatedDisks that had write errors should not be
    			// written to for remaining parts, so we nil it out.
    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)
  2. cmd/erasure-object.go

    		// Note: we should not be defer'ing the following closeBitrotReaders() call as
    		// we are inside a for loop i.e if we use defer, we would accumulate a lot of open files by the time
    		// we return from this function.
    		closeBitrotReaders(readers)
    		if err != nil {
    			// If we have successfully written all the content that was asked
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
Back to top