Skip to content
Snippets Groups Projects

concurrent CTL

Merged Libor Peltan requested to merge concurrent_ctl into master
1 unresolved thread
Viewing commit 70ee6ed0
Show latest version
4 files
+ 4
8
Preferences
Compare changes
Files
4
+ 2
1
@@ -863,7 +863,8 @@ static int zone_txn_begin_l(zone_t *zone, _unused_ ctl_args_t *args)
return KNOT_TXN_EEXISTS;
}
if (zone->backup_ctx != NULL && zone->backup_ctx->restore_mode) {
struct zone_backup_ctx *backup_ctx = zone->backup_ctx;
if (backup_ctx != NULL && backup_ctx->restore_mode) {
log_zone_warning(zone->name, "zone restore pending, try opening control transaction later");
return KNOT_EAGAIN;
}