Impacted anal glands are often the first stage of anal sac disease.
As the impacted anal glands become swollen and distended, they become inflamed and can make it painful for your dog to pass feces.
This second stage of inflammation is referred to as sacculitis.
Bacteria can begin to grow and cause an infection.