Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 297 for Queued (0.18 sec)

  1. cmd/admin-heal-ops.go

    		if serverDebugLog {
    			fmt.Printf("Task in the queue: %#v\n", task)
    		}
    	case <-h.ctx.Done():
    		return nil
    	}
    
    	countOKDrives := func(drives []madmin.HealDriveInfo) (count int) {
    		for _, drive := range drives {
    			if drive.State == madmin.DriveStateOk {
    				count++
    			}
    		}
    		return count
    	}
    
    	// task queued, now wait for the response.
    	select {
    	case res := <-task.respCh:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils.go

    			sz += t.Size
    		}
    	}
    	return sz
    }
    
    // ReplicationAttempted returns true if replication was attempted on any of the targets for the object version
    // queued
    func (ri replicatedInfos) ReplicationResynced() bool {
    	for _, t := range ri.Targets {
    		if t.Empty() || !t.ReplicationResynced {
    			continue
    		}
    		return true
    	}
    	return false
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom.go

    	Name   string
    	Prefix string
    }
    
    func (db decomBucketInfo) String() string {
    	return pathJoin(db.Name, db.Prefix)
    }
    
    func (p *poolMeta) QueueBuckets(idx int, buckets []decomBucketInfo) {
    	// add new queued buckets
    	for _, bucket := range buckets {
    		p.Pools[idx].Decommission.bucketPush(bucket)
    	}
    }
    
    var (
    	errDecommissionAlreadyRunning = errors.New("decommission is already in progress")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    				continue
    			}
    		}
    		if len(queue) < maxMergeMessages && queueSize+len(toSend) < writeBufferSize-1024 {
    			if len(c.outQueue) == 0 {
    				// Yield to allow more messages to fill.
    				runtime.Gosched()
    			}
    			if len(c.outQueue) > 0 {
    				queue = append(queue, toSend)
    				queueSize += len(toSend)
    				continue
    			}
    		}
    		c.outMessages.Add(int64(len(queue) + 1))
    		if c.outgoingBytes != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    		EventName:  eventName,
    		BucketName: bucket,
    		Object:     objInfo,
    		UserAgent:  "Internal: [Replication]",
    		Host:       globalLocalNodeName,
    	})
    
    	// re-queue failures once more - keep a retry count to avoid flooding the queue if
    	// the target site is down. Leave it to scanner to catch up instead.
    	if rinfos.ReplicationStatus() != replication.Completed {
    		ri.OpType = replication.HealReplicationType
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    	}
    
    	if !opts.Speedtest && len(versions) > 0 {
    		globalMRFState.addPartialOp(PartialOperation{
    			Bucket:    bucket,
    			Object:    object,
    			Queued:    time.Now(),
    			Versions:  versions,
    			SetIndex:  er.setIndex,
    			PoolIndex: er.poolIndex,
    		})
    	}
    
    	if !opts.Speedtest && len(versions) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. internal/event/config_test.go

            </S3Key>
       </Filter>
       <Queue>arn:minio:sqs::1:webhook</Queue>
       <Event>s3:ObjectCreated:Put</Event>
    </QueueConfiguration>`)
    	queue2 := &Queue{}
    	if err := xml.Unmarshal(data, queue2); err != nil {
    		panic(err)
    	}
    
    	testCases := []struct {
    		queue          *Queue
    		region         string
    		expectedResult ARN
    	}{
    		{queue1, "eu-west-1", ARN{TargetID{"1", "webhook"}, "eu-west-1"}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        val snapshot = cache["b"]!!
        snapshot.close()
        assertThat(cache.edit("d")).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
        // On cache misses, no retry job is queued.
        assertThat(cache["c"]).isNull()
        assertThat(taskFaker.isIdle()).isFalse()
    
        // Let the rebuild complete successfully.
        filesystem.setFaultyRename(cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP, false)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top