887a72e Ticket 47815 - Add operations rejected by betxn plugins remain in cache

Authored and Committed by mreynolds 9 years ago
    Ticket 47815 - Add operations rejected by betxn plugins remain in cache
    
    Bug Description:  When an add operation is rejected by a betxn post plugin
                      the "adding" entry is removed the cache(previously added
                      tentatively), it gets re-added back to the entry cache
                      when we call betxn post plugins just before the abort.
    
    Fix Description:  Remove the entry from the cache when the 2nd run of
                      the betxn postop plugins fails(just before we abort
                      the transaction).
    
    https://fedorahosted.org/389/ticket/47815
    
    valgrind: passed
    jenkins: passed
    
    Reviewed by: nhosoi(Thanks!)
    
    (cherry picked from commit fe81bda5f2f2cef647cedadf9ba442f8b7851973)