MCPcopy Create free account
hub / github.com/Shopify/ghostferry / RowStatsWrittenPerTable

Method RowStatsWrittenPerTable

state_tracker.go:217–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215}
216
217func (s *StateTracker) RowStatsWrittenPerTable() map[string]RowStats {
218 s.CopyRWMutex.RLock()
219 defer s.CopyRWMutex.RUnlock()
220
221 d := make(map[string]RowStats)
222 for k, v := range s.rowStatsWrittenPerTable {
223 d[k] = v
224 }
225
226 return d
227}
228
229func (s *StateTracker) LastSuccessfulPaginationKey(table string, tableSchema *TableSchema) PaginationKey {
230 s.CopyRWMutex.RLock()

Callers 1

ProgressMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected