I have setup transaction Replication PULL type between SQL servers. But, my distribution cleanup job is not removing any data from MS_replCommands and repltransaction tables.
I have set Immediate_Snyc and allow_anonymous to 0.
Distribution Job Detail:
Query: EXEC dbo.sp_MSdistribution_cleanup @min_distretention = 0, @max_distretention = 72
JOB result: Executed as user: NT SERVICE\SQLSERVERAGENT. Removed 0 replicated transactions consisting of 0 statements in 0 seconds (0 rows/sec). [SQLSTATE 01000] (Message 21010). The step succeeded.
note: When I have set Immediate_Snyc to 1 and tried then it worked, but why not with 0 as on other server I have set 0 and it's working.
Please help me.