()
| 215 | } |
| 216 | |
| 217 | func (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 | |
| 229 | func (s *StateTracker) LastSuccessfulPaginationKey(table string, tableSchema *TableSchema) PaginationKey { |
| 230 | s.CopyRWMutex.RLock() |