avoid_replication_traffic will return true iff Redis expect the module to avoid adding commands to the replication stream. This usually happened during fail-overs where we wait for the primary and the replica to be in sync, if the module will continue generating traffic this might never happened.
The API is available sense Redis 6.0, so no need to add it to the API_VERSION_MAPPING (default is 6.0).
avoid_replication_traffic
will return true iff Redis expect the module to avoid adding commands to the replication stream. This usually happened during fail-overs where we wait for the primary and the replica to be in sync, if the module will continue generating traffic this might never happened.The API is available sense Redis 6.0, so no need to add it to the
API_VERSION_MAPPING
(default is 6.0).