One day suddenly all log reader agent went to stop completed successfully state with the error.
Error validating publisher
arithmetic overflow error converting expression to data type nvarchar
error were logged when validating the redirected publisher
my environment is 2016, I have AG and replication setup, use sp_redirect_publisher to add the listener however i got the above error recently and check the system table MSredirected_publishers which has column datatype as Sysname..
So wonder why did i hit this error, unfortunately since the log reader agent completed it did not throw re-try mail.. please shed some light
CREATE TABLE [dbo].[MSredirected_publishers](
[original_publisher] [sysname] NOT NULL,
[publisher_db] [sysname] NOT NULL,
[redirected_publisher] [sysname] NOT NULL
) ON [PRIMARY]
GO