How roll back works in janus graph, will it roll back the storage write in one transaction

Lighter <yangch...@...>

Hi, for below sample code.  storage backend is Hbase,  "name" is used as  index, it will at least has two rows update: but what if index update succeed while vertex update failed(throw exception). when we call rollback, Will it roll back the index write to storage? 

try {

    user = graph.addVertex()"name", name)
} catch (Exception e) {
    //Recover, retry,  or return error message
    graph.tx().rollback()   // <------- Added line 

Join { to automatically receive all group messages.