An open API service indexing awesome lists of open source software.

https://github.com/distributedio/happy

Happy Hackathon
https://github.com/distributedio/happy

Last synced: 3 months ago
JSON representation

Happy Hackathon

Awesome Lists containing this project

README

        

# TiKV Spanner transaction interface SDK

## RO/RW Transaction lifetime

### Begin()
* do nothing, gen txn struct with RO/RW

### Get()
* get TS if not exist
* start heartbeat with transaction nodes
* call tikv get RO/RW with TS

### Set()/Delete()
* store key value in local storage(map)

### Commit()
* map & gather all keys with regions
* choose coordinator leader
* call commit on every perticipators and leader