A police officer was shot while serving a warrant in the Marston Mills area of Barnstable this afternoon, state police said."Around 3:30, a local police officer shot during a warrant service at 109 Blueberry Lane, Barnstable," state police spokesman David Procopio told the Herald in an email. "Suspect may still be in the residence.