Are there any module API which would provide the final command getting executed on a primary or any API that provide access to the replication stream?
Alternatives
Command filter provides an option to get the command argument received by the server. However, it isn't sufficient in some cases like Hyperloglog, random operations like SPOP as it can undergo change before the execution.
Are there any module API which would provide the final command getting executed on a primary or any API that provide access to the replication stream?
Alternatives Command filter provides an option to get the command argument received by the server. However, it isn't sufficient in some cases like Hyperloglog, random operations like
SPOP
as it can undergo change before the execution.