the chance of bartholin's gland abscess
to turn out as cancer is extremely rare. there is nothing to worry on this case, but if your really very much anxious then you may go for a biopsy
and confirm its not a cancer.
I hope I have succeeded in providing the information you were looking for. Please feel free to write back to me for any further clarifications. I would gladly help you.