重现步骤

[步骤]

CODE:N1005132 Error:11_-2_0_-2146232060 SQL: select a.ID,CustomerID,SKU,BrowsePathByID,BrowseNodeName,IsMain,IsDelete,UpdateTime from E_Product_Amazon_BrowseTree a(nolock) INNER JOIN @tb_SkuIds sku_Ids on a.SKU=sku_Ids.Id where a.CustomerID = @CustomerID AND a.IsDelete=0 AND a.Country = @Country PARAMS:@CustomerId = 1 ,@Country = US ,@tb_SkuIds = 17254780,17254126,17251888,17230547,17230516,17222804,17221960,17221806,17221017,17217031,17207462,17207134,17199487,17198904,17197843,17197842,17197841,17197799,17197539,17195349,17195079,17195067,17195064,17195058,17195053,17195046,17191635,17190671,17190669,17190639,17190013,17189769,17189768,17189767,17189766,17189764,17189763,17189665,17189637,17189636,17189635,17189634,17189456,17189418,17189417,17186955,17186954,17186941,17184041,17183706,17177881,17176923,17176922,17176921,17176891,17176881,17176880,17176879,17176841,17176773,17176772,17176771,17176692,17171415,17167746,17167687,17167493,17167016,17166386,17166172,17164210,17164197,17161547,17161092,17161003,17155273,17155038,17154839,17152888,17152806,17152755,17152746,17152547,17150513,17148395,17148242,17143638,17141802,17137058,17105711,17070496,17048132,17023419,16931358,16923460,16923459,16923329,16922876,16922875,16922469, , MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。 TRACE: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 在 System.Data.SqlClient.SqlInternalConnection.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.TryConsumeMetaData() 在 System.Data.SqlClient.SqlDataReader.get_MetaData() 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) 在 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.DALExtendV2.E_Product_Amazon_BrowseTree.GetProductBrowseTreeBySkusList(Int32 customerId, String country, List`1 skus) 在 PandaBuy.ERP.Web.IrobotBox.Product.ProductList.rpt_OnDataBinding(Object sender, EventArgs e) 在 System.Web.UI.Control.OnDataBinding(EventArgs e) 在 System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) 在 System.Web.UI.WebControls.Repeater.DataBind() 在 PandaBuy.ERP.WebBase.PageBasePaging.dvBind(DataTable dv) 在 PandaBuy.ERP.Web.IrobotBox.Product.ProductList.Query(String conn) 在 PandaBuy.ERP.Web.IrobotBox.Product.ProductList.Page_Load(Object sender, EventArgs e) 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) 在 System.EventHandler.Invoke(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.ProcessRequestWithNoAssert(HttpContext context) 在 System.Web.UI.Page.ProcessRequest(HttpContext context) 在 ASP.irobotbox_product_productlist_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.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

[结果]


[期望]

建议把此处的超时时间设置为2分钟 


历史记录  
  1. 2023-11-08 14:06:40, 由 袁慧斌 创建。
  2. 2023-11-08 14:07:27, 由 李乐同 指派给 何建宝。
    修改了 指派给,旧值为 "liletong",新值为 "hejianbao"。
  3. 2023-11-08 16:49:43, 由 何建宝 指派给 吴万春。
    修改了 指派给,旧值为 "hejianbao",新值为 "wuwanchun"。
  4. 2023-11-08 20:12:53, 由 吴万春 解决,方案为 程序BUG 。
    修改了 解决方案,旧值为 "",新值为 "code"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2023-11-08 20:07:46"。
    修改了 指派给 ,旧值为 "wuwanchun",新值为 "liletong"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "wuwanchun"。

    超时限制加上了(验证了一下这个sql并非是慢查询);

    引用页面之一:所有产品运营管理页面搜索;(调用这个查询的页面确实有好几个)

  5. 2023-11-16 14:57:51, 由 李乐同 指派给 刘超。
    修改了 指派给,旧值为 "liletong",新值为 "liuchao"。
  6. 2023-11-16 16:41:07, 由 刘超 添加备注。

  7. 2023-11-16 16:41:44, 由 刘超 添加备注。

    正常搜索

  8. 2023-11-16 16:42:35, 由 刘超 添加备注。

    产品运营正常搜索

  9. 2023-11-16 16:42:59, 由 刘超 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "liuchao",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "liuchao"。
    修改了 关闭日期,旧值为 "",新值为 "2023-11-16 16:42:59"。
  10. 2023-11-17 09:25:43, 由 刘超 编辑。
    修改了 所属模块,旧值为 "1810",新值为 "1852"。
  11. 2023-11-17 09:53:50, 由 刘超 编辑。
    修改了 所属模块,旧值为 "1852",新值为 "1863"。
所属项目 技术中心-需求池
所属模块 系统运维   性能优化
所属计划
所属迭代
Bug类型
严重程度 提示
优先级 P2
Bug状态 已关闭
业务部门
影响功能
开发责任人
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2023-11-16 16:42:59
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 袁慧斌 于 2023-11-08 14:06:40
影响环境 577
由谁解决 吴万春 于 2023-11-08 20:07:46
解决版本 主干
解决方案 程序BUG
由谁关闭 刘超 于 2023-11-16 16:42:59
最后修改 刘超 于 2023-11-17 09:53:48
相关Bug