MCPcopy Create free account
hub / github.com/temporalio/temporal / initSerializedCollectionNode

Method initSerializedCollectionNode

chasm/tree.go:758–770  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

756}
757
758func (n *Node) initSerializedCollectionNode() {
759 n.serializedNode = &persistencespb.ChasmNode{
760 Metadata: &persistencespb.ChasmNodeMetadata{
761 InitialVersionedTransition: &persistencespb.VersionedTransition{
762 TransitionCount: n.backend.NextTransitionCount(),
763 NamespaceFailoverVersion: n.backend.GetCurrentVersion(),
764 },
765 Attributes: &persistencespb.ChasmNodeMetadata_CollectionAttributes{
766 CollectionAttributes: &persistencespb.ChasmCollectionAttributes{},
767 },
768 },
769 }
770}
771
772func (n *Node) setSerializedNode(
773 nodePath []string,

Callers 1

syncSubComponentsMethod · 0.80

Calls 2

NextTransitionCountMethod · 0.65
GetCurrentVersionMethod · 0.65

Tested by

no test coverage detected