dstewart51
Dabbler
- Joined
- Apr 2, 2019
- Messages
- 12
Hi all, been fighting this for over a week and come to believe this is a bug. I have a pair of 4ru iX certified systems, one production and one is a replication target. With 11.2x the snapshot replication worked great, but after updating to 11.3 and also 11.3u1 I have not been able to get the replication to work properly. I was able to get the SSH+NETCAT to generate the snapshots on the replication target, but each time the task runs it destroys all of the destination snapshots and generates them new. Same with just SSH. I also turned off "Replicate from scratch if incremental is not possible" after the initial job completed, but subsequent jobs just errors out with;
[2020/03/04 06:32:24] ERROR [replication_task__task_77] [zettarepl.replication.run] For task 'task_77' non-recoverable replication error NoIncrementalBaseReplicationError("No incremental base on dataset 'tank' and replication from scratch is not allowed")
If I leave "Replicate from scratch if incremental is not possible" enabled, after the initial job I see this for each subsequent job;
[2020/03/03 17:25:13] WARNING [replication_task__task_82] [zettarepl.replication.run] No incremental base for replication task 'task_82' on dataset 'tank/LAMarket', destroying all destination snapshots
[2020/03/03 17:25:13] INFO [replication_task__task_82] [zettarepl.snapshot.destroy] On )> for dataset 'tank/LAMarket' destroying snapshots ['auto-20200218.0800-2w', 'auto-20200219.0800-2w', 'auto-20200220.0800-2w', 'auto-20200221.0800-2w', 'auto-20200224.0800-2w', 'auto-20200225.0800-2w', 'auto-20200226.0800-2w', 'auto-20200227.0800-2w', 'auto-20200228.0800-2w', 'auto-20200302.0800-2w']
It appears it is not detecting or generating the incremental base and defaults to always starting from scratch. The full logs of the two jobs referenced above are attached.
[2020/03/04 06:32:24] ERROR [replication_task__task_77] [zettarepl.replication.run] For task 'task_77' non-recoverable replication error NoIncrementalBaseReplicationError("No incremental base on dataset 'tank' and replication from scratch is not allowed")
If I leave "Replicate from scratch if incremental is not possible" enabled, after the initial job I see this for each subsequent job;
[2020/03/03 17:25:13] WARNING [replication_task__task_82] [zettarepl.replication.run] No incremental base for replication task 'task_82' on dataset 'tank/LAMarket', destroying all destination snapshots
[2020/03/03 17:25:13] INFO [replication_task__task_82] [zettarepl.snapshot.destroy] On )> for dataset 'tank/LAMarket' destroying snapshots ['auto-20200218.0800-2w', 'auto-20200219.0800-2w', 'auto-20200220.0800-2w', 'auto-20200221.0800-2w', 'auto-20200224.0800-2w', 'auto-20200225.0800-2w', 'auto-20200226.0800-2w', 'auto-20200227.0800-2w', 'auto-20200228.0800-2w', 'auto-20200302.0800-2w']
It appears it is not detecting or generating the incremental base and defaults to always starting from scratch. The full logs of the two jobs referenced above are attached.