Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for errFileNotFound (0.14 sec)

  1. cmd/format-erasure.go

    		return nil, err
    	}
    
    	tmpOld := pathJoin(export, minioMetaTmpDeletedBucket, mustGetUUID())
    	if err := renameAll(pathJoin(export, minioMetaMultipartBucket),
    		tmpOld, export); err != nil && err != errFileNotFound {
    		bootLogIf(GlobalContext, fmt.Errorf("unable to rename (%s -> %s) %w, drive may be faulty please investigate",
    			pathJoin(export, minioMetaMultipartBucket),
    			tmpOld,
    			osErrToFileErr(err)))
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/metacache-server-pool.go

    			if err := renameAll(pathJoin(epPath, minioMetaBucket, metacachePrefixForID(name, slashSeparator)),
    				tmpMetacacheOld, epPath); err != nil && err != errFileNotFound {
    				return fmt.Errorf("unable to rename (%s -> %s) %w",
    					pathJoin(epPath, minioMetaBucket+metacachePrefixForID(minioMetaBucket, slashSeparator)),
    					tmpMetacacheOld,
    					osErrToFileErr(err))
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. internal/rest/client.go

    	closed
    )
    
    // NetworkError - error type in case of errors related to http/transport
    // for ex. connection refused, connection reset, dns resolution failure etc.
    // All errors returned by storage-rest-server (ex errFileNotFound, errDiskNotFound) are not considered to be network errors.
    type NetworkError struct {
    	Err error
    }
    
    func (n *NetworkError) Error() string {
    	return n.Err.Error()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	}
    	sb.WriteString("\n")
    	adminLogIf(ctx, embedFileInZip(inspectZipW, "inspect-input.txt", sb.Bytes(), 0o600))
    
    	err := o.GetRawData(ctx, volume, file, rawDataFn)
    	if err != nil {
    		if errors.Is(err, errFileNotFound) {
    			addErr("GetRawData: No files matched the given pattern")
    			return
    		}
    		embedFileInZip(inspectZipW, "GetRawData-err.txt", []byte(err.Error()), 0o600)
    		adminLogIf(ctx, err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    					err = fn(r, disk.Hostname(), disk.Endpoint().Path, pathJoin(volume, si.Name), si)
    					r.Close()
    					if err != nil {
    						return err
    					}
    				}
    			}
    		}
    	}
    	if found == 0 {
    		return errFileNotFound
    	}
    	return nil
    }
    
    // Return the disks belonging to the poolIdx, and setIdx.
    func (z *erasureServerPools) GetDisks(poolIdx, setIdx int) ([]StorageAPI, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    				return nil
    			}
    			volsInfo, err := storageDisks[index].ListDir(ctx, "", minioMetaBucket, pathJoin(bucketMetaPrefix, deletedBucketsPrefix), -1)
    			if err != nil {
    				if errors.Is(err, errFileNotFound) {
    					return nil
    				}
    				return err
    			}
    			for _, volName := range volsInfo {
    				vi, err := storageDisks[index].StatVol(ctx, pathJoin(minioMetaBucket, bucketMetaPrefix, deletedBucketsPrefix, volName))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  7. cmd/data-scanner.go

    						console.Debugf(healObjectsPrefix+" too many errors: %v\n", errs)
    					}
    					cancel()
    				},
    			})
    
    			stopFn()
    			if f.dataUsageScannerDebug && err != nil && err != errFileNotFound {
    				console.Debugf(healObjectsPrefix+" checking returned value %v (%T)\n", err, err)
    			}
    
    			// Add unless healing returned an error.
    			if foundObjs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    }
    
    func (s *storageRESTServer) writeErrorResponse(w http.ResponseWriter, err error) {
    	err = unwrapAll(err)
    	switch err {
    	case errDiskStale:
    		w.WriteHeader(http.StatusPreconditionFailed)
    	case errFileNotFound, errFileVersionNotFound:
    		w.WriteHeader(http.StatusNotFound)
    	case errInvalidAccessKeyID, errAccessKeyDisabled, errNoAuthToken, errMalformedAuth, errAuthentication, errSkewedAuthTime:
    		w.WriteHeader(http.StatusUnauthorized)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    		opts.TargetArn = tgtArn
    		replicate = rcfg.Replicate(opts)
    		// when incoming delete is removal of a delete marker(a.k.a versioned delete),
    		// GetObjectInfo returns extra information even though it returns errFileNotFound
    		if gerr != nil {
    			validReplStatus := false
    			switch oi.TargetReplicationStatus(tgtArn) {
    			case replication.Pending, replication.Completed, replication.Failed:
    				validReplStatus = true
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top