重现步骤

[步骤]


[11:24:10]  -------------------------------------------------------------
CODE:N11241028
Error:21_596_1_-2146232060
SQL: SELECT top 500 [ID],[CustomerID],[UPC],[IsUsed],[UseTime],[Memo],[OrderSourceIDs],[OperationAdminID],[OperationAdminName],[IsEbayUsed],[IsCdUsed],[CdUseTime],[IsWishUsed],[LockGuid],[AddTime],[IsWalmartUsed],[IsMercadolibreUsed],[IsAllegroUsed],[IsNeweggUsed],[IsRealdeUsed],[IsKoganUsed],[IsJoybuyUsed],[IsFruugoUsed],[EbayUseTime],[WishUseTime],[WalmartUseTime],[MercadolibreUseTime],[AllegroUseTime],[NeweggUseTime],[RealdeUseTime],[KoganUseTime],[JoybuyUseTime],[FruugoUseTime],[IsTikTokUsed],[TikTokUseTime] FROM RB_Product_UPC (nolock) where AddTime >= '2019-12-31' and CustomerID = 1 and ID>0  and ISNULL(IsMercadolibreUsed,0) = 0  ORDER BY ID ASC 
PARAMS:
MESSAGE:Cannot continue the execution because the session is in the kill state.
TRACE:   在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   在 System.Data.SqlClient.SqlDataReader.TryCloseInternal(Boolean closeReader)
   在 System.Data.SqlClient.SqlDataReader.Close()
   在 System.Data.Common.DbDataReader.Dispose(Boolean disposing)
   在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
   在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)   在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms)
   在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)
   在 RB.DALExtend.RB_Product_UPCExtend.LockExportList(List`1 orderSourceTypes, Int32 customerID, Int32 pageSize, Int32 maxId)
   在 PandaBuy.ERP.Web.IrobotBox.Order.ProductUPCBatchDownload.UpdateProductUPC(Int32 Quantity, List`1 orderSourceTypes, Int32 customerID, String lockGuid)
   在 PandaBuy.ERP.Web.IrobotBox.Order.ProductUPCBatchDownload.Save()
   在 PandaBuy.ERP.Web.IrobotBox.Order.ProductUPCBatchDownload.Page_Load(Object sender, EventArgs e)
   在 System.Web.UI.Control.OnLoad(EventArgs e)
   在 System.Web.UI.Control.LoadRecursive()
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest()
   在 System.Web.UI.Page.ProcessRequest(HttpContext context)
   在 ASP.irobotbox_order_productupcbatchdownload_aspx.ProcessRequest(HttpContext context)
   在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
   在 System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
   在 System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
   在 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
   在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
   在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

-------------------------------------------------------------


[结果]


[期望]

清理  或者修改 业务 提升查询效率


历史记录  
  1. 2025-08-12 12:57:25, 由 袁慧斌 创建。
  2. 2025-08-12 13:44:14, 由 李乐同 指派给 何建宝。
    修改了 指派给,旧值为 "liletong",新值为 "hejianbao"。
  3. 2025-08-12 13:45:42, 由 何建宝 指派给 李乐同。
    修改了 指派给,旧值为 "hejianbao",新值为 "liletong"。
    UPC这张表是刊登用的,不归这边管
  4. 2025-08-12 13:47:05, 由 李乐同 指派给 王翔宇。
    修改了 指派给,旧值为 "liletong",新值为 "wangxiangyu"。
  5. 2025-08-12 14:28:00, 由 王翔宇 指派给 李乐同。
    修改了 指派给,旧值为 "wangxiangyu",新值为 "liletong"。

    亚马逊迁移后已经很久没有涉及UPC。应该是多平台



  6. 2025-08-12 14:34:04, 由 李乐同 指派给 任芳涛。
    修改了 指派给,旧值为 "liletong",新值为 "renfangtao"。
  7. 2025-08-12 14:37:30, 由 任芳涛 指派给 李乐同。
    修改了 指派给,旧值为 "renfangtao",新值为 "liletong"。

    upc接口获取是通过erp接口访问的,并且这个查询判断的是美客多的逻辑

  8. 2025-08-12 14:38:16, 由 李乐同 指派给 蔡俊伟。
    修改了 指派给,旧值为 "liletong",新值为 "caijunwei"。
  9. 2025-08-12 14:43:18, 由 蔡俊伟 指派给 李乐同。
    修改了 指派给,旧值为 "caijunwei",新值为 "liletong"。
    这个不是.net 的逻辑代码吗
  10. 2025-08-12 14:44:41, 由 李乐同 指派给 任芳涛。
    修改了 指派给,旧值为 "liletong",新值为 "renfangtao"。
  11. 2025-08-12 16:45:35, 由 任芳涛 指派给 李乐同。
    修改了 指派给,旧值为 "renfangtao",新值为 "liletong"。
  12. 2025-08-12 16:49:17, 由 李乐同 编辑。
    修改了 解决时效,旧值为 "0",新值为 "-1"。
  13. 2025-08-12 16:54:55, 由 李乐同 指派给 刘瀚泽。
    修改了 指派给,旧值为 "liletong",新值为 "liuhanze"。
  14. 2025-08-12 17:22:28, 由 刘瀚泽 指派给 司马栋。
    修改了 指派给,旧值为 "liuhanze",新值为 "simadong"。
    修改了 抄送给,旧值为 "",新值为 ",huxiaolong"。

    UPC查询慢问题,系历史遗留问题,需专项讨论拉通,建议转需求处理,

    从BUG 产生来源看,数据产生来源是美客多,故辛苦司马拉通下,可以先转BUG转需求

  15. 2025-08-12 17:42:25, 由 司马栋 指派给 胡晓龙。
    修改了 指派给,旧值为 "simadong",新值为 "huxiaolong"。
    修改了 抄送给,旧值为 ",huxiaolong",新值为 ",liletong"。
    晓龙哥评估下
  16. 2025-08-12 18:09:52, 由 刘瀚泽 转为 需求,编号为 #30400 IMS:ERP产品库UPC查询性能优化改造 。
  17. 2025-08-12 18:09:52, 由 刘瀚泽 关闭。
所属项目 技术中心-需求池
所属模块 供应链   产品采购   产品库
所属计划
所属迭代
Bug类型
严重程度 严重
优先级 P1
Bug状态 已关闭
业务部门 技术研发中心
影响功能
开发责任人 刘瀚泽
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 否
当前指派 Closed 于 2025-08-12 18:09:52
截止日期 0000-00-00
上线时间 0000-00-00 00:00:00
上线时效 -1
操作系统
浏览器
关键词
抄送给 李乐同
所属迭代
相关需求
相关任务
由谁创建 袁慧斌 于 2025-08-12 12:57:24
影响环境 生产环境-线上测试
由谁解决 刘瀚泽 于 2025-08-12 18:09:52
解决版本
解决方案 tostory
由谁关闭 刘瀚泽 于 2025-08-12 18:09:52
最后修改 司马栋 于 2025-08-12 17:42:25