405406407408409410411412413414415
cursor.close(); done = true; } catch (LockConflictException e) { cursor.abort(); if (tries == DEADLOCK_RETRIES) { // could not handle the Deadlock after DEADLOCK_RETRIES tries. // shutdown the ReplicationServer. shutdown = true;
419420421422423424425426427428429
catch (DatabaseException e) { // mark shutdown for this db so that we don't try again to // stop it from cursor.close() or methods called by cursor.close() shutdown = true; cursor.abort(); throw (e); } } }