Amit Kabra created HBASE-19519: ---------------------------------- Summary: HBase creates snapshot, even after throwing snapshot creation exception. Key: HBASE-19519 URL: https://issues.apache.org/jira/browse/HBASE-19519 Project: HBase Issue Type: Bug Reporter: Amit Kabra
Example client side flow: for : i = 0 --> 3 retrials: a) create snapshot b) In case of exception catch it and delete snapshot. c) sleep 1 min * i. Now #a throws creation exception if creation takes more than 5 mins. Many times cluster can get busy and snapshot creation takes time and it can happen : i = 0 --> #a takes time, throws snapshot creation exception --> #b doesn't work since snapshot isn't created --> #c snapshot got created i = 1 --> #a gives snapshot exist exception. Issue : Since creation failed exception came, hbase should delete the snapshot and should not create it since client won't know that its a valid or a corrupted snapshot. -- This message was sent by Atlassian JIRA (v6.4.14#64029)