Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for SetIndex (0.48 sec)

  1. cmd/mrf.go

    // but not written in all disks (having quorum)
    type PartialOperation struct {
    	Bucket              string
    	Object              string
    	VersionID           string
    	Versions            []byte
    	SetIndex, PoolIndex int
    	Queued              time.Time
    	BitrotScan          bool
    }
    
    // mrfState sncapsulates all the information
    // related to the global background MRF.
    type mrfState struct {
    	opCh chan PartialOperation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-drive.go

    		return nil
    	}
    
    	for _, disk := range driveMetrics.storageInfo.Disks {
    		labels := []string{
    			driveL, disk.DrivePath,
    			poolIndexL, strconv.Itoa(disk.PoolIndex),
    			setIndexL, strconv.Itoa(disk.SetIndex),
    			driveIndexL, strconv.Itoa(disk.DiskIndex),
    		}
    
    		m.setDriveBasicMetrics(disk, labels)
    		if dm, found := driveMetrics.ioStats[disk.DrivePath]; found {
    			m.setDriveIOStatMetrics(dm, labels)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    					healOnce.Do(func() {
    						globalMRFState.addPartialOp(PartialOperation{
    							Bucket:     bucket,
    							Object:     object,
    							VersionID:  fi.VersionID,
    							Queued:     time.Now(),
    							SetIndex:   er.setIndex,
    							PoolIndex:  er.poolIndex,
    							BitrotScan: errors.Is(err, errFileCorrupt),
    						})
    					})
    					// Healing is triggered and we have written
    					// successfully the content to client for
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    		poolInfo, ok := poolsInfo[d.PoolIndex]
    		if !ok {
    			poolInfo = make(map[int]madmin.ErasureSetInfo)
    		}
    		erasureSet, ok := poolInfo[d.SetIndex]
    		if !ok {
    			erasureSet.ID = d.SetIndex
    			cache := dataUsageCache{}
    			if err := cache.load(ctx, z.serverPools[d.PoolIndex].sets[d.SetIndex], dataUsageCacheName); err == nil {
    				dataUsageInfo := cache.dui(dataUsageRoot, nil)
    				erasureSet.ObjectsCount = dataUsageInfo.ObjectsTotalCount
    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. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_CONTENTS_ANALYZER, "title_contents_analyzer");
            analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_CONTENTS_READING_ANALYZER, "");
            runner.client().prepareIndex().setIndex(suggester.settings().analyzer().getAnalyzerSettingsIndexName()).setSource(analyzerMapping)
                    .setRefreshPolicy(WriteRequest.RefreshPolicy.WAIT_UNTIL).execute().actionGet();
            suggester.settings().analyzer().init();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            try {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
                final UpdateRequestBuilder builder =
                        ComponentUtil.getSearchEngineClient().prepareUpdate().setIndex(fessConfig.getIndexDocumentUpdateIndex()).setId(id);
                builderLambda.accept(builder);
                final UpdateResponse response = builder.execute().actionGet(fessConfig.getIndexIndexTimeout());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                        final BulkRequestBuilder bulkRequest = client.prepareBulk();
                        for (final SearchHit hit : hits) {
                            bulkRequest.add(client.prepareDelete().setIndex(hit.getIndex()).setId(hit.getId()));
                        }
                        return bulkRequest.execute();
                    });
                    if (bulkResponse.hasFailures()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. 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 {
    		// Check if there is any offline disk and add it to the MRF list
    		for _, disk := range onlineDisks {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    			if ok {
    				continue
    			}
    		}
    
    		if disk.PoolIndex > -1 && disk.SetIndex > -1 {
    			if disk.State == madmin.DriveStateOk {
    				si := erasureSetUpCount[disk.PoolIndex][disk.SetIndex]
    				si.online++
    				if disk.Healing {
    					si.healing++
    					drivesHealing++
    				}
    				erasureSetUpCount[disk.PoolIndex][disk.SetIndex] = si
    			}
    		}
    	}
    
    	b := z.BackendInfo()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    		opts.Error = fmt.Sprintf("unable to heal %d missing blocks on drives", b)
    	}
    
    	opts.Tags = map[string]string{
    		"healObject": auditObjectOp{
    			Name: opts.Object,
    			Pool: er.poolIndex + 1,
    			Set:  er.setIndex + 1,
    		}.String(),
    	}
    
    	auditLogInternal(ctx, opts)
    }
    
    // Heals an object by re-writing corrupt/missing erasure blocks.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
Back to top