GCENodeDriver.ex_create_multiple_nodes doesn't clean itself when fails.
- 主要言語
- Python
- スター
- 2.1k
- フォーク
- 931
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 4
説明
## Summary
When calling `GCENodeDriver.ex_create_multiple_nodes`, if it gets timeout, the whole operation raises an exception, and the already created nodes are dangling and are not passed to the caller.
## Detailed Information
When calling `GCENodeDriver.ex_create_multiple_nodes`, if it gets timeout, the whole operation raises an exception , and the already created nodes are dangling and are not passed to the caller. I think that actually deleting the created nodes is pretty intrusive. But, it may be helpful to pass the information regarding the already created nodes in the raised exception object, so that the caller would be able to act on this information. Another option is to yield all created nodes as soon as they are created.
Thanks!
コントリビューションガイド
調査の方向性
GCENodeDriver.ex_create_multiple_nodes から始め、いくつかのノードが作成された後に timeout の失敗がどのように発生するかを追跡します。この issue では、それらのノードを削除するのか、例外を通じて公開するのか、yield するのかが決まっていません。まずこの API の決定を明確にし、そのうえで done を、呼び出し側がすでに作成されたノードを扱え、それらにアクセスできないままにならないことを保証するものとして定義します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- google-cloud, python
- 領域
- cloud
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100