RPOPLPUSH
Pop the source tail and push it onto the destination head.
RPOPLPUSH source destination
Complexity
O(1)
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Differs
a cross-shard move is not atomic — see BRPOPLPUSH
See also
BLPOPBRPOPBRPOPLPUSHLINDEXLLENLMOVELPOPLPOSLPUSHLRANGELREMLSETLTRIMRPOPRPUSH