Skip to content

Add support for session parameter validation.#12

Merged
robshakir merged 28 commits intomainfrom
fluent-6
Jun 7, 2021
Merged

Add support for session parameter validation.#12
robshakir merged 28 commits intomainfrom
fluent-6

Conversation

@robshakir
Copy link
Copy Markdown
Member

commit 0876862586454dd30a4221ea2182ee97d04ebde3
Author: Rob Shakir <robjs@google.com>
Date:   Sun Jun 6 11:55:13 2021 -0700

    Add handling of SessionParameter negotiation
    
      * (M) server/server.go
      * (M) server/server_test.go
        - Add handling of session parameters validation and checks against
          the supported capabilities of the fake.

robshakir and others added 21 commits June 2, 2021 11:10
  * (M) client/client.go
    - TODOs for implementation details that are pending.
  * (M) client/client.go
    -  add handling for receiving messages from a client into
       restructured pending and result queues that include more
       info including the timestamp and result codes.
  * (M) client/client_test.go
    - add test coverage for all non-integration parts.
  * (M) fluent/fluent.go
    - Since the client connection parameters might be across
      different RPCs, restructure the fluent client (per the design
      doc) to encapsulate the connection parameters.
  * (M) fluent/fluent_test.go
    - Update existing tests to correspond to absorb the changes
      described above.
  * (M) client/client.go
  * (M) client/client_test.go
    - Restructure pneding queues to be able to store the type of
       transaction that is pending, not just operations - such that
       it is possible to track latency of other operations and ensure
       that the client is aware that is has pending non-operations
       requests.
    - Add a converged method to check whether there are any pending
      requests from the server in the client.
  * (M) fluent/fluent.go
  * (M) fluent/fluent_test.go
    - Add initial Await() implementation.
  * (A) chk/chk.go
  * (A) chk/chk_test.go
    -  Add a check library that can be used to determine
        characteristics of the results that are returned by the client.
        This library is a fluent-style helper library for gRIBI client
        results to maintain readability of our test cases.
  * (M) client/client.go
    - Change the modifyCh to be unbuffered such that we have blocking
      writes, this is required to ensure that we do not lose messages
      and ensure that Await operates as expected.
    - Add String debugging output to OpResult.
  * (M) fluent/fluent.go
  * (M) fluent/fluent_test.go
    - Add Results method, and extend testing to results.
  * (M) go.mod
  * (M) go.sum
    - Housekeeping
  * (M) server/server.go
  * (M) server/server_test.go
    - Add support and testing for master election.
  * (M) client/client.go
    -  Avoid appending an empty session parameters request with no
       provided parameters.
  * (M) fluent/fluent_test.go
    - Handle test flake because of timing issues.
  * (M) client/client_test.go
    - Remove sending empty parameters message when no parameters are
      set.
  * (M) server/server.go
  * (M) server/server_test.go
    - Add handling of session parameters validation and checks against
      the supported capabilities of the fake.
@robshakir robshakir changed the base branch from main to fluent-5 June 6, 2021 18:59
robshakir added 5 commits June 6, 2021 14:30
  * (M) client/client.go
  * (M) client/client_test.go
    - Add new option to allow for persistence to be sent to the server.
    - Ensure that a client with errors is marked as converged.
  * (M) fluent/fluent.go
  * (M) fluent/fluent_test.go
    - Plumb persistence through fluent client.
    - Add test case to check that a client with errors does not hang
      indefinitely.
  * (M) server/server.go
  * (M) server/server_test.go
    - Fix error handling.
  * (M) chk/chk.go
    - Add removed documentation string.
  * (M) .github/workflows/go.yml
    - Remove doc from go test -race.
Base automatically changed from fluent-5 to main June 7, 2021 16:12
@robshakir robshakir requested a review from sthesayi June 7, 2021 20:24
@robshakir robshakir changed the title [Depends PR#10] Add support for session parameter validation. Add support for session parameter validation. Jun 7, 2021
@robshakir robshakir merged commit 758ab23 into main Jun 7, 2021
@robshakir robshakir deleted the fluent-6 branch June 22, 2021 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants