question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Container.GetChangeFeedProcessorBuilder().WithStartTime() not working anymore with 3.15

See original GitHub issue

We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version. The Problem only occurrs with the latest version

Describe the bug The changefeed processor always starts at the beginning, even when given a specific time

To Reproduce

  • Use Library in Version 3.15.0 example code:
            var changeFeedProcessor = sourceContainer
                .GetChangeFeedProcessorBuilder(processorName, this.changesHandler)
                .WithStartTime(this.startTime)

Expected behavior The first dataset shouldn’t be months before the given “startTime”

Actual behavior The first dataset IS months before the given “startTime”.

BUT: Downgrading the library (without changing any single line of code) solves the problem.

Of course, after every attempt, you have to delete your lease-collection, to ensure the startTime is considered at all!

Environment summary SDK Version: 3.15.0 OS Version: Win 10

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
RomanKreiselcommented, Jan 11, 2021

ok, finally the promised update: Had the chance to update the library in our product and tested the replay from a specific date - works fine now! 😃

Thanks for fixing this so quickly!

1reaction
RomanKreiselcommented, Dec 21, 2020

@j82w :Thank you for the update! I added a story to our product backlog, but it’ll take at least another 2-4 weeks until it’s processed. Since you were able to reproduce the issue, I’m pretty sure it’ll work for us, if it works for you now 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cosmos Db Change Feed do not give the desired result
I am trying to get all the changes from my monitored Db in the Cosmos db Change Feed by following the below codes....
Read more >
Cosmos Db Change Feed do not give the desired result
So I created a new container, gave the Id for it as Lease Container in my above code and set Time to be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found