Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MongoShake
/ types & classes
Types & classes
171 in github.com/alibaba/MongoShake
⨍
Functions
933
◇
Types & classes
171
↓ 2 callers
Class
MongoCluster
tools/mongodb-schema.py:30
↓ 2 callers
Class
MongoCluster
scripts/comparison_3x.py:28
↓ 2 callers
Class
MongoCluster
scripts/comparison.py:27
↓ 1 callers
TypeAlias
ObjectId
Copy From bson.go(gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22)
tools/mongo_id.go:12
Struct
AutologousFilter
collector/filter/oplog_filter.go:172
Struct
BarrierMatrix
BarrierMatrix only split oplogs into segments. without convert stage stage.
executor/collision_matrix.go:332
Interface
BasicWriter
executor/db_writer.go:24
Struct
BatchGroupExecutor
executor/executor.go:44
Struct
Batcher
Batcher is used to batch oplog before sending in order to improve performance.
collector/batcher.go:58
Struct
BulkWriter
BulkWriter use general bulk interface such like Insert/Update/Delete to execute command
executor/db_writer_bulk.go:19
Struct
ChangeStreamConn
common/change_stream.go:21
Struct
CheckUniqueIndexExistsJob
collector/coordinator/extra_job.go:56
Struct
Checkpoint
common/fcv.go:39
Struct
CheckpointContext
collector/ckpt/ckpt_operation.go:28
Struct
CheckpointManager
collector/ckpt/ckpt_manager.go:16
Interface
CheckpointOperation
collector/ckpt/ckpt_operation.go:45
Struct
ChecksumCalculator
* * ====== ChecksumCoder ======= * */
modules/checksum.go:12
Struct
ChunkDoc
tools/pre-split/pre_split.go:105
Struct
ChunkDoc
sharding/sharding_operation.go:106
Struct
ChunkRange
sharding/sharding_operation.go:54
Struct
CollectionExecutor
collector/docsyncer/doc_executor.go:23
Struct
CollectionMetric
collector/docsyncer/metric.go:13
Interface
CollisionMatrix
executor/collision_matrix.go:28
Struct
CommandOperation
oplog/cmd_oplog.go:9
Struct
CommandWriter
CommandWriter use run_command to execute command
executor/db_writer_command.go:16
Interface
Compress
modules/compress.go:33
Struct
Compressor
* * ====== Compressor ======= * */
modules/compress.go:78
Struct
Config
tunnel/kafka/common.go:34
Struct
Configuration
receiver/configure/configure.go:3
Struct
Configuration
collector/configure/configure.go:9
Struct
Configuration
common/fcv.go:52
Struct
Cursor
Cursor
oplog/change_stream_event_test.go:46
TypeAlias
DBChunkMap
sharding/sharding_operation.go:70
Struct
DBSyncer
DBSyncer (1 shard -> 1 DBSyncer)
collector/docsyncer/doc_syncer.go:313
Struct
DBTransform
collector/transform/transform.go:44
Struct
DDLFilter
collector/filter/oplog_filter.go:207
Struct
DataFile
tunnel/file_writer.go:53
Struct
Deflate
modules/compress.go:235
Struct
DirectWriter
tunnel/direct_writer.go:12
Struct
DocCollections
DocCollections is for result of config.collections
oplog/change_stream_event_test.go:59
Struct
DocExecutor
collector/docsyncer/doc_executor.go:125
Interface
DocFilter
DocFilter: AutologousFilter, NamespaceFilter
collector/filter/doc_filter.go:54
TypeAlias
DocFilterChain
collector/filter/doc_filter.go:58
Struct
DocumentReader
DocumentReader is the reader for single piece
collector/docsyncer/doc_reader.go:293
Struct
DocumentSplitter
DocumentSplitter pre-split the big collection into several pieces
collector/docsyncer/doc_reader.go:20
Struct
ElectionEntry
quorum/quorum.go:65
Struct
Event
Event example: * { _id : { // 存储元信息 "_data" : <BinData|hex string> // resumeToken }, "operationType" : "<operation>", // insert, delete, replace,
oplog/change_stream_event.go:71
Struct
EventReader
collector/reader/event_reader.go:21
Struct
ExampleReplayer
receiver/replayer.go:17
Struct
Executor
executor/executor.go:169
Struct
ExecutorInfo
executor/executor.go:410
Struct
Exit
cmd/receiver/receiver.go:21
Struct
Exit
cmd/collector/collector.go:24
Struct
FakeGenerator
tunnel/mock_reader.go:26
Interface
Fcv
common/fcv.go:35
Struct
FileHeader
** * File Structure * * |----- Header ------|------ OplogBlock ------|------ OplogBlock --------| ...... * |<--- 32bytes ---->| * */
tunnel/file_writer.go:46
Struct
FileReader
tunnel/file_reader.go:13
Struct
FileWriter
tunnel/file_writer.go:27
Struct
GZip
modules/compress.go:135
Struct
GenericOplog
oplog/oplog.go:21
Struct
GidFilter
collector/filter/oplog_filter.go:145
Interface
Hasher
oplog/hasher.go:20
Struct
HttpApiCheckpoint
HttpApiCheckpoint for http api
collector/ckpt/ckpt_operation.go:173
Struct
IndexInfo
below structs are for decode result of listIndexes IndexInfo
oplog/change_stream_event_test.go:35
Struct
IndexNS
collector/docsyncer/doc_syncer.go:224
Struct
Info
collector/syncer.go:745
Struct
InnerQueue
queue size info
collector/syncer.go:801
TypeAlias
Int64Slice
common/mix.go:22
Struct
Item
executor/executor.go:404
Struct
Journal
journal/journal.go:29
Struct
KafkaReader
tunnel/kafka_reader.go:11
Struct
KafkaWriter
tunnel/kafka_writer.go:37
Struct
ListIndexesResult
ListIndexesResult
oplog/change_stream_event_test.go:53
Struct
ListenSocket
tunnel/tcp_reader.go:24
Struct
LogsGroupCombiner
executor/combiner.go:22
Struct
Message
tunnel/kafka/common.go:27
Struct
MessageWithCallback
receiver/replayer.go:31
Struct
MetricDelta
struct used to mark the metric delta. Value: current value Delta: the difference between current value and previous value previous: store the previous
common/metric.go:29
Struct
MigrateFilter
collector/filter/oplog_filter.go:215
Struct
MockReader
tunnel/mock_reader.go:22
Struct
MockWriter
tunnel/mock_writer.go:9
Interface
Module
collector/write_controller.go:24
Struct
MongoCheckpoint
MongoCheckpoint for mongo
collector/ckpt/ckpt_operation.go:59
Struct
MongoCommunityConn
common/community_client.go:25
Struct
MongoSource
************************************************/
common/db_opertion.go:39
Struct
MongoTime
collector/syncer.go:740
Struct
NS
common/session.go:17
Struct
NamespaceFilter
NamespaceFilter because regexp use the default perl engine which is not support inverse match, so use two rules to match
collector/filter/oplog_filter.go:224
Struct
NamespaceTransform
collector/transform/transform.go:14
Struct
NoopFilter
collector/filter/oplog_filter.go:200
Struct
NoopMatrix
executor/collision_matrix.go:35
Struct
OpTypeFilter
OpTypeFilter filters oplogs by oplog op type instead of only command oplogs.
collector/filter/oplog_filter.go:32
Interface
OplogFilter
OplogFilter include: AutologousFilter, NamespaceFilter, GidFilter, NoopFilter, DDLFilter
collector/filter/oplog_filter.go:15
TypeAlias
OplogFilterChain
collector/filter/oplog_filter.go:19
Interface
OplogHandler
collector/syncer.go:41
Struct
OplogReader
OplogReader represents stream reader from mongodb that specified by an url. And with query options. user can iterate oplogs.
collector/reader/oplog_reader.go:42
Struct
OplogRecord
executor/collision_matrix.go:19
Struct
OplogSyncer
OplogSyncer poll oplogs from original source MongoDB.
collector/syncer.go:47
Struct
OplogUniqueIdentifier
executor/collision_matrix.go:50
Struct
OplogsGroup
executor/combiner.go:7
next →
1–100 of 171, ranked by callers