DR or Satellite Vault - error 1236 master has purged binary logs containing GTIDs that the slave requires / PADR0100W Metadata Replication warning

DR or Satellite Vault - error 1236 master has purged binary logs containing GTIDs that the slave requires / PADR0100W Metadata Replication warning

141
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 13:01 PM


Symptom


PADR.log has the following errors:

[25/06/2019   23:26:11.797022]    ::    PADR0101E Metadata Replication encountered an error. See Diagnostic Info below. 
[25/06/2019   23:26:11.797054]    ::     Last SQL Error Code: 0 
[25/06/2019   23:26:11.797065]    ::     Last SQL Error: "" 
[25/06/2019   23:26:11.797075]    ::     Last IO Error Code: 1236 
[25/06/2019   23:26:11.797089]    ::     Last IO Error: "Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.'" 
[25/06/2019   23:26:11.797101]    ::     SQL Thread Running State: "Yes" 
[25/06/2019   23:26:11.797111]    ::     IO Thread Running State: "No" 

Also, the error may appear as follows in the PADR.log:


[23/10/2020 05:36:26.805825] :: Last IO Error: "Got fatal error 1236 from master when reading data from binary log: 'event read from binlog did not pass crc check; the first event '' at 4, the last event read from '.\mysql-bin.002526' at 307930261, the last byte read from '.\mysql-bin.002526' at 307930945.

 

In the Vaultdb.log, the following error may be found:

[Note] Slave I/O thread: connected to master 'ReplicationUser@127.0.0.1:33061',replication started in log 'FIRST' at position 4
[ERROR] Error reading packet from server: The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires. ( server_errno=1236)
[ERROR] Slave I/O: Got fatal error 1236 from master when reading data from binary log: 'The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.', Error_code: 1236



Environment


9.7;9.8;9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7 Distributed Vaults  (master > satellite) 
Standard Vault (primary > DR)


Cause


The DR service has not run for a long time. Once you start the DR service, it is not able to find the transaction logs it requires to do the metadata replication.

 


Resolution


Do a full replication from the DR Vault server.

Reset replication in the padr.ini:

1. Delete the following lines in padr.ini: 

NextBinaryLogNumberToStartAt
LastDataReplicationTimestamp

2. Restart Idira Vault Disaster Recovery service


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001Vd0CAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail