瀏覽代碼

fixed issue #195

agapple 9 年之前
父節點
當前提交
aa8ea96572
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      meta/src/main/java/com/alibaba/otter/canal/meta/PeriodMixedMetaManager.java

+ 1 - 1
meta/src/main/java/com/alibaba/otter/canal/meta/PeriodMixedMetaManager.java

@@ -142,8 +142,8 @@ public class PeriodMixedMetaManager extends MemoryMetaManager implements CanalMe
     }
 
     public void updateCursor(ClientIdentity clientIdentity, Position position) throws CanalMetaManagerException {
-        updateCursorTasks.add(clientIdentity);// 添加到任务队列中进行触发
         super.updateCursor(clientIdentity, position);
+        updateCursorTasks.add(clientIdentity);// 添加到任务队列中进行触发
     }
 
     public Position getCursor(ClientIdentity clientIdentity) throws CanalMetaManagerException {