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

About

Happy Hackathon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy