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

Method IsTableComplete

state_tracker.go:253–258  ·  view source on GitHub ↗
(table string)

Source from the content-addressed store, hash-verified

251}
252
253func (s *StateTracker) IsTableComplete(table string) bool {
254 s.CopyRWMutex.RLock()
255 defer s.CopyRWMutex.RUnlock()
256
257 return s.completedTables[table]
258}
259
260// This is reasonably accurate if the rows copied are distributed uniformly
261// between paginationKey = 0 -> max(paginationKey). It would not be accurate if the distribution is

Callers 1

RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected