-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DynamoDB Leader Monitor: On Next Should Always Provide MasterDescription #692
DynamoDB Leader Monitor: On Next Should Always Provide MasterDescription #692
Conversation
It appears that specifying null to the observer results in a weird terminal condition where all values after null are not observed.
I don't have tag pushing rights, but if someone could tag this |
@crioux-stripe I think @kmg-stripe was able to push the RC tag, and you have the same role in settings. Can you try pushing the tag and let me know if you get any errors? |
@Andyz26 I did think it was kind of odd but I'm getting:
|
@crioux-stripe, hmm, this is weird: "fatal: Could not read from remote repository." Maybe try reattaching the public SSH keys? |
That did the trick. The default Stripe one appeared to be an older RSA key. I added a new
(This used to produce an error.) |
This is an extension of @kmg-stripe 's fix in #691 that is ready to merge.
Context
The DynamoDBMasterMonitor had cases where it may propagate a
null
value whengetLatestMaster()
is called, despite having some protections against it. I've removed theAtomicReference
to the latest and just rely on theBehaviorSubject
to return the latest value.Checklist
./gradlew build
compiles code correctly./gradlew test
passes all tests