mysql8.20 ,“IndexError: index out of range ” at pymysqlreplication/bitmap.py, line 34
imysm opened this issue · 0 comments
File "/usr/local/python383/lib/python3.8/site-packages/synch/cli.py", line 96, in produce
reader.start_sync(broker)
File "/usr/local/python383/lib/python3.8/site-packages/synch/reader/mysql.py", line 110, in start_sync
for schema, table, event, file, pos in self._binlog_reading(
File "/usr/local/python383/lib/python3.8/site-packages/synch/reader/mysql.py", line 185, in _binlog_reading
for row in binlog_event.rows:
File "/usr/local/python383/lib/python3.8/site-packages/pymysqlreplication/row_event.py", line 433, in rows
self._fetch_rows()
File "/usr/local/python383/lib/python3.8/site-packages/pymysqlreplication/row_event.py", line 428, in _fetch_rows
self.__rows.append(self._fetch_one_row())
File "/usr/local/python383/lib/python3.8/site-packages/pymysqlreplication/row_event.py", line 517, in _fetch_one_row
row["before_values"] = self._read_column_data(self.columns_present_bitmap)
File "/usr/local/python383/lib/python3.8/site-packages/pymysqlreplication/row_event.py", line 97, in _read_column_data
if BitGet(cols_bitmap, i) == 0:
File "/usr/local/python383/lib/python3.8/site-packages/pymysqlreplication/bitmap.py", line 34, in BitGet
bit = bitmap[int(position / 8)]
IndexError: index out of range