You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Amit Kabra (JIRA)" <ji...@apache.org> on 2017/12/15 06:21:00 UTC

[jira] [Created] (HBASE-19519) HBase creates snapshot, even after throwing snapshot creation exception.

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)