Why Do Replication Deletes Require sysadmin Access
I am running merge replication with SQL 2012. There seems to be a nasty consequence of the delete triggers added for replication in SQL 2012. Inside the delete triggers are this, select @xe_message =...
View ArticleRAFT election restrictions
I'm learning Raft from scratch with the Raft paper, and I don't get to understand the leader election process. I read in 5.4.1 that a leader needs to have in its log all the committed entries of the...
View ArticleNPE in handleSearchResultEntry Apache DS replication with WSO2 user store
I'm trying to configure ApacheDS 2.0.0-M21 replication. Consumer is an instance of ApacheDS running on one host. Provider is an WSO2 identity server running on another host (and configured to use...
View ArticleHow to force MySQL master to overwrite the slave
We have a LAMP architecture website. Currently we have a production server running on the cloud and each developer has a complete copy of both the code and the database. Code is synced through Git and...
View ArticleThe process could not execute 'sp_replcmds' on 'database_name'
I got an error message in my Log Reader Agent: The process could not execute 'sp_replcmds' on 'Database Name'. I created another agent profile with a large query timeout and a min value to batch, but...
View Articlemysql replication missed quite a lot SQL statement
I have set up a master/slave with mysql-5.1.73 The master's binlog format is "statement". The master and slave seemed running very well with slave status: Slave_IO_Running: Yes Slave_SQL_Running: Yes...
View ArticleMysql replication is enabled but stuck at "waiting for binlog to be...
I have set up replication between an existing database (server-id=23), and a new one (server-id=51). I have followed the steps in this stackoverflow question, but replication is not happening. On the...
View ArticleWrite-lock a whole table during transaction
I need to perform a delicate operation to my table in which I will solely insert, delete and select upon all of my rows and no God may interfere with the table during this operation: the table will be...
View ArticleSlave not getting replicated SERVER_UUID error
Unable to start replication Master-Slave, I have searched a lot for this but unable to get the Server-UUID of both the server. Do we have any solution for this. Scenario: I have created new slave which...
View ArticleComposite Primary keys and auto increment?
i'm developing SaaS app with multi-tenancy, and i've decide to use single DB (MySQL Innodb for now) for client's data. I chose to use composite primary keys like PK(client_id, id). I have 2 ways here,...
View ArticleHow to create regions and zones in OpenStack Swift? [on hold]
I want to add drives from different geographical locations. Like this: swift-ring-builder object.builder add --region USA-east --zone New_York --ip {ip} --port 6000 --device d1 --weight 100...
View ArticleCouchDB 1.6 Replication from two sources
i have a central CouchDB Instance which holds one database with my ddoc's and several databases for my data. The reason to put the ddoc's in a separate database resides in the fact that i use the...
View ArticlePostgres BDR replication stopped - replication slot inactive
Our Postgres BDR database system stopped replicating data between the nodes. When I did a check using the pg_xlog_location_diff I noticed that there is a growing buffer in the replication slot. SELECT...
View ArticleVague replication error code 2005
2015-04-07 13:49:53 23758 [ERROR] Slave I/O: error connecting to master 'replication'@master-host:3306' - retry-time: 60 retries: 1, Error_code: 2005 This was after attempting to do a change master to...
View ArticleDDL doesn't work in MySQL master to master replication while DML can work?
I have two master in replication left master -> 5.5.47-log MySQL Community Server (GPL) rigth master ->5.5.47-log MySQL Community Server (GPL) "left master" mysql> create table test.left (a...
View ArticleCorrupt Transaction Log on database
I have reason to believe the transaction log file on my database is corrupt. This database is involved in transaction based replication (both subscription and publishing), and I'm unable to start its...
View ArticleHow to do data migration between different schemas?
My company is in the process of migrating a customer's data from their third party system into our own system. We currently use a java application that we have developed in house that selects data from...
View Article2 Cluster managers Control same 2 nodes and control OLTP traffic?
can you have two cluster managers controlling the same 2 nodes so that you can achieve real time replication but still direct your oltp traffic to one node and your reports to the other node?
View ArticleSyncing data from primary member to secondary after election
Maybe this is kind a stupid question but, I'm novice in configuring replication and I need to clear something before makeing anything else. Moment ago I configured replica set with 3 members in it....
View ArticlePostgresql Chained Slaves and Slave Promotion
So I have a setup like Master -> Slave1 -> Slave2. Slave1 replicates from Master and Slave2 replicates from Slave1. If I promote Slave1 to master is it possible for Slave2 to continue replicating...
View Article