Commit e42d8857 authored by 段英荣's avatar 段英荣

modify topic transfer

parent 83c687d0
......@@ -5,6 +5,7 @@ from __future__ import unicode_literals, print_function, absolute_import
import six
import random
from django.db import models
import logging
class ITableChunk(object):
......@@ -173,6 +174,7 @@ class TableSlicer(object):
def chunks(self):
reversed_sep_list = list(reversed(self._sep_list))
logging.info("duan add,reversed_sep_list:%d" % reversed_sep_list)
for i in range(len(self._sep_list) - 1):
pk_start = reversed_sep_list[i+1]
pk_stop = reversed_sep_list[i]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment