awslabs/amazon-neptune-tools

Bug on Neptune Export: exception prevents cloned cluster from being deleted

glevco opened this issue · 3 comments

We are using Neptune Export to generate exports of our graph data. Everything works perfectly most days. The clone cluster gets created, is used, and then is automatically deleted by the tool.

Sometimes, when an internal exception occurs (for example, a connection error), the tool halts and exits without deleting the clone cluster. This causes expensive machines to be kept running until someone manually deletes it. There should be some checks in the tool to perform the deletion in exception scenarios.

Example expected log output when the cluster is correctly deleted:

Screen Shot 2021-07-09 at 12 11 47

Example log output when there's an exception and the cluster is not deleted:

Screen Shot 2021-07-06 at 13 01 34

Thanks for reporting this @glevco. Unfortunately, I've not been able to reproduce the issue. If I inject a fault into the export, I nonetheless see the clone being deleted. Do you have any more details you can share?

Thanks, ian

Hi @iansrobinson, thank you for your response. We'll be checking the version we are running and see if this problem happens again, as I'm also not sure how to reproduce it. I'll close the issue for now, and if it happens again, I'll reopen it. Thanks!