This is the code that built and released as preview version 0.5.2 https://www.nuget.org/packages/Microsoft.Azure.EventHubs.ServiceFabricProcessor/0.5.2
At the time it couldn't be merged with dev due to test issues from unrelated work, so we did the release from the SFprocessor branch. Those issues have been resolved, and we expect that future preview releases will come from dev branch.
* Couple improvements in Azure Lease Manager to reduce numberof storage calls.
* N/A as partition id
* Go with default timeout
* Moving to most recent AMQP release
* Fix flaky EPH test
* Adding 30 seconds default operation timeout back to tests.
* Reducing EPH to storage IO calls.
* Couple more fixes
* .
* Set token for owned leases.
* Refresh lease before acquiring in processor host.
* Fix metada removal order during lease release.
* Update lease token only for already running pumps to avoid resetting receiver position data.
* FetchAttributesAsync of blob as part of GetAllLeasesAsync() call.
* Refresh lease before attempting to steal
* Don't retry if we already lost the lease during receiver open.
* Don't attempt to steal if owner has changed from the calculation time to refresh time.
* -
* Partition pump to close when hit ReceiverDisconnectedException since this is not recoverable.
* -
* Ignore any failure during releasing the lease
* Don't update pump token if token is empty
* Nullify the owner on the lease in case this host lost it.
* Increment ourLeaseCount when a lease is acquired.
* Correcting task list
* No need to assign pump lease token to downloaded lease.
* comment update
* comment update
* Clear ownership on partial acquisition.
* Clear ownership on partial acquisition.
* Make sure we don't leave the lease as owned if acquisition failed.
* Adding logs to debug lease corruption bug
* Adding logs to debug lease corruption bug
* Small fix at steal lease check
* Protect subject iterator variable during task creation in for loops.
* .
* Renew lease right after ChangeLease call
* Don't create pump if partition expired or already moved to some other host.
* Use refreshed lease while creating partition pump.
* Remove temporary debug logs.
* Addressing SJ's comments
* Remove obsolete
* Using Guard to improve code reading and avoid lines
* Using ArgumentNotNullOrEmpty
* Complete More validations with Guard
* Replace All ArgumentNullException
* Fix Namespace
* Remove Result for async call
* Get awaiter get result for GetAllLeases
* Remove useless using
* Remove useless initializator
* Replace Task Run Call
* Remove Task Run
copy properties from an amqp message into the the event data system
properties collection when updating the event data headers and
properites.
- follow the code style from Azure EH Amqp dotnet: 9b421a7ebe/Microsoft.Azure.Amqp/Amqp/Framing/Properties.cs (L65)
- add some coverage that helps to test and understand how to reprod
resolved: #242