任务描述

任务背景:


凤凰计划队列,自动刊登队列 未完成日志信息迁移,需要跟进完成

相关需求:16123 IMS:listing管理页面操作日志增加系统处理数据


任务内容:

1.归档10.27日之前的队列表,凤凰计划队列 表的数据;(当前处理时间,一个月以前的数据)
2.开启从11.20 之后的队列数据合并日志到Listing表(当前处理时间往前推7天 开始算)
3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:

调度系统MQ 模式工作逻辑流程:
1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;
2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;
3.执行业务逻辑完成;
4.调度任务执行完成。



--刊登队列表:
  delete from ap_autopublish_shopeev2_queue where LastModificationTime < '2023-09-18 00:00:00'
  delete from ap_autopublish_kogan_queue where LastModificationTime< '2023-09-18 00:00:00'
  delete from ap_autopublish_lazada_queue where LastModificationTime < '2023-09-18 00:00:00'
  delete from ap_autopublish_aliexpress_queue where LastModificationTime < '2023-09-18 00:00:00'
  delete from ap_autopublish_allegro_queue where LastModificationTime < '2023-09-18 00:00:00'
  delete from ap_autopublish_mercadolibre_queue where LastModificationTime< '2023-09-18 00:00:00'
  
  --凤凰计划队列表:   
  delete from pp_phoenixplan_shopeev2_queue where LastModificationTime< '2023-09-18 00:00:00'
  delete from  pp_phoenixplan_lazada_queue where LastModificationTime< '2023-09-18 00:00:00'
  delete from  pp_phoenixplan_kogan_queue where LastModificationTime < '2023-09-18 00:00:00'
  delete from  pp_phoenixplan_aliexpress_queue   where LastModificationTime < '2023-09-18 00:00:00'
  delete from  pp_phoenixplan_allegro_queue  where LastModificationTime< '2023-09-18 00:00:00'
  delete from  pp_phoenixplan_mercadolibre_queue  where LastModificationTime < '2023-09-18 00:00:00'


需求描述

需求背景:

每个版本,需要安排一个技术支持型需求,用于统计开发日长的运维任务,便于数据分析及管理


需求内容:

该需求用于处理以下类型的任务

(1)业务数据统计与导出

(2)接口调试与预研

(3)生产环境策略执行情况排查

(4)性能优化与数据归档


优选安排处理需求

https://pm.zhcxkj.com/zentao/task-view-56043.html

56043 IMS:凤凰计划队列/自动刊登队列信息迁移到listing表任务

注意:当版本内无技术支持型需求时,转移用于开发业务型需求!

验收标准

(1)安排的技术支持型任务 ,开发报告充分详细,无遗漏

历史记录  
  1. 2023-10-08 13:54:13, 由 刘瀚泽 创建。
  2. 2023-10-18 09:00:05, 由 刘瀚泽 编辑。
    修改了 任务描述,区别为:
    007- 1.归档9.8日之前的队列表,凤凰计划队列 表的数据; 2.开启从9.8 之后的队列数据合并日志到Listing表 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:调度系统MQ 模式工作逻辑流程:1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;3.执行业务逻辑完成;4.调度任务执行完成。
    007+ 1.归档9.18日之前的队列表,凤凰计划队列 表的数据; 2.开启从10.11 之后的队列数据合并日志到Listing表 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:调度系统MQ 模式工作逻辑流程:1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;3.执行业务逻辑完成;4.调度任务执行完成。
    010- --刊登队列表: delete from ap_autopublish_shopeev2_queue where LastModificationTime &lt; '2023-09-08 00:00:00' delete from ap_autopublish_kogan_queue where LastModificationTime&lt; '2023-09-08 00:00:00' delete from ap_autopublish_lazada_queue where LastModificationTime &lt; '2023-09-08 00:00:00' delete from ap_autopublish_aliexpress_queue where LastModificationTime &lt; '2023-09-08 00:00:00' delete from ap_autopublish_allegro_queue where LastModificationTime &lt; '2023-09-08 00:00:00' delete from ap_autopublish_mercadolibre_queue where LastModificationTime&lt; '2023-09-08 00:00:00' --凤凰计划队列表: delete from pp_phoenixplan_shopeev2_queue where LastModificationTime&lt; '2023-09-08 00:00:00' delete from pp_phoenixplan_lazada_queue where LastModificationTime&lt; '2023-09-08 00:00:00' delete from pp_phoenixplan_kogan_queue where LastModificationTime &lt; '2023-09-08 00:00:00' delete from pp_phoenixplan_aliexpress_queue where LastModificationTime &lt; '2023-09-08 00:00:00' delete from pp_phoenixplan_allegro_queue where LastModificationTime&lt; '2023-09-08 00:00:00' delete from pp_phoenixplan_mercadolibre_queue where LastModificationTime &lt; '2023-09-08 00:00:00'
    010+ --刊登队列表: delete from ap_autopublish_shopeev2_queue where LastModificationTime &lt; '2023-09-18 00:00:00' delete from ap_autopublish_kogan_queue where LastModificationTime&lt; '2023-09-18 00:00:00' delete from ap_autopublish_lazada_queue where LastModificationTime &lt; '2023-09-18 00:00:00' delete from ap_autopublish_aliexpress_queue where LastModificationTime &lt; '2023-09-18 00:00:00' delete from ap_autopublish_allegro_queue where LastModificationTime &lt; '2023-09-18 00:00:00' delete from ap_autopublish_mercadolibre_queue where LastModificationTime&lt; '2023-09-18 00:00:00' --凤凰计划队列表: delete from pp_phoenixplan_shopeev2_queue where LastModificationTime&lt; '2023-09-18 00:00:00' delete from pp_phoenixplan_lazada_queue where LastModificationTime&lt; '2023-09-18 00:00:00' delete from pp_phoenixplan_kogan_queue where LastModificationTime &lt; '2023-09-18 00:00:00' delete from pp_phoenixplan_aliexpress_queue where LastModificationTime &lt; '2023-09-18 00:00:00' delete from pp_phoenixplan_allegro_queue where LastModificationTime&lt; '2023-09-18 00:00:00' delete from pp_phoenixplan_mercadolibre_queue where LastModificationTime &lt; '2023-09-18 00:00:00'
    007- <p>1.<strong><span style="color:#E53333;">归档9.8日之前的队列表</span></strong>,凤凰计划队列 表的数据;<br /> 2.开启从9.8 之后的队列数据合并日志到Listing表<br /> 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:<br /><br />调度系统MQ 模式工作逻辑流程:<br />1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;<br />2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;<br />3.执行业务逻辑完成;<br />4.调度任务执行完成。</p>
    007+ <p>1.<strong><span style="color:#E53333;">归档9.18日之前的队列表</span></strong>,凤凰计划队列 表的数据;<br /> 2.开启从10.11 之后的队列数据合并日志到Listing表<br /> 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:<br /><br />调度系统MQ 模式工作逻辑流程:<br />1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;<br />2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;<br />3.执行业务逻辑完成;<br />4.调度任务执行完成。</p>
    010- <p>--刊登队列表:<br /> delete from ap_autopublish_shopeev2_queue where LastModificationTime &lt; '2023-09-08 00:00:00'<br /> delete from ap_autopublish_kogan_queue where LastModificationTime<span>&lt; '2023-09-08 00:00:00'</span><br /> delete from ap_autopublish_lazada_queue where LastModificationTime <span>&lt; '2023-09-08 00:00:00'</span><br /> delete from ap_autopublish_aliexpress_queue where LastModificationTime <span>&lt; '2023-09-08 00:00:00'</span><br /> delete from ap_autopublish_allegro_queue where LastModificationTime <span>&lt; '2023-09-08 00:00:00'</span><br /> delete from ap_autopublish_mercadolibre_queue where LastModificationTime<span>&lt; '2023-09-08 00:00:00'</span><br /><br /> --凤凰计划队列表: <br /> delete from pp_phoenixplan_shopeev2_queue where LastModificationTime<span>&lt; '2023-09-08 00:00:00'</span><br /> delete from pp_phoenixplan_lazada_queue where LastModificationTime<span>&lt; '2023-09-08 00:00:00'</span><br /> delete from pp_phoenixplan_kogan_queue where LastModificationTime <span>&lt; '2023-09-08 00:00:00'</span><br /> delete from pp_phoenixplan_aliexpress_queue where LastModificationTime <span>&lt; '2023-09-08 00:00:00'</span><br /> delete from pp_phoenixplan_allegro_queue where LastModificationTime<span>&lt; '2023-09-08 00:00:00'</span><br /> delete from pp_phoenixplan_mercadolibre_queue where LastModificationTime <span>&lt; '2023-09-08 00:00:00'</span><br /></p>
    010+ <p>--刊登队列表:<br /> delete from ap_autopublish_shopeev2_queue where LastModificationTime &lt; '2023-09-18 00:00:00'<br /> delete from ap_autopublish_kogan_queue where LastModificationTime<span>&lt; '2023-09-18 00:00:00'</span><br /> delete from ap_autopublish_lazada_queue where LastModificationTime <span>&lt; '2023-09-18 00:00:00'</span><br /> delete from ap_autopublish_aliexpress_queue where LastModificationTime <span>&lt; '2023-09-18 00:00:00'</span><br /> delete from ap_autopublish_allegro_queue where LastModificationTime <span>&lt; '2023-09-18 00:00:00'</span><br /> delete from ap_autopublish_mercadolibre_queue where LastModificationTime<span>&lt; '2023-09-18 00:00:00'</span><br /><br /> --凤凰计划队列表: <br /> delete from pp_phoenixplan_shopeev2_queue where LastModificationTime<span>&lt; '2023-09-18 00:00:00'</span><br /> delete from pp_phoenixplan_lazada_queue where LastModificationTime<span>&lt; '2023-09-18 00:00:00'</span><br /> delete from pp_phoenixplan_kogan_queue where LastModificationTime <span>&lt; '2023-09-18 00:00:00'</span><br /> delete from pp_phoenixplan_aliexpress_queue where LastModificationTime <span>&lt; '2023-09-18 00:00:00'</span><br /> delete from pp_phoenixplan_allegro_queue where LastModificationTime<span>&lt; '2023-09-18 00:00:00'</span><br /> delete from pp_phoenixplan_mercadolibre_queue where LastModificationTime <span>&lt; '2023-09-18 00:00:00'</span></p>
  3. 2023-10-26 14:43:29, 由 刘瀚泽 添加备注。

    该任务一直未安排,经过10月23日沟通,任务暂停,待禁售/敏感词需求完成,11月份开始启动,预计验收时间 11月15日


    同时逻辑修改为

    清理一个月前的队列数据,并且只将最近7天的数据,同步到Listing表中记录!

  4. 2023-10-26 19:55:38, 由 周杰 编辑。
    修改了 所属迭代,旧值为 "781",新值为 "798"。
    修改了 所属模块,旧值为 "1659",新值为 "0"。
  5. 2023-10-26 19:55:56, 由 周杰 编辑。
    修改了 截止日期,旧值为 "2023-10-13",新值为 "2023-11-06"。
  6. 2023-11-13 10:04:32, 由 程伟 取消。
    修改了 任务状态,旧值为 "wait",新值为 "cancel"。
    修改了 指派给 ,旧值为 "chengwei",新值为 "liuhanze"。
    修改了 实际完成,旧值为 "",新值为 "0000-00-00"。
    修改了 由谁取消,旧值为 "",新值为 "chengwei"。
    修改了 取消时间,旧值为 "",新值为 "2023-11-13 10:04:32"。
  7. 2023-11-13 10:04:34, 由 程伟 关闭。
    修改了 任务状态,旧值为 "cancel",新值为 "closed"。
    修改了 指派给 ,旧值为 "liuhanze",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "chengwei"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2023-11-13 10:04:34"。
    修改了 关闭原因,旧值为 "",新值为 "cancel"。
  8. 2023-11-14 18:05:01, 由 刘瀚泽 激活。
    修改了 指派给 ,旧值为 "closed",新值为 "wangxiangyu"。
    修改了 任务状态,旧值为 "closed",新值为 "doing"。
    修改了 由谁取消,旧值为 "chengwei",新值为 ""。
    修改了 由谁关闭,旧值为 "chengwei",新值为 ""。
    修改了 关闭原因,旧值为 "cancel",新值为 ""。
    修改了 实际完成,旧值为 "",新值为 "0000-00-00"。
    修改了 取消时间,旧值为 "2023-11-13 10:04:32",新值为 "0000-00-00"。
    修改了 关闭时间,旧值为 "2023-11-13 10:04:34",新值为 "0000-00-00"。
  9. 2023-11-14 18:06:25, 由 刘瀚泽 编辑。
    修改了 所属模块,旧值为 "0",新值为 "1659"。
    修改了 开发组 ,旧值为 "3",新值为 "1"。
    修改了 预计开始,旧值为 "2023-10-09",新值为 "2023-11-15"。
    修改了 截止日期,旧值为 "2023-11-06",新值为 "2023-11-16"。
    修改了 任务描述,区别为:
    007- 1.归档9.18日之前的队列表,凤凰计划队列 表的数据; 2.开启从10.11 之后的队列数据合并日志到Listing表 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:调度系统MQ 模式工作逻辑流程:1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;3.执行业务逻辑完成;4.调度任务执行完成。
    007+ 1.归档10.15日之前的队列表,凤凰计划队列 表的数据; 2.开启从11.08 之后的队列数据合并日志到Listing表 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:调度系统MQ 模式工作逻辑流程:1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;3.执行业务逻辑完成;4.调度任务执行完成。
    007- <p>1.<strong><span style="color:#E53333;">归档9.18日之前的队列表</span></strong>,凤凰计划队列 表的数据;<br /> 2.开启从10.11 之后的队列数据合并日志到Listing表<br /> 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:<br /><br />调度系统MQ 模式工作逻辑流程:<br />1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;<br />2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;<br />3.执行业务逻辑完成;<br />4.调度任务执行完成。</p>
    007+ <p>1.<strong><span style="color:#E53333;">归档10.15日之前的队列表</span></strong>,凤凰计划队列 表的数据;<br /> 2.开启从11.08 之后的队列数据合并日志到Listing表<br /> 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:<br /><br />调度系统MQ 模式工作逻辑流程:<br />1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;<br />2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;<br />3.执行业务逻辑完成;<br />4.调度任务执行完成。</p>
  10. 2023-11-18 17:52:02, 由 周杰 编辑。
    修改了 预计开始,旧值为 "2023-11-15",新值为 "2023-11-24"。
  11. 2023-11-18 17:52:15, 由 周杰 编辑。
    修改了 截止日期,旧值为 "2023-11-16",新值为 "2023-11-24"。
  12. 2023-11-18 18:01:32, 由 周杰 编辑。
    修改了 所属模块,旧值为 "1659",新值为 "1863"。
    修改了 预计开始,旧值为 "2023-11-24",新值为 "2023-11-20"。
  13. 2023-11-23 14:47:08, 由 刘瀚泽 编辑。
    修改了 任务描述,区别为:
    007- 1.归档10.15日之前的队列表,凤凰计划队列 表的数据; 2.开启从11.08 之后的队列数据合并日志到Listing表 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:调度系统MQ 模式工作逻辑流程:1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;3.执行业务逻辑完成;4.调度任务执行完成。
    007+ 1.归档10.27日之前的队列表,凤凰计划队列 表的数据;(当前处理时间,一个月以前的数据) 2.开启从11.20 之后的队列数据合并日志到Listing表(当前处理时间往前推7天 开始算) 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:调度系统MQ 模式工作逻辑流程:1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;3.执行业务逻辑完成;4.调度任务执行完成。
    007- <p>1.<strong><span style="color:#E53333;">归档10.15日之前的队列表</span></strong>,凤凰计划队列 表的数据;<br /> 2.开启从11.08 之后的队列数据合并日志到Listing表<br /> 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:<br /><br />调度系统MQ 模式工作逻辑流程:<br />1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;<br />2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;<br />3.执行业务逻辑完成;<br />4.调度任务执行完成。</p>
    007+ <p>1.<strong><span style="color:#E53333;">归档10.27日之前的队列表</span></strong>,凤凰计划队列 表的数据;(当前处理时间,一个月以前的数据)<br /> 2.开启从11.20 之后的队列数据合并日志到Listing表(当前处理时间往前推7天 开始算)<br /> 3.监控2跑的是否正常,若不能正常跑,打日志跟进调度任务逻辑流程:<br /><br />调度系统MQ 模式工作逻辑流程:<br />1.调度任务向配置的MQ消息队列 :exchange.queue 发送 生产消息;<br />2.调度任务 消费 端消费 MQ:exchange.queue 的消息 + 调用配置的***.Execute()方法,开始执行业务逻辑;<br />3.执行业务逻辑完成;<br />4.调度任务执行完成。</p>
  14. 2023-11-27 11:14:51, 由 周杰 编辑。
    修改了 截止日期,旧值为 "2023-11-24",新值为 "2023-11-30"。
  15. 2023-11-28 10:07:07, 由 王翔宇 指派给 朱思文。
    修改了 指派给,旧值为 "wangxiangyu",新值为 "zhusiwen"。
  16. 2023-12-01 09:55:19, 由 周杰 编辑。
    修改了 所属迭代,旧值为 "798",新值为 "818"。
    修改了 所属模块,旧值为 "1863",新值为 "0"。
  17. 2023-12-01 09:59:02, 由 周杰 编辑。
    修改了 截止日期,旧值为 "2023-11-30",新值为 "2023-12-08"。
  18. 2023-12-01 18:47:29, 由 朱思文 完成。
    修改了 总计消耗,旧值为 "0",新值为 "8"。
    修改了 指派给 ,旧值为 "zhusiwen",新值为 "liuhanze"。
    修改了 实际完成,旧值为 "",新值为 "2023-12-01 18:45:17"。
    修改了 任务状态,旧值为 "doing",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2023-12-01 18:47:29"。
    修改了 预计剩余,旧值为 "8",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "zhusiwen"。

    1.开始从11-20号开始同步自动刊登凤凰计划,执行时间段


  19. 2023-12-13 10:37:15, 由 刘瀚泽 添加备注。

    确认当前执行同步频率和执行延迟情况

  20. 2023-12-29 15:13:46, 由 王翔宇 编辑。
    修改了 相关需求,旧值为 "0",新值为 "17728"。
    修改了 开发组 ,旧值为 "1",新值为 "2"。
  21. 2023-12-29 16:54:40, 由 朱思文 添加备注。

    1.看起来最大有一天的延迟,可以看前一天的日志记录

  22. 2024-01-03 11:28:42, 由 周杰 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "liuhanze",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "zhoujie"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2024-01-03 11:28:42"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 技术研发中心 12月运维事项(2023年)
所属模块 /
相关需求 IMS:Sprint_MTP_20231212 技术支持需求
指派给 Closed 于 2024-01-03 11:28:42
任务类型 运维
任务标签 初始
开发组 运营开发组
任务状态 已关闭
进度 100%
优先级 P1
关键词
抄送给
由谁创建 刘瀚泽 于 2023-10-08 13:54:13
由谁完成 朱思文 于 2023-12-01 18:45:17
由谁取消 暂无
由谁关闭 周杰 于 2024-01-03 11:28:42
关闭原因 已完成
最后编辑 周杰 于 2024-01-03 11:28:42
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 8工时
总计消耗 8工时
预计剩余 0工时
预计开始 2023-11-20
实际开始 2023-12-01
截止日期 2023-12-08