Setting order numbers in the api needs to be safe in a clustered
environment - TRUNK-4183