Incompetent cervix

Miscarraige at 17 wks 2 days. Went into labor and didn't even know it, had zero pain. Dr thinks incompetent cervix? Everything was perfect till then. Anyone else had this happen?