• Felipe Machado's avatar
    Adds new pop-push commands (LMOVE, BLMOVE) (#6929) · c3f9e017
    Felipe Machado authored
    
    
    Adding [B]LMOVE <src> <dst> RIGHT|LEFT RIGHT|LEFT. deprecating [B]RPOPLPUSH.
    
    Note that when receiving a BRPOPLPUSH we'll still propagate an RPOPLPUSH,
    but on BLMOVE RIGHT LEFT we'll propagate an LMOVE
    
    improvement to existing tests
    - Replace "after 1000" with "wait_for_condition" when wait for
      clients to block/unblock.
    - Add a pre-existing element to target list on basic tests so
      that we can check if the new element was added to the correct
      side of the list.
    - check command stats on the replica to make sure the right
      command was replicated
    Co-authored-by: default avatarOran Agra <oran@redislabs.com>
    c3f9e017
t_stream.c 112 KB