mark_complete_oid(): new function, taking an object_oid