Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MongoShake
/ functions
Functions
933 in github.com/alibaba/MongoShake
⨍
Functions
933
◇
Types & classes
171
↓ 1 callers
Method
shouldFilterApplyOpsInnerOp
shouldFilterApplyOpsInnerOp reports whether the given inner applyOps op should be filtered by the current DML filter configuration.
collector/filter/oplog_filter.go:135
↓ 1 callers
Method
shouldStall
()
collector/worker.go:120
↓ 1 callers
Method
splitSync
(reader *DocumentReader, colExecutor *CollectionExecutor, collectionMetric *CollectionMetric)
collector/docsyncer/doc_syncer.go:524
↓ 1 callers
Method
start
()
collector/docsyncer/doc_executor.go:157
↓ 1 callers
Method
start
()
executor/executor.go:219
↓ 1 callers
Method
start
()
tunnel/mock_reader.go:44
↓ 1 callers
Method
startBatcher
fetch all oplog from logs queue, batched together and then send to different workers.
collector/syncer.go:240
↓ 1 callers
Method
startNewGroup
(log *OplogRecord)
executor/combiner.go:72
↓ 1 callers
Function
startup
this is the main connector function
cmd/receiver/receiver.go:106
↓ 1 callers
Function
startup
()
cmd/collector/collector.go:123
↓ 1 callers
Method
startup
()
common/metric.go:119
↓ 1 callers
Method
streamer
(state *txnState, opChan chan<- *GenericOplog, errChan chan<- error)
oplog/txn_buffer.go:205
↓ 1 callers
Function
test_full_sync
()
scripts/run_sys_test.py:206
↓ 1 callers
Function
test_incr_sync
()
scripts/run_sys_test.py:232
↓ 1 callers
Method
timer
()
common/speed.go:64
↓ 1 callers
Method
transfer
* * * [ 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 callers
Method
valid
()
tunnel/tcp_writer.go:110
↓ 1 callers
Method
writeKafka
()
tunnel/kafka_writer.go:193
Method
AckRequired
()
tunnel/file_writer.go:162
Method
AckRequired
()
tunnel/mock_writer.go:29
Method
AckRequired
()
tunnel/tcp_writer.go:245
Method
AckRequired
()
tunnel/direct_writer.go:48
Method
AckRequired
()
tunnel/rpc_writer.go:80
Method
AckRequired
KafkaWriter.AckRequired() is always false, return 0 directly
tunnel/kafka_writer.go:104
Method
AddTableOps
(table string, n uint64)
common/metric.go:314
Method
AddWriteFailed
(incr uint64)
common/metric.go:323
Function
AlwaysMaster
()
quorum/quorum.go:57
Function
ApplyOpsFilter
(key string)
common/db_opertion.go:103
Function
BecomeMaster
(uri string, db string)
quorum/quorum.go:84
Method
Begin
(userName, password, authzID string)
tunnel/kafka/saram_client.go:21
Method
Close
()
common/metric.go:105
Method
Compress
(chunk []byte)
modules/compress.go:152
Method
Compress
(chunk []byte)
modules/compress.go:189
Method
Compress
(chunk []byte)
modules/compress.go:214
Method
Compress
(chunk []byte)
modules/compress.go:252
Function
ConvertBsonM2E
ConvertBsonM2E convert a bson.M with only 1 elem to bson.E, which can be added to other bson.D
oplog/oplog.go:203
Method
Crash
(args ...any)
pkg/log/logger.go:276
Function
CreateReader
(fetchMethod string, src string, replset string)
collector/reader/reader.go:25
Method
Critical
(format string, args ...any)
pkg/log/logger.go:253
Function
DEBUG_LOG
(arg0 interface{}, args ...interface{})
common/debug.go:8
Method
Debug
(format string, args ...any)
pkg/log/logger.go:237
Method
Decompress
(compressed []byte)
modules/compress.go:164
Method
Decompress
(compressed []byte)
modules/compress.go:193
Method
Decompress
(compressed []byte)
modules/compress.go:226
Method
Decompress
(compressed []byte)
modules/compress.go:264
Function
DelayFor
(ms int64)
common/common.go:105
Method
DistributeOplogByMod
(log *PartialLog, mod int)
oplog/hasher.go:29
Function
DuplicateKey
(err error)
common/common.go:145
Method
EnsureNetwork
fetch next oplog/event
collector/reader/reader.go:15
Method
Fatalln
(args ...any)
pkg/log/logger.go:261
Method
FetchNewestTimestamp
()
collector/reader/oplog_reader.go:297
Method
FetchNewestTimestamp
()
collector/reader/event_reader.go:173
Method
Filter
(docD bson.D, namespace string)
collector/filter/orphan_filter.go:38
Method
Filter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:175
Method
Filter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:203
Method
Filter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:210
Method
Filter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:218
Function
FindFirstErrorIndexAndMessageN
(err error)
common/db_opertion.go:269
Method
Fini
()
collector/syncer.go:180
Method
Fini
()
collector/batcher.go:109
Function
FullSyncInitHttpApi
(port int)
common/http.go:16
Method
GT
(v2 Version)
tools/pre-split/pre_split.go:81
Method
Get
()
collector/ckpt/ckpt_operation.go:119
Method
Get
()
collector/ckpt/ckpt_operation.go:179
Method
Get
()
common/metric.go:223
Method
GetAck
()
collector/worker.go:95
Method
GetAcked
** * Ack offset value * */
tunnel/tunnel.go:224
Function
GetAllNamespace
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
Function
GetAllTimestampInUT
GetAllTimestampInUT is only used in unit test
common/db_opertion.go:229
Function
GetCompressorById
(id uint32)
modules/compress.go:57
Function
GetKey
(log bson.D, wanted string)
common/parse.go:7
Function
GetSafeOptions
()
collector/configure/configure.go:136
Method
GetStatusString
()
common/metric.go:393
Method
GetUnAck
()
collector/worker.go:98
Function
Goodbye
()
common/mix.go:179
Method
Handle
(message *tunnel.WMessage)
modules/checksum.go:22
Method
Handle
(message *tunnel.WMessage)
modules/compress.go:100
Method
Handle
(log *oplog.PartialLog)
collector/syncer.go:730
Function
HasDuplicated
func ParseIntFromInterface(input interface{}) (int64, error) { switch src := input.(type) { case int: return int64(src), nil case int8: return
common/mix.go:111
Method
HasUnAck
()
collector/worker.go:91
Function
HaveIdIndexKey
HaveIdIndexKey return true if index key is just '_id'
common/common.go:150
Method
Id
()
modules/compress.go:148
Method
Id
()
modules/compress.go:185
Method
Id
()
modules/compress.go:210
Method
Id
()
modules/compress.go:248
Function
IncrSyncInitHttpApi
(port int)
common/http.go:20
Method
Info
(format string, args ...any)
pkg/log/logger.go:241
Method
Insert
(updates *CheckpointContext)
collector/ckpt/ckpt_operation.go:150
Method
Insert
(insert *CheckpointContext)
collector/ckpt/ckpt_operation.go:207
Method
Install
()
modules/checksum.go:18
Method
Install
()
modules/compress.go:87
Function
Int64ToString
(v int64)
common/mix.go:77
Function
IsCollectionCappedError
(err error)
common/db_opertion.go:261
Method
IsCompatible
(v int)
common/fcv.go:48
Method
IsCompatible
(v int)
common/fcv.go:61
Function
IsHTTPPortEnabled
(port int)
common/http.go:43
Method
IsRegistered
()
modules/checksum.go:14
Method
IsRegistered
()
modules/compress.go:83
Method
IterateFilter
(log *oplog.PartialLog)
collector/filter/oplog_filter.go:21
Method
LT
(v2 Version)
tools/pre-split/pre_split.go:73
← previous
next →
601–700 of 933, ranked by callers