 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMetastate ¶
GetMetastate returns `idb.ErrorNotInitialized` if uninitialized. If `tx` is nil, it uses a normal query.
func SetMetastate ¶
SetMetastate sets metastate. If `tx` is nil, it uses a normal query.
func TxWithRetry ¶
TxWithRetry is a helper function that retries the function `f` in case the database transaction in it fails due to a serialization error. `f` is provided a transaction created using `opts`. If `f` experiences a database error, this error must be included in `f`'s return error's chain, so that a serialization error can be detected.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.