Skip to content

Commit 7521471

Browse files
authored
Merge pull request #9215 from tangledbytes/utkarsh/fix/backinstore-deletion
Fix backingstore deletion
2 parents f187594 + fc14fb1 commit 7521471

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/server/node_services/nodes_monitor.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,6 +1904,11 @@ class NodesMonitor extends EventEmitter {
19041904
if (item.node.migrating_to_pool) {
19051905
delete item.node.migrating_to_pool;
19061906
}
1907+
if (item.node.deleting) {
1908+
// We mark it in order to remove the agent fully (process and tokens etc)
1909+
// Only after successfully completing the removal we assign the deleted date
1910+
item.ready_to_be_deleted = true;
1911+
}
19071912
act.done = true;
19081913
}
19091914
}

0 commit comments

Comments
 (0)