Fix ConcurrentModificationException when flushing async log messages#2213
Fix ConcurrentModificationException when flushing async log messages#2213michaelbausor merged 2 commits intogoogleapis:masterfrom
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
A missing synchronized statement when adding to pendingWrites cause ConcurrentModificationExceptions in the flush() method when the pendingWrites are copied to writesToFlush.
|
I signed it! Or at least Spotify signed it and I have tried to commit using my @spotify.com email address, but it does not look like it is working? |
michaelbausor
left a comment
There was a problem hiding this comment.
Thanks for the PR, this looks good!
Regarding the CLA, you could try:
- Check that your Spotify email address is added to your Github account. It doesn't need to be the primary email, but it should be added. See instructions here: https://help.github.com/articles/adding-an-email-address-to-your-github-account/
- If that is done, make sure you are added to the group of authorized contributors for Spotify
Please let me know if those steps don't work, or if you don't know who your Point of Contact inside Spotify is to get added to the authorized contributors group.
| logging.write(ImmutableList.of(LOG_ENTRY1)); | ||
| logging.flush(); | ||
| } catch (Exception ex) { | ||
| ex.printStackTrace(); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Thanks for taking a look at the PR! About the CLA:
Should I just try a new PR? |
|
CLAs look good, thanks! |
|
Thanks googlebot! |
|
Bug still occurs for me |
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
A missing synchronized statement when adding to pendingWrites cause
ConcurrentModificationExceptions in the flush() method when the
pendingWrites are copied to writesToFlush.
Fixes #2207.