Knee replacement surgery restores a damaged, worn, or diseased knee joint. It is one of the most successful procedures, enabling people to live more active lives free of chronic knee pain. However, a knee replacement may fail for a variety of reasons. When this occurs, your knee can become unstable, painful and swollen. If your knee replacement fails, your doctor may recommend that you have a revision surgery.