()
| 113 | } |
| 114 | |
| 115 | func (s *State) getLastCommitPoint() uint64 { |
| 116 | return atomic.LoadUint64(&s.lastCommitPoint) |
| 117 | } |
| 118 | |
| 119 | // Close commits any ongoing transaction if needed and closes the underlying storage. |
| 120 | func (s *State) Close(commit bool) (err error) { |