MCPcopy Create free account
hub / github.com/couchbase/cbft / CopyPartitionStats

Struct CopyPartitionStats

pindex_copy_request.go:38–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38type CopyPartitionStats struct {
39 TotCopyPartitionStart int32
40 TotCopyPartitionSkipped int32
41
42 TotCopyPartitionServerErrors int32
43 TotCopyPartitionChecksumErrors int32
44 TotCopyPartitionErrors int32
45
46 TotCopyPartitionRetries int32
47 TotCopyPartitionFailed int32
48 TotCopyPartitionFinished int32
49 TotCopyPartitionCancelled int32
50 TotCopyPartitionTimeInMs int32
51 TotCopyPartitionOnHttp2 int32
52
53 CopyPartitionNumBytesExpected int32
54 CopyPartitionNumBytesReceived int32
55}
56
57func (s *CopyPartitionStats) WriteJSON(w io.Writer) {
58 t := atomic.LoadInt32(&s.TotCopyPartitionStart)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected