feat(security): stamp transaction-local settings on OnTxBegin in all specs

This commit is contained in:
2026-09-30 22:55:26 +02:00
parent 3b93802a25
commit ff76eb8e1f
13 changed files with 386 additions and 2 deletions
+4
View File
@@ -132,6 +132,10 @@ type SecurityList struct {
lastColPrune time.Time
lastRowPrune time.Time
// txSettings stamps transaction-local settings at OnTxBegin (see txsettings.go).
txSettingsMu sync.RWMutex
txSettings TxSettingsFunc
// loads collapses concurrent provider calls for the same key (cold-cache stampede).
loads singleflight.Group
}