Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
Joel Hendrix 1761881894
Update to latest azure-amqp-common-go and go-amqp modules (#287)
* Update to latest azure-amqp-common-go and go-amqp modules

* fix test fake and update go-amqp with race fix

* fix bug in lease renal logic
2023-03-31 12:38:42 -07:00
Joel Hendrix 8a67a58a98
Update to latest go-amqp and common module (#281)
* Update to latest go-amqp and common module

* fix detection of closed links

* clean up lint

* cleanup

* make detach errors recoverable

* update to latest common and tagged go-amqp
2022-12-06 11:03:37 -08:00
Richard Park d9a88501ef
Fixing issue with a lease existing on start (#277)
Storage failures don't return a Response, and require us to do an errors.As() and check the returned error instead. This checks for the two codes that can come back if the blob already exists (409) or if the blob exists _and_ it has an active storage lease (412).

Also, fixed a race condition in the LeaseReceiver that was causing Storage/TestMultiple() to fail.

Fixes #276
2022-11-08 15:47:40 -08:00
Joel Hendrix 21382524b6
update CI to latest versions of Go (#263)
* update CI to latest versions of Go

* update dependencies

* switch to golangci-lint

* lint and format clean-up

* switch to go install
2022-07-26 15:02:58 -07:00
Richard Park e473b7e4f6
Fixing race condition in LeaserCheckpointer where it can fail with a ContainerAlreadyExists error #253
There's a slight race condition between checking the store exists and the container being created.
    
We can handle it easily if we just allow ContainerAlreadyExists to be considered successful. Also, since the storage tests were failing (unrelated to my change) in race detection I also fixed that as well.

Fixes #252
Fixes #225
2022-04-28 10:12:14 -07:00
Martin Rauscher f6e911c8e5 fix errors in message handling being ignored (#156)
* fix errors in message handling being ignored

* update changelog and version info

Co-authored-by: Joel Hendrix <jhendrix@microsoft.com>
2020-01-27 09:08:05 -08:00
mg 403470e620 EPH WebSocket Support (#153)
* updates

* updates

* updates

* Update version.go
2020-01-17 09:56:58 -08:00
Joel Hendrix 7a1b2e2089
switch pack.ag/amqp to github.com/Azure/go-amqp (#152)
bump common lib to v3
bump mod ver to v3 due to changes in public surface area
2019-12-17 14:59:24 -08:00
David Justice f02849d748
move to v2 2019-06-06 08:51:48 -07:00
David Justice 17f75b29eb
move to v2 of common 2019-06-06 08:51:48 -07:00
David Justice e7ca69248d
batch iterator rather than event batch 2019-06-06 08:51:47 -07:00
David Justice 179ca7d618
move everything over to tab for tracing abstraction 2019-06-06 08:50:58 -07:00
David Justice ba2a7b5dc9
fix the dirty partition leak 2019-03-04 15:50:19 -08:00
David Justice eb0f70969a
move test requirements into terraform 2018-12-12 11:14:04 -08:00
David Justice 83f776a262
remove staticcheck for now and clean up lint 2018-10-25 11:01:39 -07:00
David Justice f8122418ab
move to mod from dep and replace mega with static 2018-10-24 17:14:29 -07:00
Dennis Trautwein 167123d325 only set consumer group if it is not an empty string 2018-09-27 09:05:57 +02:00
Dennis Trautwein 0b896f609a Add option to configure consumer group 2018-09-25 16:13:31 +02:00
David Justice 9d7b04d86b
move from opentracing to opencensus 2018-08-24 16:24:05 -07:00
David Justice 6b5aaf1d09
clean tests and lock receivers on scheduler stop 2018-07-24 13:44:03 -07:00
David Justice 0132fdea37
less greed due to lease renew timeouts 2018-07-24 08:28:53 -07:00
David Justice ca3b0601b0
increase greed and release lease on close 2018-07-23 19:58:52 -07:00
David Justice 464f2ec3b9
lower the scan interval 2018-07-23 17:44:12 -07:00
David Justice 9ca434032a
improve eph robustness 2018-07-23 17:19:49 -07:00
David Justice 875afc9b08
randomize returned leases to reduce fighting 2018-07-23 10:29:39 -07:00
David Justice 929f508f07
less greed and more test clean up 2018-07-23 10:03:27 -07:00
David Justice 4e1c918bd8
add in a connection string option for eph 2018-07-22 15:59:34 -07:00
David Justice 9a085870f4
rework sender recovery 2018-07-17 08:22:36 -07:00
David Justice 8e7710c82c
change timeouts for long running tests 2018-07-06 15:48:39 -07:00
David Justice b2a7c3d01d
clean up require no error in tests 2018-07-06 14:23:36 -07:00
David Justice 548b6df759
provide more time for long running tests 2018-07-06 14:10:29 -07:00
David Justice 60eb9facef
update changelog, version and add test 2018-07-06 13:48:37 -07:00
David Justice a0641e565b
fix inconsistencies when provisioning hubs 2018-07-03 14:53:36 -07:00
David Justice edc24dc9e0
add register and unregister methods 2018-06-28 16:01:33 -07:00
David Justice 5f21327d22
update tests to all include timeouts 2018-06-28 13:00:15 -07:00
David Justice 7fa8bd2178
improve eph tests 2018-04-23 13:17:45 -07:00
David Justice 076dc8cebb
add changelog entry and bump version 2018-04-13 16:03:45 -07:00
David Justice 9f955e679b
stablize eph tests 2018-04-13 15:59:14 -07:00
David Justice adb9eeb44b
span logger and tracing prototype propogating tracing 2018-04-13 15:59:17 -07:00
David Justice c29e80ca81
fix lint issue and add badges 2018-03-23 16:43:07 -07:00
David Justice 9a0b4d0bd6
add better readme docs 2018-03-23 11:01:14 -07:00
David Justice b04f160320
add license header to files 2018-03-21 15:12:54 -07:00
David Justice 1c26ed71dc
move common into common repo 2018-03-21 14:48:15 -07:00
David Justice 74bdcf30cf
remove client and add documentation 2018-03-21 11:18:59 -07:00
David Justice be0e16dc4a
remove uuid references from the library 2018-03-21 10:23:17 -07:00
David Justice cf522c1808 increase test time and fix linter issue 2018-03-20 09:45:49 -07:00
David Justice 7276e1a33f storage eph passes tests, but they are not deterministic 2018-03-19 16:55:55 -07:00
David Justice 014fe8e032 storage with checkpoint persistence 2018-03-16 15:06:25 -07:00
David Justice 42906ec03a storage leaser works with tests 2018-03-15 13:49:25 -07:00
David Justice 5425d8d57f improved eph and storage aad sas auth 2018-03-15 08:22:59 -07:00