github.com/weaviate/weaviate@v1.24.6/entities/additional/replication.go (about)

     1  //                           _       _
     2  // __      _____  __ ___   ___  __ _| |_ ___
     3  // \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \
     4  //  \ V  V /  __/ (_| |\ V /| | (_| | ||  __/
     5  //   \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___|
     6  //
     7  //  Copyright © 2016 - 2024 Weaviate B.V. All rights reserved.
     8  //
     9  //  CONTACT: hello@weaviate.io
    10  //
    11  
    12  package additional
    13  
    14  // ReplicationProperties are replication-related handles and configurations which
    15  // allow replication context to pass through different layers of
    16  // abstraction, usually initiated via client requests
    17  type ReplicationProperties struct {
    18  	// ConsistencyLevel indicates how many nodes should
    19  	// respond to a request before it is considered
    20  	// successful. Can be "ONE", "QUORUM", or "ALL"
    21  	//
    22  	// This is only relevant for a replicated
    23  	// class
    24  	ConsistencyLevel string
    25  
    26  	// NodeName is the node which is expected to
    27  	// fulfill the request
    28  	NodeName string
    29  }