MCPcopy Create free account

hub / github.com/alibaba/MongoShake / functions

Functions933 in github.com/alibaba/MongoShake

↓ 1 callersMethodId
()
modules/compress.go:35
↓ 1 callersMethodIncr
(table string, n uint64)
common/metric.go:411
↓ 1 callersMethodInit
()
collector/syncer.go:164
↓ 1 callersMethodInit
()
collector/worker.go:69
↓ 1 callersMethodInit
()
collector/docsyncer/doc_syncer.go:379
↓ 1 callersFunctionInitPrometheus
()
common/metric_prom.go:172
↓ 1 callersMethodInsert
Insert save checkpoint
collector/ckpt/ckpt_operation.go:52
↓ 1 callersMethodInstall
** * Module install and initialize. return false on failed * and only invocation on WriteController is preparing */
collector/write_controller.go:31
↓ 1 callersMethodIsAllAcked
()
collector/worker.go:83
↓ 1 callersMethodIsCommitOp
IsCommitOp is commitTransaction oplog
oplog/txn_meta.go:120
↓ 1 callersMethodIsCompatible
(int)
common/fcv.go:36
↓ 1 callersFunctionIsNeedFilterCommand
(operation string)
oplog/cmd_oplog.go:62
↓ 1 callersMethodIsNotNil
()
common/change_stream.go:133
↓ 1 callersMethodIsRegistered
()
collector/write_controller.go:25
↓ 1 callersMethodIsShardCluster
()
collector/configure/configure.go:130
↓ 1 callersFunctionIsShardingToSharding
(fromIsSharding bool, toConn *utils.MongoCommunityConn)
collector/docsyncer/doc_syncer.go:28
↓ 1 callersMethodLink
** * Bridge of tunnel reader and aggregater(replayer) * */
tunnel/tunnel.go:210
↓ 1 callersFunctionLogParsed
(logs []*GenericOplog)
oplog/oplog.go:78
↓ 1 callersMethodMachine
()
tools/mongo_id.go:26
↓ 1 callersMethodMakeCopy
()
common/metric.go:417
↓ 1 callersFunctionMkdirs
(dirs ...string)
common/mix.go:136
↓ 1 callersMethodName
()
modules/compress.go:34
↓ 1 callersFunctionNewBarrierMatrix
()
executor/collision_matrix.go:338
↓ 1 callersFunctionNewCollectionExecutor
(id int, mongoUrl string, ns utils.NS, syncer *DBSyncer, sslRootFile string)
collector/docsyncer/doc_executor.go:49
↓ 1 callersFunctionNewConfig
(rootCaFile string)
tunnel/kafka/common.go:38
↓ 1 callersFunctionNewDeflateCompressor
()
modules/compress.go:239
↓ 1 callersFunctionNewDocumentSplitter
(src, sslRootCaFile string, ns utils.NS)
collector/docsyncer/doc_reader.go:36
↓ 1 callersFunctionNewExampleReplayer
(id int)
receiver/replayer.go:36
↓ 1 callersFunctionNewExecutor
(id int, batchExecutor *BatchGroupExecutor, MongoUrl string)
executor/executor.go:209
↓ 1 callersFunctionNewGZipCompressor
()
modules/compress.go:139
↓ 1 callersFunctionNewOplogReader
NewOplogReader creates reader with mongodb url
collector/reader/oplog_reader.go:66
↓ 1 callersFunctionNewOplogSyncer
NewOplogSyncer return a new OplogSyncer. OplogSyncer is used to fetch oplog from source MongoDB and then send to different workers which can be seen a
collector/syncer.go:104
↓ 1 callersFunctionNewReader
(address string)
tunnel/kafka/reader.go:16
↓ 1 callersFunctionNewSnappyCompressor
()
modules/compress.go:177
↓ 1 callersFunctionNewSyncWriter
(rootCaFile, address string, partitionId int)
tunnel/kafka/sync_writer.go:19
↓ 1 callersFunctionNewTableOps
()
common/metric.go:407
↓ 1 callersFunctionNewWorker
(syncer *OplogSyncer, id uint32)
collector/worker.go:54
↓ 1 callersFunctionNewWriteController
(worker *Worker)
collector/write_controller.go:51
↓ 1 callersFunctionNewZlibCompressor
()
modules/compress.go:201
↓ 1 callersMethodNext
Next returns an oplog by raw bytes which is []byte
collector/reader/oplog_reader.go:105
↓ 1 callersMethodNext
Next returns an oplog by raw bytes which is []byte
collector/reader/event_reader.go:92
↓ 1 callersMethodNextDoc
NextDoc returns a document by raw bytes which is []byte reader.docCursor.Current is valid only before next docCursor.Next(), So must be copy
collector/docsyncer/doc_reader.go:351
↓ 1 callersFunctionObjectIdHex
(s string)
tools/mongo_id.go:14
↓ 1 callersMethodOffer
(batch []*oplog.GenericOplog)
collector/worker.go:102
↓ 1 callersMethodPid
()
tools/mongo_id.go:29
↓ 1 callersMethodPrepare
** * prepare stage of the tunnel such as create the network connection or initialize * something etc before the Send() invocation. * return true
tunnel/tunnel.go:130
↓ 1 callersMethodReadHeader
()
tunnel/file_writer.go:73
↓ 1 callersMethodRestAPI
()
collector/worker.go:317
↓ 1 callersMethodRestAPI
RestAPI restful api
collector/docsyncer/doc_syncer.go:578
↓ 1 callersMethodRestAPI
()
executor/executor.go:409
↓ 1 callersMethodRun
()
collector/docsyncer/doc_reader.go:101
↓ 1 callersFunctionRunCommand
RunCommand is synced from executor.RunCommand
oplog/change_stream_event_test.go:112
↓ 1 callersFunctionRunExtraJob
(RealSourceIncrSync []*utils.MongoSource)
collector/coordinator/extra_job.go:43
↓ 1 callersFunctionRunStatusMessage
(status uint64)
common/common.go:48
↓ 1 callersFunctionSanitizeOptions
()
cmd/collector/sanitize.go:40
↓ 1 callersMethodSetFetchMethod
(method string)
collector/ckpt/ckpt_manager.go:133
↓ 1 callersMethodSetInitSyncFinishTs
(fullSyncFinishPosition int64)
collector/worker.go:79
↓ 1 callersMethodSetOplogAvg
(size int64)
common/metric.go:289
↓ 1 callersMethodSetOplogMax
(max int64)
common/metric.go:284
↓ 1 callersMethodSetOplogPutDelay
(delay int64)
common/metric.go:333
↓ 1 callersMethodSimpleWrite
(input []byte)
tunnel/kafka/sync_writer.go:49
↓ 1 callersMethodSourceIsSharding
()
collector/coordinator/full.go:245
↓ 1 callersMethodStart
Start to polling oplog
collector/syncer.go:198
↓ 1 callersMethodStart
()
collector/docsyncer/doc_syncer.go:390
↓ 1 callersMethodStart
()
collector/docsyncer/doc_executor.go:60
↓ 1 callersMethodStartDiskApply
()
collector/syncer.go:193
↓ 1 callersMethodStartFetcher
reader name
collector/reader/reader.go:11
↓ 1 callersMethodStartFetcher
StartFetcher start fetcher if not exist
collector/reader/event_reader.go:106
↓ 1 callersFunctionStartNamespaceSpecSyncForSharding
(csUrl string, toConn *utils.MongoCommunityConn, nsTrans *transform.NamespaceTransform)
collector/docsyncer/doc_syncer.go:106
↓ 1 callersMethodStartWorker
()
collector/worker.go:144
↓ 1 callersMethodStop
Stop shuts down processing and cleans up. Subsequent calls to Stop() will return nil. All other methods error after this is called.
oplog/txn_buffer.go:267
↓ 1 callersMethodSuccess
()
common/metric.go:231
↓ 1 callersMethodSyncToDisk
()
tunnel/file_writer.go:99
↓ 1 callersMethodToBytes
(order binary.ByteOrder)
tunnel/tunnel.go:61
↓ 1 callersMethodTps
()
common/metric.go:235
↓ 1 callersFunctionTxnOpTimeIsEmpty
TxnOpTimeIsEmpty returns true if opTime is uninitialized, false otherwise.
oplog/txn_optime.go:39
↓ 1 callersFunctionTxnOpTimeLessThan
TxnOpTimeLessThan returns true if lhs comes before rhs, false otherwise. We first check if both the terms exist. If they don't or they're equal, we co
oplog/txn_optime.go:69
↓ 1 callersMethodUpdateQueryTimestamp
(ts int64)
collector/reader/oplog_reader.go:95
↓ 1 callersMethodWriteHeader
()
tunnel/file_writer.go:57
↓ 1 callersFunctionWritePid
(id string)
common/common.go:92
↓ 1 callersFunctionYieldInMs
(n int64)
common/mix.go:18
↓ 1 callersFunction_Open
(path string)
tunnel/file_writer.go:131
↓ 1 callersFunctionaddCACertFromFile
(cfg *tls.Config, file string)
common/community_client.go:31
↓ 1 callersFunctionbsonDocToOplog
(doc bson.D)
oplog/txn_buffer.go:395
↓ 1 callersMethodbufferInput
(input []byte)
collector/persister.go:188
↓ 1 callersFunctionbuildMetadata
(oplog *oplog.PartialLog)
executor/operation.go:253
↓ 1 callersFunctioncaptureStdout
(t *testing.T, run func())
pkg/log/logger_test.go:16
↓ 1 callersFunctioncheck
(src, dst)
tools/mongodb-schema.py:64
↓ 1 callersFunctioncheck
(src, dst)
scripts/comparison_3x.py:55
↓ 1 callersFunctioncheck
(src, dst)
scripts/comparison.py:54
↓ 1 callersFunctioncheckConnection
()
cmd/collector/sanitize.go:350
↓ 1 callersFunctioncheckMasterQuorumOptions
()
cmd/collector/sanitize.go:316
↓ 1 callersMethodcheckShutdown
()
collector/syncer.go:669
↓ 1 callersMethodcollectionSync
start sync single collection
collector/docsyncer/doc_syncer.go:466
↓ 1 callersFunctioncompeteMaster
(coll *mongo.Collection)
quorum/quorum.go:171
↓ 1 callersMethodconsume
(pipe <-chan *TMessage)
tunnel/file_reader.go:48
↓ 1 callersFunctioncovertToWhiteDBRule
(input []string)
collector/filter/oplog_filter.go:252
↓ 1 callersFunctiondata_comparison
(srcColl, dstColl, mode)
scripts/comparison_3x.py:178
↓ 1 callersFunctiondata_comparison
(srcColl, dstColl, mode)
scripts/comparison.py:148
↓ 1 callersMethoddeserializer
(index int)
collector/syncer.go:455
← previousnext →401–500 of 933, ranked by callers