| 36 | } |
| 37 | |
| 38 | type 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 | |
| 57 | func (s *CopyPartitionStats) WriteJSON(w io.Writer) { |
| 58 | t := atomic.LoadInt32(&s.TotCopyPartitionStart) |
nothing calls this directly
no outgoing calls
no test coverage detected