Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/ghostferry
/ functions
Functions
1,224 in github.com/Shopify/ghostferry
⨍
Functions
1,224
◇
Types & classes
176
↓ 1 callers
Method
NewControlServer
()
ferry.go:253
↓ 1 callers
Method
NewCursorWithoutRowLock
returns a new Cursor with an embedded copy of itself
cursor.go:60
↓ 1 callers
Method
NewDataIteratorWithoutStateTracker
()
ferry.go:122
↓ 1 callers
Method
NewInlineVerifierWithoutStateTracker
()
ferry.go:269
↓ 1 callers
Method
NewIterativeVerifier
()
ferry.go:275
↓ 1 callers
Function
NewShardedCopyFilter
(config *Config)
sharding/sharding.go:84
↓ 1 callers
Method
NewSourceBinlogStreamer
()
ferry.go:128
↓ 1 callers
Function
NewStandardConfig
()
test/lib/go/integrationferry/ferry.go:178
↓ 1 callers
Function
NewStateTrackerFromSerializedState
serializedState is a state the tracker should start from, as opposed to starting from the beginning.
state_tracker.go:165
↓ 1 callers
Function
NewTableIdentifierFromSchemaTable
(table *TableSchema)
table_schema_cache.go:28
↓ 1 callers
Method
NewTargetBinlogStreamer
()
ferry.go:132
↓ 1 callers
Function
NewTargetVerifier
(targetDB *sql.DB, stateTracker *StateTracker, binlogStreamer *BinlogStreamer)
target_verifier.go:16
↓ 1 callers
Function
NonBinaryCollationError
NonBinaryCollationError exported to facilitate black box testing
table_schema_cache.go:260
↓ 1 callers
Function
NonNumericPaginationKeyError
NonNumericPaginationKeyError exported to facilitate black box testing
table_schema_cache.go:255
↓ 1 callers
Method
NumericPosition
()
pagination_key.go:75
↓ 1 callers
Method
PaginationColumnFor
PaginationColumnFor is a helper function to retrieve the column name to paginate by
config.go:393
↓ 1 callers
Method
PeriodicallyVerifyBinlogEvents
(ctx context.Context)
inline_verifier.go:393
↓ 1 callers
Method
PrepareContext
(ctx context.Context, query string)
sqlwrapper/ghostferry_db.go:24
↓ 1 callers
Function
ProcessListContainsQueries
(db *sql.DB, queries []string)
testhelpers/helper_methods.go:21
↓ 1 callers
Method
QueryContext
(ctx context.Context, query string, args ...interface{})
sqlwrapper/ghostferry_db.go:32
↓ 1 callers
Function
QuoteFields
(fields []string)
utils.go:269
↓ 1 callers
Function
RandByteData
RandByteData returns a slice of random bytes
testhelpers/data_writer.go:24
↓ 1 callers
Function
RandLatin1Data
RandLatin1Data returns a UTF-8 string with valid codepoints for a latin1 charset
testhelpers/data_writer.go:42
↓ 1 callers
Function
RandUTF8MB4Data
RandUTF8MB4Data returns a UTF-8 string with valid codepoints up to U+10FFFF
testhelpers/data_writer.go:33
↓ 1 callers
Method
RemoveVerifiedBatch
(batch BinlogVerifyBatch)
inline_verifier.go:160
↓ 1 callers
Method
ReportError
(from string, err error)
error_handler.go:25
↓ 1 callers
Method
ReportState
ReportState may have a slight performance impact as it will temporarily lock the StateTracker when it is serialized before posting to the callback
ferry.go:1075
↓ 1 callers
Method
RowStatsWrittenPerTable
()
state_tracker.go:217
↓ 1 callers
Method
Run
()
testhelpers/data_writer.go:126
↓ 1 callers
Method
SQLValue
()
pagination_key.go:53
↓ 1 callers
Method
SQLValue
()
pagination_key.go:118
↓ 1 callers
Method
SanityCheckParameters
()
iterative_verifier.go:147
↓ 1 callers
Method
SeedTargetDB
(numberOfRows int)
testhelpers/unit_test_suite.go:73
↓ 1 callers
Method
SetColumnType
(schema, table, column, columnType string, db *sql.DB)
test/go/iterative_verifier_test.go:323
↓ 1 callers
Method
SetDB
(db *sql.DB)
testhelpers/data_writer.go:146
↓ 1 callers
Function
SetGlobalMetrics
(prefix string, sink chan interface{})
metrics.go:35
↓ 1 callers
Method
SetReadonlyOnSourceDbAndStopDataWriter
()
testhelpers/integration_test_case.go:91
↓ 1 callers
Method
SetupTest
()
test/go/iterative_verifier_test.go:400
↓ 1 callers
Method
Sort
(unorderedTables map[*TableSchema]PaginationKey)
data_iterator_sorter.go:17
↓ 1 callers
Method
Start
()
testhelpers/test_ferry.go:80
↓ 1 callers
Method
StartFerryAndDataWriter
()
testhelpers/integration_test_case.go:62
↓ 1 callers
Method
Stop
()
binlog_writer.go:78
↓ 1 callers
Method
Stop
()
testhelpers/data_writer.go:142
↓ 1 callers
Method
StopAndFlush
()
metrics.go:105
↓ 1 callers
Function
StopAndFlushMetrics
()
sharding/metrics.go:43
↓ 1 callers
Method
StopStreamingAndWaitForGhostferryFinish
()
testhelpers/integration_test_case.go:101
↓ 1 callers
Method
String
()
pagination_key.go:79
↓ 1 callers
Method
String
()
pagination_key.go:155
↓ 1 callers
Method
TestCreateDatabaseAndTableWithRewrites
()
copydb/test/copydb_test.go:73
↓ 1 callers
Method
UpdateData
()
testhelpers/data_writer.go:204
↓ 1 callers
Method
UpdateLastSuccessfulPaginationKey
(table string, paginationKey PaginationKey, rowStats RowStats)
state_tracker.go:196
↓ 1 callers
Method
VerifyData
()
testhelpers/integration_test_case.go:111
↓ 1 callers
Method
VerifyDuringCutover
()
inline_verifier.go:500
↓ 1 callers
Method
VerifyDuringCutover
()
verifier.go:115
↓ 1 callers
Method
WithGroup
WithGroup returns a new handler that nests all subsequent attribute keys under the given group name, using a dot separator (e.g. "db.host").
slog_handler.go:72
↓ 1 callers
Method
WriteData
(i int)
testhelpers/data_writer.go:150
↓ 1 callers
Function
add_to_load_path
(path)
test/test_helper.rb:14
↓ 1 callers
Function
annotate
(queries []string, marginalia string)
test/go/race_conditions_integration_test.go:20
↓ 1 callers
Function
buildStringListForValues
(columns []schema.TableColumn, values []interface{})
dml_events.go:350
↓ 1 callers
Function
buildStringMapForSet
(columns []schema.TableColumn, values []interface{})
dml_events.go:386
↓ 1 callers
Method
checkConnectionForBinlogFormat
(db *sql.DB)
ferry.go:1130
↓ 1 callers
Method
checkForDeprecatedConfig
()
config.go:911
↓ 1 callers
Method
checkSourceForeignKeyConstraints
()
ferry.go:1168
↓ 1 callers
Method
compareCompressedHashes
(targetDb, targetTable string, table *TableSchema, paginationKeys []interface{})
iterative_verifier.go:629
↓ 1 callers
Method
compareHashes
(source, target map[string][]byte)
inline_verifier.go:624
↓ 1 callers
Function
consumeMetrics
(client *statsd.Client, metricsChan chan interface{})
sharding/metrics.go:47
↓ 1 callers
Method
copyPrimaryKeyTables
()
sharding/sharding.go:206
↓ 1 callers
Method
createBinlogSyncer
()
binlog_streamer.go:76
↓ 1 callers
Method
createDatabaseIfExistsOnTarget
(database string)
copydb/copydb.go:137
↓ 1 callers
Method
createTableOnTarget
(database, table string)
copydb/copydb.go:163
↓ 1 callers
Function
cutoverType
(r *http.Request)
control_server.go:395
↓ 1 callers
Method
defaultEventHandler
the default event handler is called for replication binLogEvents that do not have a separate event Handler registered.
binlog_streamer.go:154
↓ 1 callers
Method
default_ghostferry_config
benchmark/ghostferry_benchmark.rb:108
↓ 1 callers
Function
deleteTestRowsToTriggerFailure
(ferry *testhelpers.TestFerry)
test/go/iterative_verifier_integration_test.go:292
↓ 1 callers
Method
deltaCopyJoinedTables
()
sharding/sharding.go:189
↓ 1 callers
Method
flattenRowData
()
row_batch.go:77
↓ 1 callers
Function
fullTableName
(schemaName, tableName string)
table_schema_cache.go:116
↓ 1 callers
Method
generateNewServerId
()
binlog_streamer.go:467
↓ 1 callers
Method
getFingerprintDataFromSourceDb
(schemaName, tableName string, tx *sql.Tx, table *TableSchema, paginationKeys []interface{})
inline_verifier.go:527
↓ 1 callers
Function
getRows
(db *sql.DB, schema, table, paginationKeyColumn string, columns []schema.TableColumn, paginationKeys []interfa
compression_verifier.go:233
↓ 1 callers
Method
getStmt
(query string)
utils.go:184
↓ 1 callers
Method
handleRowsEvent
(ev *replication.BinlogEvent, query []byte)
binlog_streamer.go:396
↓ 1 callers
Function
idExistsOnServer
(id uint32, db *sql.DB)
binlog_streamer.go:487
↓ 1 callers
Function
idsOnServer
(db *sql.DB)
binlog_streamer.go:502
↓ 1 callers
Method
initializeWaitUntilReplicaIsCaughtUpToMasterConnection
()
copydb/copydb.go:111
↓ 1 callers
Method
initializeWaitUntilReplicaIsCaughtUpToMasterConnection
()
sharding/sharding.go:261
↓ 1 callers
Method
isIgnoreFilter
()
sharding/filter.go:275
↓ 1 callers
Method
isIncludeFilter
()
sharding/filter.go:279
↓ 1 callers
Method
iterateTableFingerprints
(table *TableSchema, mismatchedPaginationKeyFunc func(string, *TableSchema) error)
iterative_verifier.go:388
↓ 1 callers
Function
linearInterpolation
(x, x0, y0, x1, y1 int)
config.go:525
↓ 1 callers
Function
logrusWithError
(err error)
logrus_logger.go:46
↓ 1 callers
Function
logrusWithField
--- internal factory functions (called by logger.go dispatch) ---
logrus_logger.go:38
↓ 1 callers
Function
logrusWithFields
(fields Fields)
logrus_logger.go:42
↓ 1 callers
Function
maxPaginationKey
(db *sql.DB, table *TableSchema)
table_schema_cache.go:422
↓ 1 callers
Function
modifyAllRows
(ferry *testhelpers.TestFerry)
test/go/iterative_verifier_integration_test.go:287
↓ 1 callers
Function
newLogrusDefaultLogger
()
logrus_logger.go:50
↓ 1 callers
Function
newSpeedLogRing
(speedLogCount int)
state_tracker.go:115
↓ 1 callers
Method
newStmtFor
(p SqlPreparer, query string)
utils.go:168
↓ 1 callers
Function
newZerologDefaultLogger
()
zerolog_logger.go:128
↓ 1 callers
Method
notifyRowCopyComplete
()
ferry.go:1107
← previous
next →
401–500 of 1,224, ranked by callers