def _retry_order(self, exception, max_fulfillment_retries, order_number):
retries = self.request.retries<EOL>if retries == max_fulfillment_retries:<EOL><INDENT>logger.exception('<STR_LIT>', order_number)<EOL><DEDENT>else:<EOL><INDENT>logger.warning('<STR_LIT>', order_number)<EOL><DEDENT>countdown = <NUM_LIT:2> ** retries<EOL>raise self.retry(exc=exception, countdown=countdown, max_retries=max_fulfillment_retries)<EOL>
Retry with exponential backoff until fulfillment
succeeds or the retry limit is reached. If the retry limit is exceeded,
the exception is re-raised.