|
@@ -37,8 +37,8 @@ public class GetBulkInsertStateWrapper {
|
|
|
*/
|
|
|
public List<Long> getAutoGeneratedIDs() {
|
|
|
// the id list of response is id ranges
|
|
|
- // for example, if the response return [1, 100, 200, 250]
|
|
|
- // the full id list should be [1, 2, 3 ... , 99, 100, 200, 201, 202 ... , 249, 250]
|
|
|
+ // for example, if the response return [1, 100, 200, 250], the id ranges are [1, 100), [200, 250)
|
|
|
+ // the full id list should be [1, 2, 3 ... , 99, 200, 201, 202 ... , 249]
|
|
|
List<Long> ranges = response.getIdListList();
|
|
|
if (ranges.size()%2 != 0) {
|
|
|
throw new IllegalResponseException("The bulk insert state response id range list is illegal");
|