Skip to content
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

fix: at connection level, retry for internal errors #1965

Merged
merged 10 commits into from Jan 31, 2023

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    e0b54a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. .

    yirutang committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    3cb8316 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e00676 View commit details
    Browse the repository at this point in the history
  3. .

    yirutang committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    c3ecc05 View commit details
    Browse the repository at this point in the history
  4. .

    yirutang committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    7143552 View commit details
    Browse the repository at this point in the history
  5. .

    yirutang committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    dbe9782 View commit details
    Browse the repository at this point in the history
  6. .

    yirutang committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    10176d3 View commit details
    Browse the repository at this point in the history
  7. .

    yirutang committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    b54a81b View commit details
    Browse the repository at this point in the history
  8. feat: allow java client to handle schema change during same stream na…

    …me (googleapis#1964)
    
    * feat: Split writer into connection worker and wrapper, this is a
    prerequisite for multiplexing client
    
    * feat: add connection worker pool skeleton, used for multiplexing client
    
    * feat: add Load api for connection worker for multiplexing client
    
    * feat: add multiplexing support to connection worker. We will treat every
    new stream name as a switch of destinationt
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: port the multiplexing client core algorithm and basic tests
    also fixed a tiny bug inside fake bigquery write impl for getting thre
    response from offset
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: wire multiplexing connection pool to stream writer
    
    * feat: some fixes for multiplexing client
    
    * feat: fix some todos, and reject the mixed behavior of passed in client or not
    
    * feat: fix the bug that we may peek into the write_stream field but it's
    possible the proto schema does not contain this field
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: fix the bug that we may peek into the write_stream field but it's
    possible the proto schema does not contain this field
    
    * feat: add getInflightWaitSeconds implementation
    
    * feat: Add schema comparision in connection loop to ensure schema update for
    the same stream name can be notified
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: add schema update support to multiplexing
    
    * fix: fix windows build bug: windows Instant resolution is different with
    linux
    
    * fix: fix another failing tests for windows build
    
    * fix: fix another test failure for Windows build
    
    * feat: Change new thread for each retry to be a thread pool to avoid
    create/tear down too much threads if lots of retries happens
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * fix: add back the background executor provider that's accidentally
    removed
    
    * feat: throw error when use connection pool for explicit stream
    
    * fix: Add precision truncation to the passed in value from JSON float and
    double type.
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * modify the bom version
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * fix deadlockissue in ConnectionWorkerPool
    
    * fix: fix deadlock issue during close + append for multiplexing
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * fix: fix one potential root cause of deadlock issue for non-multiplexing
    case
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Add timeout to inflight queue waiting, and also add some extra log
    
    * feat: allow java client lib handle switch table schema for the same stream
    name
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    2 people authored and yirutang committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    af06132 View commit details
    Browse the repository at this point in the history
  9. fix: remove unrecoverable connection from connection pool during mult…

    …iplexing (googleapis#1967)
    
    * feat: Split writer into connection worker and wrapper, this is a
    prerequisite for multiplexing client
    
    * feat: add connection worker pool skeleton, used for multiplexing client
    
    * feat: add Load api for connection worker for multiplexing client
    
    * feat: add multiplexing support to connection worker. We will treat every
    new stream name as a switch of destinationt
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: port the multiplexing client core algorithm and basic tests
    also fixed a tiny bug inside fake bigquery write impl for getting thre
    response from offset
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: wire multiplexing connection pool to stream writer
    
    * feat: some fixes for multiplexing client
    
    * feat: fix some todos, and reject the mixed behavior of passed in client or not
    
    * feat: fix the bug that we may peek into the write_stream field but it's
    possible the proto schema does not contain this field
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: fix the bug that we may peek into the write_stream field but it's
    possible the proto schema does not contain this field
    
    * feat: add getInflightWaitSeconds implementation
    
    * feat: Add schema comparision in connection loop to ensure schema update for
    the same stream name can be notified
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * feat: add schema update support to multiplexing
    
    * fix: fix windows build bug: windows Instant resolution is different with
    linux
    
    * fix: fix another failing tests for windows build
    
    * fix: fix another test failure for Windows build
    
    * feat: Change new thread for each retry to be a thread pool to avoid
    create/tear down too much threads if lots of retries happens
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * fix: add back the background executor provider that's accidentally
    removed
    
    * feat: throw error when use connection pool for explicit stream
    
    * fix: Add precision truncation to the passed in value from JSON float and
    double type.
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * modify the bom version
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * fix deadlockissue in ConnectionWorkerPool
    
    * fix: fix deadlock issue during close + append for multiplexing
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * fix: fix one potential root cause of deadlock issue for non-multiplexing
    case
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Add timeout to inflight queue waiting, and also add some extra log
    
    * feat: allow java client lib handle switch table schema for the same stream
    name
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    2 people authored and yirutang committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    a8c7fb5 View commit details
    Browse the repository at this point in the history