You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A request message has multiple mbufs. When it's of a request type such as MSG_REQ_MC_SET (i.e. memcache_storage is true), copy the message and the mbufs and send that to the replication pool.
In rsp_send_next, when req_error is false, an entire request was processed successfully. pmsg is the response, pmsg->peer is the request. This would be useful for replicating successful ADD requests as SET, for example
In req_send_done, commands such as SET where replication wouldn't depend on the result could be replicated.
Metaget commands would be useful for fetching key TTLs (and flags) to properly replicate a successful INCR (e.g. pipeline ADD then INCR), but the metaget protocol is still experimental.
Rewriting memcached commands to their noreply equivalents is probably optional. If this expects replies, leaving out noreply may be useful for detecting hosts which are not responding to packets to reject connections (due to the configured timeout) to reopen connections and log unexpected errors
Failovers should be able to have replication pools, and replication pools should be able to have failovers, but there should not be a path on a graph of failover/replication that includes more than one replica
The text was updated successfully, but these errors were encountered:
TysonAndre
changed the title
Look into supporting replication to another pool in C
Look into supporting direct replication to another memcache pool in C
May 3, 2021
This is similar to the
failover
pool, butRewriting memcached commands to their
noreply
equivalents is probably optional. If this expects replies, leaving outnoreply
may be useful for detecting hosts which are not responding to packets to reject connections (due to the configuredtimeout
) to reopen connections and log unexpected errorsFailovers should be able to have replication pools, and replication pools should be able to have failovers, but there should not be a path on a graph of failover/replication that includes more than one replica
The text was updated successfully, but these errors were encountered: