syntax = "proto3";

package distributor;

import "github.com/gogo/protobuf/gogoproto/gogo.proto";

option (gogoproto.marshaler_all) = true;
option (gogoproto.unmarshaler_all) = true;

message ReplicaDesc {
    string replica = 1;
    int64 received_at = 2;

    // Unix timestamp in millseconds when this entry was marked for deletion.
    // Reason for doing marking first, and delete later, is to make sure that distributors
    // watching the prefix will receive notification on "marking" -- at which point they can
    // already remove entry from memory. Actual deletion from KV store does *not* trigger
    // "watch" notification with a key for all KV stores.
    int64 deleted_at = 3;
}