重现步骤
prometheus告警
            开始时间: 04:01:27 

            错误代码: N040127115  

            sql类型: UPDATE   

            sql: [04:01:27]  -------------------------------------------------------------
CODE:N040127115
Error:16_8152_30_-2146232060
SQL:UPDATE RB_AmazonUploadProduct_V2
SET
Status=@Status,
UpdateTime=getdate(),
ErrRetryRemarks=isnull(ErrRetryRemarks,'')+'【重试标识_属性缺陷_230725_04_01】',
ErrRetryTime=getdate()
where QueueID in ( SELECT CONVERT(INT, item) FROM Charsplitforin(@QueueIDs, ',') )
And [CustomerID] = @CustomerID
PARAMS:@CustomerID = 1 ,@QueueIDs = 794628848,794625431,794630730,794628044,794629986,794630274,794632055,794632315,794626792,794627681,794629561,794622824,794625177,794630287,794622877,794624370,794630192,794629810,794633381,794633474,794633932,794635325,794635683,794635466,794637313,794633733,794632289,794626781,794627486,794630756,794640426,794636228,794638049,794639687,794637468,794634871,794640183,794640990,794635397,794641557,794642236,794641572,794634511,794633242,794635453,794637543,794640045,794643182,794626945,794632782,794634211,794641064,794638962,794646243,794646014,794643067,794643415,794643940,794647368,794643577,794643952,794644428,794644705,794645116,794645442,794644508,794650892,794643173,794646907,794648107,794649576,794618143,794646374,794620739,794651526,794649207,794650298,794655923,794655119,794651145,794655700,794658757,794660736,794623151,794625479,794627848,794666113,794601064,794663488,794667923,794625102,794626345,794626947,794663324,794664258,794664799,794668391,794669091,794669863,794663496,794663882,794664167,794665223,794665646,794666015,794666218,794667100,794669350,794669763,794671813,794670235,794672062,794672435,794671605,794664208,794674352,794674515,794670680,794671838,794644384,794647238,794656810,794661279,794662805,794664568,794667207,794669005,794670298,794675045,794675180,794675263,794675439,794675339,794675419,794657874,794675673,794676155,794673727,794677254,794676360,794669357,794604804,794679562,794681382,794681548,794679475,794679069,794674422,794676042,794676157,794676418,794678146,794682261,794683762,794683889,794681626,794683690,794679849,794685576,794685337,794685795,794685208,794691610,794693059,794677028,794679880,794688228 ,@Status = 0 ,
MESSAGE:String or binary data would be truncated.
The statement has been terminated.
TRACE: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 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.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, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() 在 RB.DAL.DBOperator.ExecuteSql(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms) 在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms) 在 RB.DAL.DBOperator.ExecuteSql(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms) 在 RB.DALExtend.RB_AmazonUploadProduct_V2Extend.BatchUploadProductV2StatusByQueueIDsWithSign(Int32 customerID, Int32 status, List1 queueIDs, String descStr)
在 Biz.Irobotbox.Amazon.Amazon_RetryErrorUpload.UploadRetryOnlyStatusByErrorCode(DateTime starTime, DateTime endTime, String errorCode, String retryDescStr)
在 ChinaDownLoadImage.Task.Amazon.Task_Amazon_AmazonRetryByErrorCode.Execute()
在 RB.Utility.SystemTask.b__43_0()
在 System.Threading.Tasks.Task.Execute()
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
在 System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
在 System.Threading.ThreadPoolWorkQueue.Dispatch()




历史记录  
  1. 2023-07-25 08:56:57, 由 吴高发 创建。
  2. 2023-07-26 18:14:48, 由 王翔宇 指派给 冯名明。
    修改了 指派给,旧值为 "wangxiangyu",新值为 "fengmingming"。
  3. 2023-07-27 15:02:41, 由 冯名明 解决,方案为 性能问题 。
    修改了 解决方案,旧值为 "",新值为 "performance"。
    修改了 解决版本,旧值为 "",新值为 "trunk"。
    修改了 解决日期,旧值为 "",新值为 "2023-07-27 15:01:09"。
    修改了 指派给 ,旧值为 "fengmingming",新值为 "guanyilin"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "fengmingming"。

    原因:因为定时服务一直重试数据,导致拼接的备注内容过长

    解决:每次更新的时候直接替换掉之前的备注内容

  4. 2023-08-17 15:53:42, 由 关依林 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "guanyilin",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "guanyilin"。
    修改了 关闭日期,旧值为 "",新值为 "2023-08-17 15:53:42"。
  5. 2023-11-17 09:53:25, 由 刘超 编辑。
    修改了 所属模块,旧值为 "1740",新值为 "1863"。
所属项目 技术中心-需求池
所属模块 系统运维   性能优化
所属计划
所属迭代
Bug类型 程序BUG
严重程度 提示
优先级 P2
Bug状态 已关闭
业务部门
影响功能
开发责任人
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2023-08-17 15:53:42
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词
抄送给
所属迭代
相关需求
相关任务
由谁创建 吴高发 于 2023-07-25 08:56:57
影响环境 577

由谁解决 冯名明 于 2023-07-27 15:01:09
解决版本 主干
解决方案 性能问题
由谁关闭 关依林 于 2023-08-17 15:53:42
最后修改 刘超 于 2023-11-17 09:53:23
相关Bug