Closed doublex closed 5 months ago
This question is better to be raised on the https://forums.foundationdb.org/. GitHub issue is for tracking specific bugs or problems.
How much lag does the DR report when you run fdbdr status
? When the destination cluster catches up (i.e., a few seconds lag), the data size should be about the same. If the lag is large, e.g., the destination cluster still has lots of data to copy, the big difference is expected.
The other possibility is mutation logs buffered at the source cluster, which can be estimated by the size of \xff\x02
keyspace.
Oh, the status reports "backup_state" : "is differential",
, so it might be the size of \xff\x02
keyspace is large, i.e., laggine a lot.
"tags" : {
"default" : {
"backup_state" : "is differential",
"mutation_log_bytes_written" : 220237696485,
"mutation_stream_id" : "7df4fc98573a8b4ab8a019bd4e92f7b6",
"range_bytes_written" : 123375102718,
"running_backup" : true,
"running_backup_is_restorable" : true,
"seconds_behind" : -1747510.757253
}
Actually the status says lagging is large 1747510.757253 seconds behind, about 20days. Do you have DR agents running on the destination cluster?
Sorry for the inconvenience. Yes, there are DR agents running on the destination cluster (which again runs a DR agent). Is this an invalid deployment?
You are right. Totally my fault. Thank you so much for your answer - and sorry for the inconvenience.
Yes, there are DR agents running on the destination cluster (which again runs a DR agent).
DR agents are needed on the destination cluster. So maybe you didn't have enough number of agents and that cause the DR lag.
FDB 7.1 server with disaster recovery: Used disk space is constantly growing.
Statistics on the machine with DR:
DR target (same numbers if restoring from backup)
A similar problem has been reported: https://forums.foundationdb.org/t/key-value-sizes-at-dr-source-and-destination-have-a-big-difference/3351
fdbcli --exec status (truncated):