Describe the bug
Couldn't find coub with id 4801fv for tag xcoub, even though it was in api. So initiated three pages search and got last three before 4801fv and send it to chat. That looks weird.
- Time 2025-03-11 14:34:37
- Sub id 7
The weird thing, at 2025-03-10 16:54:37 it found new coub with id 4801fv and sent it. The next day at 2025-03-11 14:34:37 it couldn't and happened what is happened. Every iteration of checking between these two actions - it could find coub with certain id.
And more to that, for another sub with id 8, it couldn't send coubs (look #187), it started to ignore coub with id 4801fv and stopped trying to send it, but in the period mentioned above it tried for good.
2025-03-11 12:54:32.833
2025-03-11T12:54:32.833+03:00 INFO [t-coubs-initiator,67d0085553ee8f5f12448d73563b1581,12448d73563b1581] 1 --- [t-coubs-initiator] [scheduling-1] [67d0085553ee8f5f12448d73563b1581-12448d73563b1581] .t.c.s.c.CoubFinderServiceWithoutSorting : Found coub with lastPermalink in current list
2025-03-11T14:34:32.790
2025-03-11T14:34:32.790+03:00 INFO [t-coubs-initiator,67d01fc546fca4307c36ce2ad078e4d4,7c36ce2ad078e4d4] 1 --- [t-coubs-initiator] [scheduling-1] [67d01fc546fca4307c36ce2ad078e4d4-7c36ce2ad078e4d4] .t.c.s.c.CoubFinderServiceWithoutSorting : Coub with last permalink '4801fv' not found
2025-03-11 16:14:32.805
2025-03-11T16:14:32.805+03:00 INFO [t-coubs-initiator,67d03735b70fdd3a1def0299d3a12753,1def0299d3a12753] 1 --- [t-coubs-initiator] [scheduling-1] [67d03735b70fdd3a1def0299d3a12753-1def0299d3a12753] .t.c.s.c.CoubFinderServiceWithoutSorting : Found coub with lastPermalink in current list
Expected behavior
Full search shouldn't be initiated for permalink in list.
Additional context
Probably it is bad end api behavior. Enable logging in feign client with full request and response body logging as a solution.
Microservice restart didn't repair that problem.
Also tried to change last permalink for sub 7 to 4801fv - the same happened. It couldn't find it in api response and initiated 3 pages full search.
Describe the bug
Couldn't find coub with id 4801fv for tag xcoub, even though it was in api. So initiated three pages search and got last three before 4801fv and send it to chat. That looks weird.
The weird thing, at 2025-03-10 16:54:37 it found new coub with id 4801fv and sent it. The next day at 2025-03-11 14:34:37 it couldn't and happened what is happened. Every iteration of checking between these two actions - it could find coub with certain id.
And more to that, for another sub with id 8, it couldn't send coubs (look #187), it started to ignore coub with id 4801fv and stopped trying to send it, but in the period mentioned above it tried for good.
Expected behavior
Full search shouldn't be initiated for permalink in list.
Additional context
Probably it is bad end api behavior. Enable logging in feign client with full request and response body logging as a solution.
Microservice restart didn't repair that problem.
Also tried to change last permalink for sub 7 to 4801fv - the same happened. It couldn't find it in api response and initiated 3 pages full search.