Skip to content

distributedio/happy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages