142
request *persistence.InternalUpdateNamespaceRequest,
143
operationName string,
145
>
idBytes, err := primitives.ParseUUID(request.Id)
146
>
if err != nil {
147
return err
148
}
149
150
>
return m.txExecute(ctx, operationName, func(tx sqlplugin.Tx) error {
metadata.go
151
>
metadata, err := lockMetadata(ctx, tx)
152
>
if err != nil {
153
return err
154
}
155
>
if metadata.NotificationVersion != request.NotificationVersion {
metadata.go
156
return fmt.Errorf(
157
"conditional update error: expect: %v, actual: %v",