Skip to content

Instantly share code, notes, and snippets.

@tbg
Last active April 21, 2020 14:07
Show Gist options
  • Save tbg/acee1092e8109528e6b1141cd3782cb3 to your computer and use it in GitHub Desktop.
Save tbg/acee1092e8109528e6b1141cd3782cb3 to your computer and use it in GitHub Desktop.
SQL issue for multi-tenancy

Blocks Free Tier Phase 2

  • SQL relies on Gossip for system config @ajwerner
  • Jobs relies on node liveness and NodeIDs generally

Not Blocker

  • relies on statuSserver:
    • BACKUP/RESTORE
    • TemporaryObjectCleaner
    • SHOW SESSIONS
    • CANCEL (QUERY/SESSION)
    • crdb_internal.{node_transactions,{cluster,node}_{sessions,queries},kv_{store,node}_status},
    • DistSQL planning
    • SET ZONE CONFIG (likely never want to expose this to tenants anyway)
  • DistSQL relies on Gossip, leaseholders, etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment