mongosync
mongosync copied to clipboard
mongosync is simple && useful tool to sync data between mongo replicaSet, it is developed by Qihoo's DBA and infrastructure team
编译不成功
[root@h0068020 mongosync-master]# make scons -C ./dep/mongo-cxx-driver --ssl install -j 12 scons: Entering directory `/root/mongosync-master/dep/mongo-cxx-driver' scons: Reading SConscript files ... File "/root/mongosync-master/dep/mongo-cxx-driver/SConstruct", line 507 print env_vars.GenerateHelpText(env) ^ SyntaxError: invalid syntax make:...
In file included from src/mongo/client/bulk_operation_builder.cpp:22: src/mongo/client/dbclientinterface.h: In member function 'virtual void mongo::DBConnector::checkResponse(const char*, int, bool*, std::__cxx11::string*)': src/mongo/client/dbclientinterface.h:598:13: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if( retry ) *retry =...
mongosync这个支持3.0以上的mongodb 同步么
从replicaSet是同步到shard,发现只能同步index,不能同步documents
数据同步过程中,执行大概10分钟之后,源库进程死掉。 mongodb版本号:3.2.3 64位 系统版本号:centos 7.3
1. 是否支持从mongos和shard读入 2 是否支持异构:比如从副本集的secondary读入,写入到mongos 3 全量同步现在是在同步全量数据库后,再追oplog同步吗?
编译通不过
Checking if the POSIX monotonic clock is supported... yes Checking for __thread... no Checking for gcc __atomic builtins... no Checking for useable __sync builtins... no Checking for C++ header file...
这是make的报错:  这是config.log里面的报错: 
Checking for libstdc++ 4.6.0 or better... no Checking if we are on a POSIX system... yes Checking if the POSIX monotonic clock is supported... yes Checking for __thread... no Checking...