Refactor and improve DAL implementation and init
Changes: - Boot initialization follows standard impl - Improved DAL connection management (adding, reloading, removing) - Cleaner and more detailed logging - Primary store connection is now reused when added to DAL
This commit is contained in:
@@ -32,6 +32,9 @@ type (
|
||||
// and it's highly unlikely we'll support different/multiple logging "backend"
|
||||
SetLogger(*zap.Logger)
|
||||
|
||||
// Returns underlying store as DAL connection
|
||||
ToDalConn() dal.Connection
|
||||
|
||||
// Tx is a transaction handler
|
||||
Tx(context.Context, func(context.Context, Storer) error) error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user