//
// We cannot grab the fids offline using AUTO_COMMIT
// because we may have removed some of them earlier
// in the transaction
//
locking.unLockFeatures(filter);
store.removeFeatures(filter);
} else {
// This a bit better and what should be done, we
// will need to rework the gt2 locking api to work
// with fids or something