• Steve Webster's avatar
    Increment delivery counter on XCLAIM unless RETRYCOUNT specified · 3cc4f469
    Steve Webster authored
    The XCLAIM docs state the XCLAIM increments the delivery counter for
    messages. This PR makes the code match the documentation - which seems
    like the desired behaviour - whilst still allowing RETRYCOUNT to be
    specified manually.
    
    My understanding of the way streamPropagateXCLAIM() works is that this
    change will safely propagate to replicas since retry count is pulled
    directly from the streamNACK struct.
    
    Fixes #5194
    3cc4f469
t_stream.c 101 KB