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

[release-15.0] Enable failures in tools/e2e_test_race.sh and fix races (#13654) #14009

Merged
merged 2 commits into from
Oct 2, 2023

Commits on Sep 18, 2023

  1. Enable failures in tools/e2e_test_race.sh and fix races (#13654)

    Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
    vitess-bot[bot] committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    69f88f4 View commit details
    Browse the repository at this point in the history
  2. Vttablet schema tracking: Fix _vt.schema_version corruption (#13045)

    * Copy fields from schema.Engine before modifying
    
    This fixes a race condition which caused protobuf marshaled schema
    data in _vt.schema_version rows to become corrupted when ColumnType was
    modified between the time when Field message sizes were calculated
    and when Field message data was written to the buffer.
    
    Signed-off-by: Brendan Dougherty <brendan.dougherty@shopify.com>
    
    * Acquire schema engine mutex while marshaling schema
    
    This change is purely defensive, but it may help avoid future
    race conditions caused by modifying shared schema structs while
    they are being marshaled to protobuf.
    
    Signed-off-by: Brendan Dougherty <brendan.dougherty@shopify.com>
    
    * reorganize imports and allocate slices with make
    
    Signed-off-by: Austen Lacy <austen.lacy@shopify.com>
    
    * gofmt
    
    Signed-off-by: Austen Lacy <austen.lacy@shopify.com>
    
    * flakey unit test
    
    Signed-off-by: Austen Lacy <austen.lacy@shopify.com>
    
    * Use common code to update column_type for both vstreamer and rowstream events in a thread-safe fashion. Fix related tests
    
    Signed-off-by: Rohit Nayak <rohit@planetscale.com>
    
    * Use DBName and not keyspace name while getting extended field info!
    
    Signed-off-by: Rohit Nayak <rohit@planetscale.com>
    
    * Fix TestVStreamSharded
    
    Signed-off-by: Rohit Nayak <rohit@planetscale.com>
    
    ---------
    
    Signed-off-by: Brendan Dougherty <brendan.dougherty@shopify.com>
    Signed-off-by: Austen Lacy <austen.lacy@shopify.com>
    Signed-off-by: Rohit Nayak <rohit@planetscale.com>
    Co-authored-by: Austen Lacy <austen.lacy@shopify.com>
    Co-authored-by: Rohit Nayak <rohit@planetscale.com>
    3 people authored and frouioui committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    df54722 View commit details
    Browse the repository at this point in the history