MCPcopy Create free account

hub / github.com/alibaba/MongoShake / functions

Functions933 in github.com/alibaba/MongoShake

↓ 1 callersMethodshouldFilterApplyOpsInnerOp
shouldFilterApplyOpsInnerOp reports whether the given inner applyOps op should be filtered by the current DML filter configuration.
collector/filter/oplog_filter.go:135
↓ 1 callersMethodshouldStall
()
collector/worker.go:120
↓ 1 callersMethodsplitSync
(reader *DocumentReader, colExecutor *CollectionExecutor, collectionMetric *CollectionMetric)
collector/docsyncer/doc_syncer.go:524
↓ 1 callersMethodstart
()
collector/docsyncer/doc_executor.go:157
↓ 1 callersMethodstart
()
executor/executor.go:219
↓ 1 callersMethodstart
()
tunnel/mock_reader.go:44
↓ 1 callersMethodstartBatcher
fetch all oplog from logs queue, batched together and then send to different workers.
collector/syncer.go:240
↓ 1 callersMethodstartNewGroup
(log *OplogRecord)
executor/combiner.go:72
↓ 1 callersFunctionstartup
this is the main connector function
cmd/receiver/receiver.go:106
↓ 1 callersFunctionstartup
()
cmd/collector/collector.go:123
↓ 1 callersMethodstartup
()
common/metric.go:119
↓ 1 callersMethodstreamer
(state *txnState, opChan chan<- *GenericOplog, errChan chan<- error)
oplog/txn_buffer.go:205
↓ 1 callersFunctiontest_full_sync
()
scripts/run_sys_test.py:206
↓ 1 callersFunctiontest_incr_sync
()
scripts/run_sys_test.py:232
↓ 1 callersMethodtimer
()
common/speed.go:64
↓ 1 callersMethodtransfer
* * * [ Before transfer ] * * batch |9,10,11| * listSent |1,2,3,4,5,6,7,8| * * [ After transfer ] * * batch | (empty) | * listSent
collector/worker.go:187
↓ 1 callersMethodvalid
()
tunnel/tcp_writer.go:110
↓ 1 callersMethodwriteKafka
()
tunnel/kafka_writer.go:193
MethodAckRequired
()
tunnel/file_writer.go:162
MethodAckRequired
()
tunnel/mock_writer.go:29
MethodAckRequired
()
tunnel/tcp_writer.go:245
MethodAckRequired
()
tunnel/direct_writer.go:48
MethodAckRequired
()
tunnel/rpc_writer.go:80
MethodAckRequired
KafkaWriter.AckRequired() is always false, return 0 directly
tunnel/kafka_writer.go:104
MethodAddTableOps
(table string, n uint64)
common/metric.go:314
MethodAddWriteFailed
(incr uint64)
common/metric.go:323
FunctionAlwaysMaster
()
quorum/quorum.go:57
FunctionApplyOpsFilter
(key string)
common/db_opertion.go:103
FunctionBecomeMaster
(uri string, db string)
quorum/quorum.go:84
MethodBegin
(userName, password, authzID string)
tunnel/kafka/saram_client.go:21
MethodClose
()
common/metric.go:105
MethodCompress
(chunk []byte)
modules/compress.go:152
MethodCompress
(chunk []byte)
modules/compress.go:189
MethodCompress
(chunk []byte)
modules/compress.go:214
MethodCompress
(chunk []byte)
modules/compress.go:252
FunctionConvertBsonM2E
ConvertBsonM2E convert a bson.M with only 1 elem to bson.E, which can be added to other bson.D
oplog/oplog.go:203
MethodCrash
(args ...any)
pkg/log/logger.go:276
FunctionCreateReader
(fetchMethod string, src string, replset string)
collector/reader/reader.go:25
MethodCritical
(format string, args ...any)
pkg/log/logger.go:253
FunctionDEBUG_LOG
(arg0 interface{}, args ...interface{})
common/debug.go:8
MethodDebug
(format string, args ...any)
pkg/log/logger.go:237
MethodDecompress
(compressed []byte)
modules/compress.go:164
MethodDecompress
(compressed []byte)
modules/compress.go:193
MethodDecompress
(compressed []byte)
modules/compress.go:226
MethodDecompress
(compressed []byte)
modules/compress.go:264
FunctionDelayFor
(ms int64)
common/common.go:105
MethodDistributeOplogByMod
(log *PartialLog, mod int)
oplog/hasher.go:29
FunctionDuplicateKey
(err error)
common/common.go:145
MethodEnsureNetwork
fetch next oplog/event
collector/reader/reader.go:15
MethodFatalln
(args ...any)
pkg/log/logger.go:261
MethodFetchNewestTimestamp
()
collector/reader/oplog_reader.go:297
MethodFetchNewestTimestamp
()
collector/reader/event_reader.go:173
MethodFilter
(docD bson.D, namespace string)
collector/filter/orphan_filter.go:38
MethodFilter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:175
MethodFilter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:203
MethodFilter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:210
MethodFilter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:218
FunctionFindFirstErrorIndexAndMessageN
(err error)
common/db_opertion.go:269
MethodFini
()
collector/syncer.go:180
MethodFini
()
collector/batcher.go:109
FunctionFullSyncInitHttpApi
(port int)
common/http.go:16
MethodGT
(v2 Version)
tools/pre-split/pre_split.go:81
MethodGet
()
collector/ckpt/ckpt_operation.go:119
MethodGet
()
collector/ckpt/ckpt_operation.go:179
MethodGet
()
common/metric.go:223
MethodGetAck
()
collector/worker.go:95
MethodGetAcked
** * Ack offset value * */
tunnel/tunnel.go:224
FunctionGetAllNamespace
GetAllNamespace return all namespace. return: @map[NS]struct{}: namespace set where key is the namespace while value is useless, e.g., "a.b"->nil, "a.
common/db_opertion.go:366
FunctionGetAllTimestampInUT
GetAllTimestampInUT is only used in unit test
common/db_opertion.go:229
FunctionGetCompressorById
(id uint32)
modules/compress.go:57
FunctionGetKey
(log bson.D, wanted string)
common/parse.go:7
FunctionGetSafeOptions
()
collector/configure/configure.go:136
MethodGetStatusString
()
common/metric.go:393
MethodGetUnAck
()
collector/worker.go:98
FunctionGoodbye
()
common/mix.go:179
MethodHandle
(message *tunnel.WMessage)
modules/checksum.go:22
MethodHandle
(message *tunnel.WMessage)
modules/compress.go:100
MethodHandle
(log *oplog.PartialLog)
collector/syncer.go:730
FunctionHasDuplicated
func ParseIntFromInterface(input interface{}) (int64, error) { switch src := input.(type) { case int: return int64(src), nil case int8: return
common/mix.go:111
MethodHasUnAck
()
collector/worker.go:91
FunctionHaveIdIndexKey
HaveIdIndexKey return true if index key is just '_id'
common/common.go:150
MethodId
()
modules/compress.go:148
MethodId
()
modules/compress.go:185
MethodId
()
modules/compress.go:210
MethodId
()
modules/compress.go:248
FunctionIncrSyncInitHttpApi
(port int)
common/http.go:20
MethodInfo
(format string, args ...any)
pkg/log/logger.go:241
MethodInsert
(updates *CheckpointContext)
collector/ckpt/ckpt_operation.go:150
MethodInsert
(insert *CheckpointContext)
collector/ckpt/ckpt_operation.go:207
MethodInstall
()
modules/checksum.go:18
MethodInstall
()
modules/compress.go:87
FunctionInt64ToString
(v int64)
common/mix.go:77
FunctionIsCollectionCappedError
(err error)
common/db_opertion.go:261
MethodIsCompatible
(v int)
common/fcv.go:48
MethodIsCompatible
(v int)
common/fcv.go:61
FunctionIsHTTPPortEnabled
(port int)
common/http.go:43
MethodIsRegistered
()
modules/checksum.go:14
MethodIsRegistered
()
modules/compress.go:83
MethodIterateFilter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:21
MethodLT
(v2 Version)
tools/pre-split/pre_split.go:73
← previousnext →601–700 of 933, ranked by callers