The setDigestReplicationFactor() GraphQL mutation is used to set the digest replication factor. Set the replication factor for segments newly written to digest nodes. It applies until the segments are moved to storage nodes.

Syntax

Below is the syntax for setDigestReplicationFactor():

graphql
setDigestReplicationFactor(
      digestReplicationFactor: integer!
   ): integer!

The mutation field has no special datatypes. It uses integer for both the input and the return datatype. For the given data, enter the replication factor for segment storage.