func NewMetadataManagerImpl(persistence MetadataStore, logger log.Logger, clusterName string) MetadataManager {
	return &metadataManagerImpl{
		serializer:  serialization.NewSerializer(),
		persistence: persistence,
		logger:      logger,
		clusterName: clusterName,
	}
}
NewMetadataManagerImpl returns new MetadataManager
package persistence
import (
	enumspb "go.temporal.io/api/enums/v1"
	namespacepb "go.temporal.io/api/namespace/v1"
	"go.temporal.io/api/serviceerror"
	persistencespb "go.temporal.io/server/api/persistence/v1"
	"go.temporal.io/server/common"
	"go.temporal.io/server/common/log"
	"go.temporal.io/server/common/persistence/serialization"
	"go.temporal.io/server/common/primitives/timestamp"
)
type (
	metadataManagerImpl struct {
		serializer  serialization.Serializer
		persistence MetadataStore
		logger      log.Logger
		clusterName string
	}
)
var _ MetadataManager = (*metadataManagerImpl)(nil)