commit | 88fbe7f5f05cfb71efb3d0baefba7301bfc8d296 | [log] [tgz] |
---|---|---|
author | Stephane Barbarie <sbarbari@ciena.com> | Tue Sep 25 12:25:23 2018 -0400 |
committer | Stephane Barbarie <sbarbari@ciena.com> | Tue Sep 25 12:25:23 2018 -0400 |
tree | c9f2bbf0c0604475e1b26cd1426bb0cc81ceef6d | |
parent | 7da372dc4eeb1865fe0115354aad098398aa15be [diff] [blame] |
VOL-1174: Keep only latest data and apply changes only when committed. Change-Id: I2311eb9cf1487b39f23066df50d19b47fd5c7dcc
diff --git a/db/model/proxy.go b/db/model/proxy.go index 4aae7f4..3e33849 100644 --- a/db/model/proxy.go +++ b/db/model/proxy.go
@@ -113,7 +113,7 @@ return p.Root.Remove(fullPath, txid, nil) } -func (p *Proxy) openTransaction() *Transaction { +func (p *Proxy) OpenTransaction() *Transaction { txid := p.Root.MakeTxBranch() return NewTransaction(p, txid) }