bump switchman

refs AE-1

Test Plan:
1. make sure you've got redis configured as your cache. MultiCache.cache
   should return a ActiveSupport::Cache::RedisCacheStore
2. have a setup where the local ID of a root account on one shard matches
   the local ID of your SiteAdmin account on another shard. For example,
   in my setup the SiteAdmin account lives on Shard 1 and has a local ID
   of 1, and on Shard 2 I have a root account with a local ID of 1.
3. bundle install on a branch with pre-3.4 switchman
4. clear redis: redis-cli flushall
5. start a rails server and navigate to your site admin account in the
   browser. For me, that's

   <shard 1 domain>/accounts/site_admin

6. navigate to your root account on the other shard with the same local id
   as the site admin account:

   <shard 2 domain>/accounts/<root account local id>

   Verify it takes you to the correct account.

7. stop your server, switch to this branch (switchman 3.4.2), do a
   bundle install, and start your server. Navigate to the root account on
   shard 2 again:

   <shard 2 domain>/accounts/<root account local id>

   Verify it takes you to the correct account.

Change-Id: I5ff422a597df9f2eb064277b67bbf6a2c5426266
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/316174
Reviewed-by: Cody Cutrer <cody@instructure.com>
Build-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Spencer Olson <solson@instructure.com>
Product-Review: Cameron Ray <cameron.ray@instructure.com>
This commit is contained in:
Spencer Olson 2023-04-17 13:21:01 -05:00
parent 5018bf4ff7
commit 3f44c64849
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ end
gem "bootsnap", "1.13.0", require: false
gem "rails", "~> 7.0.4"
gem "tzinfo", "2.0.4"
gem_override "switchman", "3.3.7"
gem_override "switchman", "3.4.2"
gem "guardrail", "3.0.2"
gem_override "switchman-inst-jobs", "4.0.13"
gem "irb", "1.4.1"

View File

@ -1074,7 +1074,7 @@ GEM
rspec (~> 3.8)
strscan (3.0.6)
swearjar (1.4.0)
switchman (3.3.7)
switchman (3.4.2)
activerecord (>= 6.1.4, < 7.1)
guardrail (~> 3.0.1)
parallel (~> 1.22)
@ -1394,7 +1394,7 @@ DEPENDENCIES
stackprof (~> 0.2)
stormbreaker (= 0.0.8)
stringify_ids!
switchman (= 3.3.7)
switchman (= 3.4.2)
switchman-inst-jobs (= 4.0.13)
testrailtagging (= 0.3.8.7)
thrift_client (= 0.9.3)!