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
paginationKeyColumn
(cascadingPaginationColumnConfig *CascadingPaginationColumnConfig)
table_schema_cache.go:264
↓ 1 callers
Function
parseConfig
()
sharding/cmd/main.go:74
↓ 1 callers
Function
postCallback
(client *http.Client, uri string, body interface{})
http_callback.go:26
↓ 1 callers
Function
quotedColumnNames
(table *TableSchema)
dml_events.go:326
↓ 1 callers
Function
randUnicodeRune
()
testhelpers/data_writer.go:50
↓ 1 callers
Function
randomServerId
()
utils.go:60
↓ 1 callers
Method
remove_all_binaries
test/helpers/ghostferry_helper.rb:13
↓ 1 callers
Method
reset
test/test_helper.rb:49
↓ 1 callers
Method
reverifyPaginationKeys
(table *TableSchema, paginationKeys []interface{})
iterative_verifier.go:515
↓ 1 callers
Method
reverifyUntilStoreIsSmallEnough
(maxIterations int)
iterative_verifier.go:332
↓ 1 callers
Function
rightPadBufferWithZeroBytes
(buffer []byte, padLength int)
dml_events.go:535
↓ 1 callers
Function
rowMd5Selector
(columns []schema.TableColumn, paginationKeyColumn string)
iterative_verifier.go:677
↓ 1 callers
Function
rowSelector
(columns []schema.TableColumn, paginationKeyColumn string)
compression_verifier.go:262
↓ 1 callers
Method
run_ghostferry
(ghostferry_config:, output_dir:, duration: 15)
benchmark/ghostferry_benchmark.rb:151
↓ 1 callers
Function
saveLogState
()
test/go/logger_test.go:27
↓ 1 callers
Function
scriptName
(r *http.Request)
control_server.go:427
↓ 1 callers
Function
setLogrusJSONFormatter
()
logrus_logger.go:67
↓ 1 callers
Function
setLogrusLevel
(level LogLevel)
logrus_logger.go:54
↓ 1 callers
Function
setLogrusOutput
(w io.Writer)
logrus_logger.go:71
↓ 1 callers
Function
setZerologJSONFormatter
()
zerolog_logger.go:148
↓ 1 callers
Function
setZerologLevel
(level LogLevel)
zerolog_logger.go:135
↓ 1 callers
Function
setZerologOutput
(w io.Writer)
zerolog_logger.go:152
↓ 1 callers
Method
setupShardingFerry
()
sharding/testhelpers/unit_test_suite.go:134
↓ 1 callers
Method
shardingKeyIndexHint
(table *ghostferry.TableSchema, indexHint string)
sharding/filter.go:142
↓ 1 callers
Method
shardingKeyIndexName
(table *ghostferry.TableSchema)
sharding/filter.go:161
↓ 1 callers
Function
showDatabases
(c *sql.DB)
table_schema_cache.go:375
↓ 1 callers
Function
showTablesFrom
(c *sql.DB, dbname string)
table_schema_cache.go:401
↓ 1 callers
Method
start
benchmark/ghostferry_benchmark.rb:34
↓ 1 callers
Method
startScriptInBackground
(scriptName string, scriptCmd []string)
control_server.go:457
↓ 1 callers
Method
stop
benchmark/ghostferry_benchmark.rb:42
↓ 1 callers
Method
storeStmt
(query string, stmt *sqlorig.Stmt)
utils.go:178
↓ 1 callers
Method
updateLag
(ctx context.Context)
throttler.go:149
↓ 1 callers
Method
updateLastStreamedPosAndTime
(evTimestamp uint32, evPos mysql.Position, evType string, isResumablePosition bool)
binlog_streamer.go:368
↓ 1 callers
Method
updateRowStatsForTable
(table string, rowStats RowStats)
state_tracker.go:288
↓ 1 callers
Method
updateSpeedLog
(deltaPaginationKey float64)
state_tracker.go:295
↓ 1 callers
Function
usage
()
copydb/cmd/main.go:13
↓ 1 callers
Method
verifyBinlogBatch
Returns a list of mismatched PaginationKeys. Since the mismatches gets re-added to the reverify store, this must return a union of mismatches of finge
inline_verifier.go:811
↓ 1 callers
Method
verifyConfiguredCompression
(tableColumnCompressions TableColumnCompressionConfig)
compression_verifier.go:197
↓ 1 callers
Method
verifyTableChecksum
()
testhelpers/integration_test_case.go:164
↓ 1 callers
Method
waitUntilAutomaticCutoverIsTrue
()
ferry.go:1090
↓ 1 callers
Method
wipe_target
benchmark/ghostferry_benchmark.rb:101
↓ 1 callers
Method
writeEvents
(events []DMLEvent)
binlog_writer.go:90
↓ 1 callers
Function
zerologWithError
(err error)
zerolog_logger.go:121
↓ 1 callers
Function
zerologWithField
--- internal factory functions (called by logger.go dispatch) ---
zerolog_logger.go:103
↓ 1 callers
Function
zerologWithFields
(fields Fields)
zerolog_logger.go:110
Function
AfterInitialize
(f *tf.IntegrationFerry)
test/lib/go/ddl_ghostferry/main.go:16
Method
Annotation
Annotation will return the first prefixed comment on the SQL string, or an error if the query attribute of the DMLEvent is not set
dml_events.go:117
Method
Annotation
()
test/go/binlog_writer_test.go:27
Method
ApplicableDatabases
(dbs []string)
testhelpers/test_table_filter.go:10
Method
ApplicableEvent
(event ghostferry.DMLEvent)
sharding/filter.go:195
Method
ApplicableTables
(tables []*ghostferry.TableSchema)
testhelpers/test_table_filter.go:18
Method
AsSQLString
(schemaName, tableName string)
dml_events.go:170
Method
AsSQLString
(schemaName, tableName string)
dml_events.go:224
Method
AsSQLString
(schemaName, tableName string)
dml_events.go:266
Method
AsSQLString
(_, _ string)
test/go/binlog_writer_test.go:21
Method
BinlogEventListener
Verify that all DMLs against the target are coming from Ghostferry for the duration of the move. Once cutover has completed, we no longer need to perf
target_verifier.go:31
Method
BinlogPosition
()
dml_events.go:107
Method
BinlogPosition
()
test/go/binlog_writer_test.go:25
Method
BuildSelect
(columns []string, table *ghostferry.TableSchema, lastPaginationKey ghostferry.PaginationKey, batchSize uint64
sharding/filter.go:35
Method
ColumnName
()
pagination_key.go:57
Method
ColumnName
()
pagination_key.go:122
Method
Current
(replicaDB *sql.DB)
wait_until_replica_is_caught_up_to_master.go:35
Method
Database
()
dml_events.go:95
Method
Database
()
test/go/binlog_writer_test.go:18
Method
Debug
(args ...any)
zerolog_logger.go:75
Method
Debug
(args ...any)
logrus_logger.go:14
Method
Debugf
(format string, args ...any)
zerolog_logger.go:76
Method
Debugf
(format string, args ...any)
logrus_logger.go:15
Method
DeleteRow
(id int)
test/go/iterative_verifier_test.go:345
Method
Disabled
()
throttler.go:40
Method
Enabled
Enabled always returns true; the ghostferry Logger backend filters by level.
slog_handler.go:25
Method
Error
()
verifier.go:15
Method
Error
()
verifier.go:25
Method
Error
()
batch_writer.go:24
Method
Error
(args ...any)
zerolog_logger.go:81
Method
Error
(args ...any)
logrus_logger.go:20
Method
Error
()
compression_verifier.go:39
Method
Errorf
(format string, args ...any)
zerolog_logger.go:82
Method
Errorf
(format string, args ...any)
logrus_logger.go:21
Method
Exec
(query string, args ...interface{})
sqlwrapper/ghostferry_db.go:74
Method
ExecContext
(ctx context.Context, query string, args ...interface{})
sqlwrapper/ghostferry_db.go:70
Method
Fatal
(from string, err error)
error_handler.go:69
Method
Get
(database, table string)
table_schema_cache.go:333
Method
GetLastStreamedBinlogPosition
()
binlog_streamer.go:339
Method
Handle
Handle converts a slog.Record into a ghostferry Logger call. Attributes from both WithAttrs and the record itself are applied via WithField so they ap
slog_handler.go:32
Method
HandleConfigGet
(w http.ResponseWriter, r *http.Request)
control_server.go:370
Method
HandleConfigPost
(w http.ResponseWriter, r *http.Request)
control_server.go:378
Method
HandleCutover
(w http.ResponseWriter, r *http.Request)
control_server.go:173
Method
HandleIndex
(w http.ResponseWriter, r *http.Request)
control_server.go:152
Method
HandlePause
(w http.ResponseWriter, r *http.Request)
control_server.go:161
Method
HandleScript
(w http.ResponseWriter, r *http.Request)
control_server.go:348
Method
HandleStatus
(w http.ResponseWriter, r *http.Request)
control_server.go:211
Method
HandleStop
(w http.ResponseWriter, r *http.Request)
control_server.go:192
Method
HandleUnpause
(w http.ResponseWriter, r *http.Request)
control_server.go:167
Method
HandleVerify
(w http.ResponseWriter, r *http.Request)
control_server.go:196
Method
Info
(args ...any)
zerolog_logger.go:77
Method
Info
(args ...any)
logrus_logger.go:16
Method
Infof
(format string, args ...any)
zerolog_logger.go:78
Method
Infof
(format string, args ...any)
logrus_logger.go:17
Method
IsMax
()
pagination_key.go:83
← previous
next →
501–600 of 1,224, ranked by callers