switchman 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/switchman/shard.rb +3 -3
  3. data/lib/switchman/active_record/connection_handler.rb +2 -2
  4. data/lib/switchman/database_server.rb +11 -7
  5. data/lib/switchman/default_shard.rb +1 -1
  6. data/lib/switchman/engine.rb +0 -7
  7. data/lib/switchman/r_spec_helper.rb +1 -1
  8. data/lib/switchman/test_helper.rb +2 -2
  9. data/lib/switchman/version.rb +1 -1
  10. data/lib/tasks/switchman.rake +12 -6
  11. data/spec/dummy/config/environments/production.rb +1 -1
  12. data/spec/dummy/config/environments/test.rb +1 -1
  13. data/spec/dummy/db/shard_2203.sqlite3 +0 -0
  14. data/spec/dummy/db/shard_2256.sqlite3 +0 -0
  15. data/spec/dummy/db/shard_2301.sqlite3 +0 -0
  16. data/spec/dummy/db/shard_2336.sqlite3 +0 -0
  17. data/spec/dummy/db/shard_2360.sqlite3 +0 -0
  18. data/spec/dummy/db/shard_2385.sqlite3 +0 -0
  19. data/spec/dummy/db/shard_2406.sqlite3 +0 -0
  20. data/spec/dummy/db/shard_2452.sqlite3 +0 -0
  21. data/spec/dummy/db/shard_2465.sqlite3 +0 -0
  22. data/spec/dummy/db/shard_2507.sqlite3 +0 -0
  23. data/spec/dummy/db/shard_2515.sqlite3 +0 -0
  24. data/spec/dummy/db/shard_2557.sqlite3 +0 -0
  25. data/spec/dummy/db/shard_2580.sqlite3 +0 -0
  26. data/spec/dummy/db/shard_2598.sqlite3 +0 -0
  27. data/spec/dummy/db/shard_2626.sqlite3 +0 -0
  28. data/spec/dummy/db/shard_2672.sqlite3 +0 -0
  29. data/spec/dummy/db/shard_2681.sqlite3 +0 -0
  30. data/spec/dummy/db/shard_2754.sqlite3 +0 -0
  31. data/spec/dummy/db/shard_2790.sqlite3 +0 -0
  32. data/spec/dummy/db/shard_2803.sqlite3 +0 -0
  33. data/spec/dummy/db/shard_2834.sqlite3 +0 -0
  34. data/spec/dummy/db/shard_2862.sqlite3 +0 -0
  35. data/spec/dummy/db/shard_2897.sqlite3 +0 -0
  36. data/spec/dummy/db/shard_2928.sqlite3 +0 -0
  37. data/spec/dummy/db/shard_2951.sqlite3 +0 -0
  38. data/spec/dummy/db/shard_2970.sqlite3 +0 -0
  39. data/spec/dummy/db/shard_3009.sqlite3 +0 -0
  40. data/spec/dummy/log/test.log +114198 -0
  41. data/spec/dummy/tmp/cache/377/540/shard%2F2221 +1 -0
  42. data/spec/dummy/tmp/cache/379/540/shard%2F3015 +1 -0
  43. data/spec/dummy/tmp/cache/379/580/shard%2F2403 +1 -0
  44. data/spec/dummy/tmp/cache/37A/5E0/shard%2F2611 +1 -0
  45. data/spec/dummy/tmp/cache/37B/5A0/shard%2F2324 +1 -0
  46. data/spec/dummy/tmp/cache/37C/5D0/shard%2F2343 +1 -0
  47. data/spec/dummy/tmp/cache/37C/5E0/shard%2F2352 +1 -0
  48. data/spec/dummy/tmp/cache/37D/5E0/shard%2F2344 +1 -0
  49. data/spec/dummy/tmp/cache/37D/650/shard%2F2812 +1 -0
  50. data/spec/dummy/tmp/cache/37D/660/shard%2F2740 +2 -0
  51. data/spec/dummy/tmp/cache/37E/640/shard%2F2390 +1 -0
  52. data/spec/dummy/tmp/cache/37F/660/shard%2F2562 +1 -0
  53. data/spec/dummy/tmp/cache/37F/680/shard%2F2823 +1 -0
  54. data/spec/dummy/tmp/cache/37F/6B0/shard%2F2931 +1 -0
  55. data/spec/dummy/tmp/cache/380/630/shard%2F2527 +1 -0
  56. data/spec/dummy/tmp/cache/380/670/shard%2F2644 +1 -0
  57. data/spec/dummy/tmp/cache/380/690/shard%2F2824 +1 -0
  58. data/spec/dummy/tmp/cache/380/6E0/shard%2F2950 +1 -0
  59. data/spec/dummy/tmp/cache/382/640/shard%2F2277 +1 -0
  60. data/spec/dummy/tmp/cache/382/650/shard%2F2448 +1 -0
  61. data/spec/dummy/tmp/cache/382/660/shard%2F2295 +1 -0
  62. data/spec/dummy/tmp/cache/382/6F0/shard%2F2781 +1 -0
  63. data/spec/dummy/tmp/cache/382/700/shard%2F2871 +1 -0
  64. data/spec/dummy/tmp/cache/383/6B0/shard%2F2494 +1 -0
  65. data/spec/dummy/tmp/cache/383/6B0/shard%2F2575 +2 -0
  66. data/spec/dummy/tmp/cache/383/6F0/shard%2F2935 +1 -0
  67. data/spec/dummy/tmp/cache/384/700/shard%2F2693 +1 -0
  68. data/spec/dummy/tmp/cache/384/700/shard%2F2936 +1 -0
  69. data/spec/dummy/tmp/cache/385/6D0/shard%2F2739 +2 -0
  70. data/spec/dummy/tmp/cache/385/6E0/shard%2F2586 +1 -0
  71. data/spec/dummy/tmp/cache/385/760/shard%2F2982 +1 -0
  72. data/spec/dummy/tmp/cache/386/6C0/shard%2F2479 +1 -0
  73. data/spec/dummy/tmp/cache/386/710/shard%2F2767 +2 -0
  74. data/spec/dummy/tmp/cache/386/710/shard%2F2848 +1 -0
  75. data/spec/dummy/tmp/cache/387/700/shard%2F2669 +1 -0
  76. data/spec/dummy/tmp/cache/387/710/shard%2F2759 +1 -0
  77. data/spec/dummy/tmp/cache/388/770/shard%2F2886 +1 -0
  78. data/spec/dummy/tmp/cache/3A4/F20/shard%2F13000 +1 -0
  79. data/spec/dummy/tmp/cache/3A6/F50/shard%2F12201 +1 -0
  80. data/spec/dummy/tmp/cache/3A7/FA0/shard%2F12400 +1 -0
  81. data/spec/dummy/tmp/cache/3AA/FC0/shard%2F12313 +1 -0
  82. data/spec/dummy/tmp/cache/3AB/010/shard%2F12512 +1 -0
  83. data/spec/dummy/tmp/cache/3AD/010/shard%2F12253 +1 -0
  84. data/spec/dummy/tmp/cache/3AE/030/shard%2F12344 +1 -0
  85. data/spec/dummy/tmp/cache/3AE/0B0/shard%2F12740 +1 -0
  86. data/spec/dummy/tmp/cache/3AF/070/shard%2F12372 +1 -0
  87. data/spec/dummy/tmp/cache/3AF/080/shard%2F12624 +1 -0
  88. data/spec/dummy/tmp/cache/3B0/060/shard%2F12436 +1 -0
  89. data/spec/dummy/tmp/cache/3B0/0C0/shard%2F12652 +1 -0
  90. data/spec/dummy/tmp/cache/3B1/090/shard%2F12293 +1 -0
  91. data/spec/dummy/tmp/cache/3B1/0E0/shard%2F12824 +1 -0
  92. data/spec/dummy/tmp/cache/3B1/100/shard%2F12680 +1 -0
  93. data/spec/dummy/tmp/cache/3B2/0A0/shard%2F12456 +1 -0
  94. data/spec/dummy/tmp/cache/3B2/120/shard%2F12852 +1 -0
  95. data/spec/dummy/tmp/cache/3B3/0E0/shard%2F12484 +1 -0
  96. data/spec/dummy/tmp/cache/3B3/160/shard%2F12880 +1 -0
  97. data/spec/dummy/tmp/cache/3B4/0D0/shard%2F12548 +1 -0
  98. data/spec/dummy/tmp/cache/3B4/110/shard%2F12908 +1 -0
  99. data/spec/dummy/tmp/cache/3B5/110/shard%2F12576 +1 -0
  100. data/spec/dummy/tmp/cache/3B5/150/shard%2F12936 +1 -0
  101. data/spec/dummy/tmp/cache/3B6/190/shard%2F12964 +1 -0
  102. data/spec/dummy/tmp/cache/3B7/150/shard%2F12596 +1 -0
  103. data/spec/dummy/tmp/cache/3B8/170/shard%2F12768 +1 -0
  104. data/spec/dummy/tmp/cache/3B9/1B0/shard%2F12796 +1 -0
  105. data/spec/lib/active_record/connection_pool_spec.rb +5 -5
  106. data/spec/lib/active_record/postgresql_adapter_spec.rb +1 -0
  107. data/spec/lib/connection_pool_proxy_spec.rb +1 -1
  108. data/spec/lib/database_server_spec.rb +14 -14
  109. data/spec/lib/rails_spec.rb +1 -1
  110. data/spec/lib/rake_spec.rb +9 -1
  111. data/spec/lib/shackles_spec.rb +2 -2
  112. data/spec/models/shard_spec.rb +10 -10
  113. data/spec/spec_helper.rb +1 -1
  114. metadata +184 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89c0ecdbd5ff29a06d1a0d4f88cdcaac8865d4f7
4
- data.tar.gz: 0aad40c24a7cf25d7ba0e94a0c8985c70aa4d2a7
3
+ metadata.gz: 0a2099c74f356cced9d44ee70f8f9aabdad84d74
4
+ data.tar.gz: 365dc81db326578ca363394114679efef0474f2e
5
5
  SHA512:
6
- metadata.gz: 676d64be07a427c316f70c87054f96f7372e319aca3423326c2f3906e001c53b50c7ee5ec8e6dd6561dc8aeae31a05ffc726d6d3e344b1ea20b53ae758bfe0c9
7
- data.tar.gz: 3ad303f2c2a4c6d8759e2ff61e8666bba9c382dbabc689ef9b5e16e4bed86053e22174d741d49b9f7c97dadc9a54f0f7a05410b500d56e823b841b9651815e85
6
+ metadata.gz: debec37ba218a23be53e1d4568bb94921372f91ea60ce69937a49e61a0073ab54118e8ec6f066bf1b997dd6182ff19b7cf6153ed79ab3845620e1166320d8ada
7
+ data.tar.gz: b304c956c670335ab1fbf5ac1c0c1d138d688aa825b8f61cd4139eb2eb5b2a2320aac2fa6d2b1c66d13cf38bbbbec2aef7358f9394a87ceb1f7e2fd63577feb9
@@ -1,6 +1,6 @@
1
- require_dependency 'switchman/database_server'
2
- require_dependency 'switchman/default_shard'
3
- require_dependency 'switchman/environment'
1
+ require 'switchman/database_server'
2
+ require 'switchman/default_shard'
3
+ require 'switchman/environment'
4
4
 
5
5
  module Switchman
6
6
  class Shard < ::ActiveRecord::Base
@@ -1,5 +1,5 @@
1
- require_dependency 'switchman/connection_pool_proxy'
2
- require_dependency 'switchman/shard'
1
+ require 'switchman/connection_pool_proxy'
2
+ require 'switchman/shard'
3
3
 
4
4
  module Switchman
5
5
  module ActiveRecord
@@ -15,9 +15,13 @@ module Switchman
15
15
 
16
16
  def create(settings = {})
17
17
  raise "database servers should be set up in database.yml" unless ::Rails.env.test?
18
- @id ||= 0
19
- @id += 1
20
- server = DatabaseServer.new({ :id => @id.to_s }.merge(settings))
18
+ id = settings[:id]
19
+ if !id
20
+ @id ||= 0
21
+ @id += 1
22
+ id = @id
23
+ end
24
+ server = DatabaseServer.new(id.to_s, settings)
21
25
  server.instance_variable_set(:@fake, true)
22
26
  database_servers[server.id] = server
23
27
  end
@@ -33,16 +37,16 @@ module Switchman
33
37
  unless @database_servers
34
38
  @database_servers = {}.with_indifferent_access
35
39
  ::ActiveRecord::Base.configurations.each do |(id, config)|
36
- @database_servers[id] = DatabaseServer.new(:id => id, :config => config)
40
+ @database_servers[id] = DatabaseServer.new(id, config)
37
41
  end
38
42
  end
39
43
  @database_servers
40
44
  end
41
45
  end
42
46
 
43
- def initialize(settings = {})
44
- @id = settings[:id]
45
- @config = (settings[:config] || {}).deep_symbolize_keys
47
+ def initialize(id = nil, config = {})
48
+ @id = id
49
+ @config = config.deep_symbolize_keys
46
50
  @configs = {}
47
51
  end
48
52
 
@@ -1,4 +1,4 @@
1
- require_dependency 'switchman/database_server'
1
+ require 'switchman/database_server'
2
2
 
3
3
  module Switchman
4
4
  class DefaultShard
@@ -189,12 +189,5 @@ module Switchman
189
189
  end
190
190
  end
191
191
 
192
- initializer 'switchman.set_reloader_hooks', :before => "active_record.set_reloader_hooks" do |app|
193
- ::ActiveSupport.on_load(:active_record) do
194
- ActionDispatch::Reloader.to_prepare do
195
- require_dependency 'switchman/default_shard'
196
- end
197
- end
198
- end
199
192
  end
200
193
  end
@@ -1,4 +1,4 @@
1
- require_dependency "switchman/test_helper"
1
+ require "switchman/test_helper"
2
2
 
3
3
  module Switchman
4
4
  # including this module in your specs will give you several shards to
@@ -17,11 +17,11 @@ module Switchman
17
17
  # can't auto-create a new shard on the default shard's db server if the
18
18
  # default shard is split across multiple db servers
19
19
  if ::ActiveRecord::Base.connection_handler.connection_pool_list.length > 1
20
- server1 = DatabaseServer.create(:config => Shard.default.database_server.config)
20
+ server1 = DatabaseServer.create(Shard.default.database_server.config)
21
21
  else
22
22
  server1 = Shard.default.database_server
23
23
  end
24
- server2 = DatabaseServer.create(:config => Shard.default.database_server.config)
24
+ server2 = DatabaseServer.create(Shard.default.database_server.config)
25
25
 
26
26
  if server1 == Shard.default.database_server && server1.config[:shard1] && server1.config[:shard2]
27
27
  # look for the shards in the db already
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.4.2"
2
+ VERSION = "1.4.3"
3
3
  end
@@ -5,16 +5,22 @@ module Switchman
5
5
  @filter_database_servers_chain = lambda { |servers| block.call(servers, chain) }
6
6
  end
7
7
 
8
- def self.scope(base_scope = Shard)
8
+ def self.scope(base_scope = Shard,
9
+ database_server: ENV['DATABASE_SERVER'],
10
+ shard: ENV['SHARDS'])
9
11
  servers = DatabaseServer.all
10
12
 
11
- if ENV['DATABASE_SERVER']
12
- servers = ENV['DATABASE_SERVER']
13
+ if database_server
14
+ servers = database_server
13
15
  if servers.first == '-'
14
16
  negative = true
15
17
  servers = servers[1..-1]
16
18
  end
17
- servers = servers.split(',').map { |server| DatabaseServer.find(server) }.compact
19
+ servers = servers.split(',')
20
+ open = servers.delete('open')
21
+
22
+ servers = servers.map { |server| DatabaseServer.find(server) }.compact
23
+ servers.concat(DatabaseServer.all.select { |server| server.config[:open] }) if open
18
24
  servers = DatabaseServer.all - servers if negative
19
25
  end
20
26
 
@@ -27,8 +33,8 @@ module Switchman
27
33
  scope = scope.where(conditions)
28
34
  end
29
35
 
30
- if ENV['SHARD']
31
- scope = shard_scope(scope, ENV['SHARD'])
36
+ if shard
37
+ scope = shard_scope(scope, shard)
32
38
  end
33
39
 
34
40
  scope
@@ -9,7 +9,7 @@ Dummy::Application.configure do
9
9
  config.action_controller.perform_caching = true
10
10
 
11
11
  # Disable Rails's static asset server (Apache or nginx will already do this)
12
- config.serve_static_assets = false
12
+ config.serve_static_files = false
13
13
 
14
14
  # Compress JavaScripts and CSS
15
15
  config.assets.compress = true
@@ -8,7 +8,7 @@ Dummy::Application.configure do
8
8
  config.cache_classes = true
9
9
 
10
10
  # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
11
+ config.serve_static_files = true
12
12
  config.static_cache_control = "public, max-age=3600"
13
13
 
14
14
  # Show full error reports and disable caching
@@ -528844,3 +528844,114201 @@ Migrating to CreateFaces (20160122150718)
528844
528844
   (0.3ms) BEGIN
528845
528845
  SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2174]]
528846
528846
   (0.1ms) COMMIT
528847
+  (1.7ms) SELECT * FROM unnest(current_schemas(false))
528848
+ Switchman::Shard Load (25.0ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
528849
+ SQL (5.8ms) DELETE FROM "switchman_shards"
528850
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
528851
+  (10.7ms) BEGIN
528852
+ Switchman::Shard Exists (0.4ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
528853
+ SQL (9.6ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", "t"]]
528854
+  (12.6ms) COMMIT
528855
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
528856
+ Switchman::Shard Load (6.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
528857
+  (0.1ms) BEGIN
528858
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("name", "database_server_id") VALUES ($1, $2) RETURNING "id" [["name", "public"], ["database_server_id", "test"]]
528859
+  (15.2ms) CREATE SCHEMA switchman_test_shard_2200 [test:2200 deploy]
528860
+  (0.4ms) SAVEPOINT active_record_1 [test:2200 deploy]
528861
+  (27.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)  [test:2200 deploy]
528862
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:2200 deploy]
528863
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [test:2200 deploy]
528864
+ Migrating to CreateSwitchmanShards (20130328212039)
528865
+  (28.1ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying, "database_server_id" character varying, "default" boolean DEFAULT 'f' NOT NULL) [test:2200 deploy]
528866
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [test:2200 deploy]
528867
+ Migrating to CreateDefaultShard (20130328224244)
528868
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [test:2200 deploy]
528869
+ Migrating to CreateUsers (20130403132607)
528870
+  (28.3ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:2200 deploy]
528871
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [test:2200 deploy]
528872
+ Migrating to CreateAppendages (20130411202442)
528873
+  (28.3ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:2200 deploy]
528874
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [test:2200 deploy]
528875
+ Migrating to CreateMirrorUsers (20130411202551)
528876
+  (26.5ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:2200 deploy]
528877
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [test:2200 deploy]
528878
+ Migrating to CreateDigits (20131022202028)
528879
+  (26.7ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:2200 deploy]
528880
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [test:2200 deploy]
528881
+ Migrating to CreateFeatures (20131206172923)
528882
+  (26.0ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:2200 deploy]
528883
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [test:2200 deploy]
528884
+ Migrating to AddParentIdToUsers (20140123154135)
528885
+  (6.4ms) ALTER TABLE "users" ADD "parent_id" bigint [test:2200 deploy]
528886
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [test:2200 deploy]
528887
+ Migrating to CreateRoots (20140219183820)
528888
+  (32.4ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:2200 deploy]
528889
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [test:2200 deploy]
528890
+ Migrating to AddDummyForeignKey (20150618035859)
528891
+  (0.3ms) ALTER TABLE "users" ADD "broken_id" bigint [test:2200 deploy]
528892
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [test:2200 deploy]
528893
+ Migrating to CreateFaces (20160122150718)
528894
+  (15.2ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:2200 deploy]
528895
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [test:2200 deploy]
528896
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 deploy]
528897
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = $2 [["name", "switchman_test_shard_2200"], ["id", 2200]] [test:2199 master]
528898
+  (0.6ms) COMMIT [test:2199 master]
528899
+ Switchman::Shard Load (2.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = $1 AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["database_server_id", "1"]] [test:2199 master]
528900
+  (0.1ms) BEGIN [test:2199 master]
528901
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id") VALUES ($1, $2) RETURNING "id" [["name", "public"], ["database_server_id", "1"]] [test:2199 master]
528902
+  (0.4ms) COMMIT [test:2199 master]
528903
+  (0.6ms) CREATE SCHEMA switchman_test_shard_2201 [1:2201 deploy]
528904
+  (0.1ms) BEGIN [1:2201 deploy]
528905
+  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [1:2201 deploy]
528906
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1:2201 deploy]
528907
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [1:2201 deploy]
528908
+ Migrating to CreateSwitchmanShards (20130328212039)
528909
+  (3.8ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying, "database_server_id" character varying, "default" boolean DEFAULT 'f' NOT NULL)  [1:2201 deploy]
528910
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [1:2201 deploy]
528911
+ Migrating to CreateDefaultShard (20130328224244)
528912
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [1:2201 deploy]
528913
+ Migrating to CreateUsers (20130403132607)
528914
+  (4.2ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:2201 deploy]
528915
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [1:2201 deploy]
528916
+ Migrating to CreateAppendages (20130411202442)
528917
+  (3.5ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:2201 deploy]
528918
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [1:2201 deploy]
528919
+ Migrating to CreateMirrorUsers (20130411202551)
528920
+  (3.8ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:2201 deploy]
528921
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [1:2201 deploy]
528922
+ Migrating to CreateDigits (20131022202028)
528923
+  (2.5ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:2201 deploy]
528924
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [1:2201 deploy]
528925
+ Migrating to CreateFeatures (20131206172923)
528926
+  (2.9ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:2201 deploy]
528927
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [1:2201 deploy]
528928
+ Migrating to AddParentIdToUsers (20140123154135)
528929
+  (0.3ms) ALTER TABLE "users" ADD "parent_id" bigint [1:2201 deploy]
528930
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [1:2201 deploy]
528931
+ Migrating to CreateRoots (20140219183820)
528932
+  (2.2ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:2201 deploy]
528933
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [1:2201 deploy]
528934
+ Migrating to AddDummyForeignKey (20150618035859)
528935
+  (0.2ms) ALTER TABLE "users" ADD "broken_id" bigint [1:2201 deploy]
528936
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [1:2201 deploy]
528937
+ Migrating to CreateFaces (20160122150718)
528938
+  (2.5ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:2201 deploy]
528939
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [1:2201 deploy]
528940
+  (1.3ms) COMMIT [1:2201 deploy]
528941
+  (0.1ms) BEGIN [test:2199 master]
528942
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = $2 [["name", "switchman_test_shard_2201"], ["id", 2201]] [test:2199 master]
528943
+  (0.4ms) COMMIT [test:2199 master]
528944
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:2199 master]
528945
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
528946
+  (0.1ms) BEGIN
528947
+ Switchman::Shard Exists (0.1ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
528948
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 2199]]
528949
+  (0.3ms) COMMIT
528950
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
528951
+  (0.1ms) BEGIN
528952
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2200"], ["database_server_id", "test"], ["id", 2200]]
528953
+  (0.2ms) COMMIT
528954
+  (0.1ms) BEGIN
528955
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2201"], ["database_server_id", "1"], ["id", 2201]]
528956
+  (0.3ms) COMMIT
528957
+  (0.1ms) BEGIN
528958
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
528959
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
528960
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
528961
+  (0.1ms) BEGIN [1:2201 master]
528962
+  (0.0ms) SAVEPOINT active_record_1 [test:2200 master]
528963
+ SQL (0.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:25:39.180706"], ["updated_at", "2016-02-08 17:25:39.180706"]] [test:2200 master]
528964
+  (0.0ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
528965
+  (0.0ms) ROLLBACK [1:2201 master]
528966
+  (0.1ms) ROLLBACK [test:2200 master]
528967
+ SQL (0.5ms) DELETE FROM "switchman_shards" [test:2199 master]
528968
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
528969
+  (0.1ms) BEGIN
528970
+  (0.1ms) ROLLBACK
528971
+  (0.1ms) BEGIN
528972
+  (0.1ms) ROLLBACK
528973
+  (0.1ms) BEGIN
528974
+  (0.1ms) ROLLBACK
528975
+  (0.1ms) BEGIN
528976
+  (0.1ms) ROLLBACK
528977
+  (0.1ms) BEGIN
528978
+  (0.1ms) ROLLBACK
528979
+  (0.1ms) BEGIN
528980
+  (0.1ms) ROLLBACK
528981
+  (0.1ms) BEGIN
528982
+  (0.1ms) ROLLBACK
528983
+  (0.1ms) BEGIN
528984
+  (0.1ms) ROLLBACK
528985
+  (0.1ms) BEGIN
528986
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
528987
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 2199]]
528988
+  (5.6ms) COMMIT
528989
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
528990
+  (0.1ms) BEGIN
528991
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2200"], ["database_server_id", "test"], ["id", 2200]]
528992
+  (10.3ms) COMMIT
528993
+  (0.1ms) BEGIN
528994
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2201"], ["database_server_id", "1"], ["id", 2201]]
528995
+  (0.3ms) COMMIT
528996
+  (0.1ms) BEGIN
528997
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
528998
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
528999
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
529000
+  (0.1ms) BEGIN [1:2201 master]
529001
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = $1 AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["database_server_id", "7"]]
529002
+  (0.1ms) SAVEPOINT active_record_1
529003
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id") VALUES ($1, $2) RETURNING "id" [["name", "public"], ["database_server_id", "7"]]
529004
+  (0.1ms) RELEASE SAVEPOINT active_record_1
529005
+  (0.6ms) CREATE SCHEMA switchman_test_shard_2202 [7:2202 deploy]
529006
+  (0.1ms) BEGIN [7:2202 deploy]
529007
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)  [7:2202 deploy]
529008
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [7:2202 deploy]
529009
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [7:2202 deploy]
529010
+ Migrating to CreateSwitchmanShards (20130328212039)
529011
+  (5.1ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying, "database_server_id" character varying, "default" boolean DEFAULT 'f' NOT NULL) [7:2202 deploy]
529012
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [7:2202 deploy]
529013
+ Migrating to CreateDefaultShard (20130328224244)
529014
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [7:2202 deploy]
529015
+ Migrating to CreateUsers (20130403132607)
529016
+  (5.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [7:2202 deploy]
529017
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [7:2202 deploy]
529018
+ Migrating to CreateAppendages (20130411202442)
529019
+  (3.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [7:2202 deploy]
529020
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [7:2202 deploy]
529021
+ Migrating to CreateMirrorUsers (20130411202551)
529022
+  (2.9ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [7:2202 deploy]
529023
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [7:2202 deploy]
529024
+ Migrating to CreateDigits (20131022202028)
529025
+  (3.2ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [7:2202 deploy]
529026
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [7:2202 deploy]
529027
+ Migrating to CreateFeatures (20131206172923)
529028
+  (5.3ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [7:2202 deploy]
529029
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [7:2202 deploy]
529030
+ Migrating to AddParentIdToUsers (20140123154135)
529031
+  (0.2ms) ALTER TABLE "users" ADD "parent_id" bigint [7:2202 deploy]
529032
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [7:2202 deploy]
529033
+ Migrating to CreateRoots (20140219183820)
529034
+  (3.0ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [7:2202 deploy]
529035
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [7:2202 deploy]
529036
+ Migrating to AddDummyForeignKey (20150618035859)
529037
+  (0.2ms) ALTER TABLE "users" ADD "broken_id" bigint [7:2202 deploy]
529038
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [7:2202 deploy]
529039
+ Migrating to CreateFaces (20160122150718)
529040
+  (3.3ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [7:2202 deploy]
529041
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [7:2202 deploy]
529042
+  (0.6ms) COMMIT [7:2202 deploy]
529043
+  (0.1ms) SAVEPOINT active_record_1
529044
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = $2 [["name", "switchman_test_shard_2202"], ["id", 2202]]
529045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
529046
+  (0.1ms) BEGIN [7:2202 master]
529047
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:39.395594"], ["updated_at", "2016-02-08 17:24:39.395594"]] [7:2202 master]
529048
+  (6.1ms) COMMIT [7:2202 master]
529049
+  (30.0ms) DROP SCHEMA switchman_test_shard_2202 CASCADE [7:2202 deploy]
529050
+  (0.1ms) SAVEPOINT active_record_1
529051
+ SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2202]]
529052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
529053
+  (0.1ms) ROLLBACK [1:2201 master]
529054
+  (0.2ms) ROLLBACK
529055
+  (0.1ms) BEGIN
529056
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529057
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
529058
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
529059
+  (0.1ms) BEGIN [1:2201 master]
529060
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" IS NULL AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
529061
+  (0.1ms) SAVEPOINT active_record_1
529062
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
529063
+  (0.1ms) ROLLBACK [1:2201 master]
529064
+  (0.1ms) ROLLBACK
529065
+  (0.1ms) BEGIN
529066
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529067
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
529068
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
529069
+  (0.1ms) BEGIN [1:2201 master]
529070
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = $1 AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["database_server_id", "8"]]
529071
+  (0.1ms) SAVEPOINT active_record_1
529072
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "8"]]
529073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
529074
+  (0.2ms) begin transaction [8:2203 deploy]
529075
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [8:2203 deploy]
529076
+  (0.0ms) select sqlite_version(*) [8:2203 deploy]
529077
+  (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [8:2203 deploy]
529078
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" [8:2203 deploy]
529079
+ Migrating to CreateSwitchmanShards (20130328212039)
529080
+  (0.1ms) CREATE TABLE "switchman_shards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "database_server_id" varchar, "default" boolean DEFAULT 'f' NOT NULL) [8:2203 deploy]
529081
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130328212039"]] [8:2203 deploy]
529082
+ Migrating to CreateDefaultShard (20130328224244)
529083
+ SQL (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130328224244"]] [8:2203 deploy]
529084
+ Migrating to CreateUsers (20130403132607)
529085
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "mirror_user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [8:2203 deploy]
529086
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130403132607"]] [8:2203 deploy]
529087
+ Migrating to CreateAppendages (20130411202442)
529088
+  (0.1ms) CREATE TABLE "appendages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [8:2203 deploy]
529089
+ SQL (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202442"]] [8:2203 deploy]
529090
+ Migrating to CreateMirrorUsers (20130411202551)
529091
+  (0.1ms) CREATE TABLE "mirror_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [8:2203 deploy]
529092
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202551"]] [8:2203 deploy]
529093
+ Migrating to CreateDigits (20131022202028)
529094
+  (0.2ms) CREATE TABLE "digits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "appendage_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [8:2203 deploy]
529095
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131022202028"]] [8:2203 deploy]
529096
+ Migrating to CreateFeatures (20131206172923)
529097
+  (0.1ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer(8), "owner_type" varchar, "value" integer, "created_at" datetime, "updated_at" datetime)  [8:2203 deploy]
529098
+ SQL (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206172923"]] [8:2203 deploy]
529099
+ Migrating to AddParentIdToUsers (20140123154135)
529100
+  (0.1ms) ALTER TABLE "users" ADD "parent_id" integer(8) [8:2203 deploy]
529101
+ SQL (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123154135"]] [8:2203 deploy]
529102
+ Migrating to CreateRoots (20140219183820)
529103
+  (0.1ms) CREATE TABLE "roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [8:2203 deploy]
529104
+ SQL (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140219183820"]] [8:2203 deploy]
529105
+ Migrating to AddDummyForeignKey (20150618035859)
529106
+  (0.1ms) ALTER TABLE "users" ADD "broken_id" integer(8) [8:2203 deploy]
529107
+ SQL (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618035859"]] [8:2203 deploy]
529108
+ Migrating to CreateFaces (20160122150718)
529109
+  (0.1ms) CREATE TABLE "faces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [8:2203 deploy]
529110
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122150718"]] [8:2203 deploy]
529111
+  (1.2ms) commit transaction [8:2203 deploy]
529112
+  (0.2ms) SAVEPOINT active_record_1
529113
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = $2 [["name", "db/shard_2203.sqlite3"], ["id", 2203]]
529114
+  (0.1ms) RELEASE SAVEPOINT active_record_1
529115
+  (0.1ms) begin transaction [8:2203 master]
529116
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-02-08 17:24:39.532375"], ["updated_at", "2016-02-08 17:24:39.532375"]] [8:2203 master]
529117
+  (0.7ms) commit transaction [8:2203 master]
529118
+ Drop failed: No such file or directory @ unlink_internal - db/shard_2203.sqlite3
529119
+  (0.1ms) SAVEPOINT active_record_1
529120
+ SQL (0.1ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2203]]
529121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
529122
+  (0.1ms) ROLLBACK [1:2201 master]
529123
+  (0.1ms) ROLLBACK
529124
+  (0.1ms) BEGIN
529125
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529126
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
529127
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
529128
+  (0.1ms) BEGIN [1:2201 master]
529129
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
529130
+  (0.1ms) SAVEPOINT active_record_1
529131
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id") VALUES ($1, $2) RETURNING "id" [["name", "public"], ["database_server_id", "test"]]
529132
+  (0.1ms) CREATE SCHEMA switchman_test_shard_2204 [test:2204 deploy]
529133
+  (0.1ms) SAVEPOINT active_record_2 [test:2204 deploy]
529134
+  (15.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)  [test:2204 deploy]
529135
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:2204 deploy]
529136
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [test:2204 deploy]
529137
+ Migrating to CreateSwitchmanShards (20130328212039)
529138
+  (4.1ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying, "database_server_id" character varying, "default" boolean DEFAULT 'f' NOT NULL) [test:2204 deploy]
529139
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [test:2204 deploy]
529140
+ Migrating to CreateDefaultShard (20130328224244)
529141
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [test:2204 deploy]
529142
+ Migrating to CreateUsers (20130403132607)
529143
+  (3.4ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:2204 deploy]
529144
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [test:2204 deploy]
529145
+ Migrating to CreateAppendages (20130411202442)
529146
+  (2.1ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:2204 deploy]
529147
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [test:2204 deploy]
529148
+ Migrating to CreateMirrorUsers (20130411202551)
529149
+  (5.9ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:2204 deploy]
529150
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [test:2204 deploy]
529151
+ Migrating to CreateDigits (20131022202028)
529152
+  (2.6ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:2204 deploy]
529153
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [test:2204 deploy]
529154
+ Migrating to CreateFeatures (20131206172923)
529155
+  (6.8ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:2204 deploy]
529156
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [test:2204 deploy]
529157
+ Migrating to AddParentIdToUsers (20140123154135)
529158
+  (0.2ms) ALTER TABLE "users" ADD "parent_id" bigint [test:2204 deploy]
529159
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [test:2204 deploy]
529160
+ Migrating to CreateRoots (20140219183820)
529161
+  (2.4ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:2204 deploy]
529162
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [test:2204 deploy]
529163
+ Migrating to AddDummyForeignKey (20150618035859)
529164
+  (0.2ms) ALTER TABLE "users" ADD "broken_id" bigint [test:2204 deploy]
529165
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [test:2204 deploy]
529166
+ Migrating to CreateFaces (20160122150718)
529167
+  (3.2ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:2204 deploy]
529168
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [test:2204 deploy]
529169
+  (0.1ms) RELEASE SAVEPOINT active_record_2 [test:2204 deploy]
529170
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = $2 [["name", "switchman_test_shard_2204"], ["id", 2204]] [test:2199 master]
529171
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
529172
+  (0.1ms) SAVEPOINT active_record_1 [test:2204 master]
529173
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:39.665621"], ["updated_at", "2016-02-08 17:24:39.665621"]] [test:2204 master]
529174
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2204 master]
529175
+  (3.7ms) DROP SCHEMA switchman_test_shard_2204 CASCADE [test:2204 deploy]
529176
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
529177
+ SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2204]] [test:2199 master]
529178
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
529179
+  (0.2ms) ROLLBACK [1:2201 master]
529180
+  (2.9ms) ROLLBACK [test:2199 master]
529181
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:2199 master]
529182
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529183
+  (0.1ms) BEGIN
529184
+  (0.1ms) ROLLBACK
529185
+  (0.1ms) BEGIN
529186
+  (0.1ms) ROLLBACK
529187
+  (0.1ms) BEGIN
529188
+  (0.1ms) ROLLBACK
529189
+  (0.1ms) BEGIN
529190
+  (0.1ms) ROLLBACK
529191
+  (0.1ms) BEGIN
529192
+  (0.1ms) ROLLBACK
529193
+  (0.1ms) BEGIN
529194
+  (0.1ms) ROLLBACK
529195
+  (0.1ms) BEGIN
529196
+  (0.1ms) ROLLBACK
529197
+  (0.1ms) BEGIN
529198
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
529199
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 2199]]
529200
+  (0.4ms) COMMIT
529201
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529202
+  (0.1ms) BEGIN
529203
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2200"], ["database_server_id", "test"], ["id", 2200]]
529204
+  (0.3ms) COMMIT
529205
+  (0.1ms) BEGIN
529206
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2201"], ["database_server_id", "1"], ["id", 2201]]
529207
+  (0.3ms) COMMIT
529208
+  (0.1ms) BEGIN
529209
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529210
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
529211
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
529212
+  (0.1ms) BEGIN [1:2201 master]
529213
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529214
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.697244"], ["updated_at", "2016-02-08 17:24:39.697244"]] [test:2200 master]
529215
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529216
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529217
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.699586"], ["updated_at", "2016-02-08 17:24:39.699586"]] [1:2201 master]
529218
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529219
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529220
+ SQL (0.3ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 2], ["value", 1], ["created_at", "2016-02-08 17:24:39.702418"], ["updated_at", "2016-02-08 17:24:39.702418"]] [test:2200 master]
529221
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529222
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529223
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529224
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22010000000000001], ["value", 3], ["created_at", "2016-02-08 17:24:39.708287"], ["updated_at", "2016-02-08 17:24:39.708287"]] [test:2200 master]
529225
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529226
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529227
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529228
+ SQL (0.3ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22000000000000002], ["value", 2], ["created_at", "2016-02-08 17:24:39.713343"], ["updated_at", "2016-02-08 17:24:39.713343"]] [1:2201 master]
529229
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529230
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529231
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 1], ["value", 4], ["created_at", "2016-02-08 17:24:39.715725"], ["updated_at", "2016-02-08 17:24:39.715725"]] [1:2201 master]
529232
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529233
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529234
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 1], ["value", 5], ["created_at", "2016-02-08 17:24:39.717992"], ["updated_at", "2016-02-08 17:24:39.717992"]] [1:2201 master]
529235
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529236
+  (0.3ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529237
+  (0.3ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529238
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529239
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529240
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529241
+  (0.1ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529242
+  (0.1ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [test:2200 master]
529243
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2) [test:2200 master]
529244
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1) [1:2201 master]
529245
+  (0.2ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [1:2201 master]
529246
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1) [1:2201 master]
529247
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2) [test:2200 master]
529248
+  (0.1ms) ROLLBACK [1:2201 master]
529249
+  (0.1ms) ROLLBACK [test:2200 master]
529250
+  (0.1ms) BEGIN [test:2199 master]
529251
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529252
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529253
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529254
+  (0.1ms) BEGIN [1:2201 master]
529255
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529256
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.737045"], ["updated_at", "2016-02-08 17:24:39.737045"]] [test:2200 master]
529257
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529258
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529259
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.739249"], ["updated_at", "2016-02-08 17:24:39.739249"]] [1:2201 master]
529260
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529261
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529262
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 3], ["value", 1], ["created_at", "2016-02-08 17:24:39.741174"], ["updated_at", "2016-02-08 17:24:39.741174"]] [test:2200 master]
529263
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529264
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529265
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22010000000000002], ["value", 3], ["created_at", "2016-02-08 17:24:39.743301"], ["updated_at", "2016-02-08 17:24:39.743301"]] [test:2200 master]
529266
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529267
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529268
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22000000000000003], ["value", 2], ["created_at", "2016-02-08 17:24:39.745385"], ["updated_at", "2016-02-08 17:24:39.745385"]] [1:2201 master]
529269
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529270
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529271
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 2], ["value", 4], ["created_at", "2016-02-08 17:24:39.747455"], ["updated_at", "2016-02-08 17:24:39.747455"]] [1:2201 master]
529272
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529273
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529274
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 2], ["value", 5], ["created_at", "2016-02-08 17:24:39.749678"], ["updated_at", "2016-02-08 17:24:39.749678"]] [1:2201 master]
529275
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529276
+  (4.3ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529277
+  (0.3ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529278
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529279
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529280
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529281
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529282
+  (0.4ms) SELECT MIN("appendages"."value") AS minimum_value, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [test:2200 master]
529283
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (3) [test:2200 master]
529284
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2) [1:2201 master]
529285
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [1:2201 master]
529286
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2) [1:2201 master]
529287
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (3) [test:2200 master]
529288
+  (0.2ms) ROLLBACK [1:2201 master]
529289
+  (0.1ms) ROLLBACK [test:2200 master]
529290
+  (0.1ms) BEGIN [test:2199 master]
529291
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529292
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529293
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529294
+  (0.1ms) BEGIN [1:2201 master]
529295
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529296
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.774472"], ["updated_at", "2016-02-08 17:24:39.774472"]] [test:2200 master]
529297
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529298
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529299
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.776923"], ["updated_at", "2016-02-08 17:24:39.776923"]] [1:2201 master]
529300
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529301
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529302
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 4], ["value", 1], ["created_at", "2016-02-08 17:24:39.779262"], ["updated_at", "2016-02-08 17:24:39.779262"]] [test:2200 master]
529303
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529304
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529305
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22010000000000003], ["value", 3], ["created_at", "2016-02-08 17:24:39.781551"], ["updated_at", "2016-02-08 17:24:39.781551"]] [test:2200 master]
529306
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529307
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529308
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22000000000000004], ["value", 2], ["created_at", "2016-02-08 17:24:39.783745"], ["updated_at", "2016-02-08 17:24:39.783745"]] [1:2201 master]
529309
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529310
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529311
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 3], ["value", 4], ["created_at", "2016-02-08 17:24:39.785780"], ["updated_at", "2016-02-08 17:24:39.785780"]] [1:2201 master]
529312
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529313
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529314
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 3], ["value", 5], ["created_at", "2016-02-08 17:24:39.787950"], ["updated_at", "2016-02-08 17:24:39.787950"]] [1:2201 master]
529315
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529316
+  (0.3ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529317
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529318
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529319
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529320
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529321
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529322
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [test:2200 master]
529323
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) [test:2200 master]
529324
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (3) [1:2201 master]
529325
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [1:2201 master]
529326
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (3) [1:2201 master]
529327
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) [test:2200 master]
529328
+  (0.1ms) ROLLBACK [1:2201 master]
529329
+  (0.1ms) ROLLBACK [test:2200 master]
529330
+  (0.1ms) BEGIN [test:2199 master]
529331
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529332
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529333
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529334
+  (0.1ms) BEGIN [1:2201 master]
529335
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529336
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.806553"], ["updated_at", "2016-02-08 17:24:39.806553"]] [test:2200 master]
529337
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529338
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529339
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.808380"], ["updated_at", "2016-02-08 17:24:39.808380"]] [1:2201 master]
529340
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529341
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529342
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 5], ["value", 1], ["created_at", "2016-02-08 17:24:39.810208"], ["updated_at", "2016-02-08 17:24:39.810208"]] [test:2200 master]
529343
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529344
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529345
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22010000000000004], ["value", 3], ["created_at", "2016-02-08 17:24:39.812507"], ["updated_at", "2016-02-08 17:24:39.812507"]] [test:2200 master]
529346
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529347
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529348
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22000000000000005], ["value", 2], ["created_at", "2016-02-08 17:24:39.814524"], ["updated_at", "2016-02-08 17:24:39.814524"]] [1:2201 master]
529349
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529350
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529351
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 4], ["value", 4], ["created_at", "2016-02-08 17:24:39.816485"], ["updated_at", "2016-02-08 17:24:39.816485"]] [1:2201 master]
529352
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529353
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529354
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 4], ["value", 5], ["created_at", "2016-02-08 17:24:39.818648"], ["updated_at", "2016-02-08 17:24:39.818648"]] [1:2201 master]
529355
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529356
+  (1.1ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529357
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529358
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529359
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529360
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529361
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529362
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [test:2200 master]
529363
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (5) [test:2200 master]
529364
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) [1:2201 master]
529365
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [1:2201 master]
529366
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) [1:2201 master]
529367
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (5) [test:2200 master]
529368
+  (0.1ms) ROLLBACK [1:2201 master]
529369
+  (0.1ms) ROLLBACK [test:2200 master]
529370
+  (0.1ms) BEGIN [test:2199 master]
529371
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529372
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529373
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529374
+  (0.1ms) BEGIN [1:2201 master]
529375
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529376
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.838511"], ["updated_at", "2016-02-08 17:24:39.838511"]] [test:2200 master]
529377
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529378
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529379
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.840321"], ["updated_at", "2016-02-08 17:24:39.840321"]] [1:2201 master]
529380
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529381
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529382
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 6], ["value", 1], ["created_at", "2016-02-08 17:24:39.842084"], ["updated_at", "2016-02-08 17:24:39.842084"]] [test:2200 master]
529383
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529384
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529385
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22010000000000005], ["value", 3], ["created_at", "2016-02-08 17:24:39.844133"], ["updated_at", "2016-02-08 17:24:39.844133"]] [test:2200 master]
529386
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529387
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529388
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22000000000000006], ["value", 2], ["created_at", "2016-02-08 17:24:39.846122"], ["updated_at", "2016-02-08 17:24:39.846122"]] [1:2201 master]
529389
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529390
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529391
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 5], ["value", 4], ["created_at", "2016-02-08 17:24:39.848529"], ["updated_at", "2016-02-08 17:24:39.848529"]] [1:2201 master]
529392
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529393
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529394
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 5], ["value", 5], ["created_at", "2016-02-08 17:24:39.850615"], ["updated_at", "2016-02-08 17:24:39.850615"]] [1:2201 master]
529395
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529396
+  (0.4ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529397
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529398
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529399
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529400
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:2200 master]
529401
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:2201 master]
529402
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [test:2200 master]
529403
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (6) [test:2200 master]
529404
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (5) [1:2201 master]
529405
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" [1:2201 master]
529406
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (5) [1:2201 master]
529407
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (6) [test:2200 master]
529408
+  (0.1ms) ROLLBACK [1:2201 master]
529409
+  (0.1ms) ROLLBACK [test:2200 master]
529410
+  (0.1ms) BEGIN [test:2199 master]
529411
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529412
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529413
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529414
+  (0.1ms) BEGIN [1:2201 master]
529415
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529416
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.868258"], ["updated_at", "2016-02-08 17:24:39.868258"]] [test:2200 master]
529417
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529418
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529419
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.870081"], ["updated_at", "2016-02-08 17:24:39.870081"]] [1:2201 master]
529420
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529421
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529422
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 7], ["value", 1], ["created_at", "2016-02-08 17:24:39.872092"], ["updated_at", "2016-02-08 17:24:39.872092"]] [test:2200 master]
529423
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529424
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529425
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22010000000000006], ["value", 3], ["created_at", "2016-02-08 17:24:39.874163"], ["updated_at", "2016-02-08 17:24:39.874163"]] [test:2200 master]
529426
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529427
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529428
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 22000000000000007], ["value", 2], ["created_at", "2016-02-08 17:24:39.876078"], ["updated_at", "2016-02-08 17:24:39.876078"]] [1:2201 master]
529429
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529430
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529431
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 6], ["value", 4], ["created_at", "2016-02-08 17:24:39.878022"], ["updated_at", "2016-02-08 17:24:39.878022"]] [1:2201 master]
529432
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529433
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529434
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["user_id", 6], ["value", 5], ["created_at", "2016-02-08 17:24:39.879716"], ["updated_at", "2016-02-08 17:24:39.879716"]] [1:2201 master]
529435
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529436
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529437
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 7], ["created_at", "2016-02-08 17:24:39.887121"], ["updated_at", "2016-02-08 17:24:39.887121"]] [test:2200 master]
529438
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529439
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529440
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:39.888976"], ["updated_at", "2016-02-08 17:24:39.888976"]] [test:2200 master]
529441
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529442
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529443
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 8], ["created_at", "2016-02-08 17:24:39.891440"], ["updated_at", "2016-02-08 17:24:39.891440"]] [test:2200 master]
529444
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529445
+  (0.3ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY "appendages"."user_id" ORDER BY COUNT(*) DESC LIMIT 1 [test:2200 master]
529446
+  (0.1ms) ROLLBACK [1:2201 master]
529447
+  (0.1ms) ROLLBACK [test:2200 master]
529448
+  (0.1ms) BEGIN [test:2199 master]
529449
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529450
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529451
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529452
+  (0.1ms) BEGIN [1:2201 master]
529453
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529454
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.898063"], ["updated_at", "2016-02-08 17:24:39.898063"]] [test:2200 master]
529455
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529456
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529457
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 1], ["user_id", 9], ["created_at", "2016-02-08 17:24:39.900721"], ["updated_at", "2016-02-08 17:24:39.900721"]] [test:2200 master]
529458
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529459
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529460
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 2], ["user_id", 9], ["created_at", "2016-02-08 17:24:39.902951"], ["updated_at", "2016-02-08 17:24:39.902951"]] [test:2200 master]
529461
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529462
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529463
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.904656"], ["updated_at", "2016-02-08 17:24:39.904656"]] [1:2201 master]
529464
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529465
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529466
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 3], ["user_id", 7], ["created_at", "2016-02-08 17:24:39.907103"], ["updated_at", "2016-02-08 17:24:39.907103"]] [1:2201 master]
529467
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529468
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529469
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 4], ["user_id", 7], ["created_at", "2016-02-08 17:24:39.909211"], ["updated_at", "2016-02-08 17:24:39.909211"]] [1:2201 master]
529470
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529471
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529472
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 5], ["user_id", 7], ["created_at", "2016-02-08 17:24:39.911213"], ["updated_at", "2016-02-08 17:24:39.911213"]] [1:2201 master]
529473
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529474
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 9]] [test:2200 master]
529475
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" [test:2200 master]
529476
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 7]] [1:2201 master]
529477
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" [1:2201 master]
529478
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."id" IN (15, 16) [test:2200 master]
529479
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."id" IN (19, 20, 21) [1:2201 master]
529480
+  (0.1ms) ROLLBACK [1:2201 master]
529481
+  (0.1ms) ROLLBACK [test:2200 master]
529482
+  (0.1ms) BEGIN [test:2199 master]
529483
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529484
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529485
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529486
+  (0.1ms) BEGIN [1:2201 master]
529487
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529488
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.922490"], ["updated_at", "2016-02-08 17:24:39.922490"]] [test:2200 master]
529489
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529490
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529491
+ SQL (0.2ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 1], ["user_id", 10], ["created_at", "2016-02-08 17:24:39.925270"], ["updated_at", "2016-02-08 17:24:39.925270"]] [test:2200 master]
529492
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529493
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529494
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 2], ["user_id", 10], ["created_at", "2016-02-08 17:24:39.927463"], ["updated_at", "2016-02-08 17:24:39.927463"]] [test:2200 master]
529495
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529496
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529497
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.929267"], ["updated_at", "2016-02-08 17:24:39.929267"]] [1:2201 master]
529498
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529499
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529500
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 3], ["user_id", 8], ["created_at", "2016-02-08 17:24:39.931872"], ["updated_at", "2016-02-08 17:24:39.931872"]] [1:2201 master]
529501
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529502
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529503
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 4], ["user_id", 8], ["created_at", "2016-02-08 17:24:39.933956"], ["updated_at", "2016-02-08 17:24:39.933956"]] [1:2201 master]
529504
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529505
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529506
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 5], ["user_id", 8], ["created_at", "2016-02-08 17:24:39.935988"], ["updated_at", "2016-02-08 17:24:39.935988"]] [1:2201 master]
529507
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529508
+  (1.1ms) SELECT MAX("appendages"."created_at") FROM "appendages" WHERE "appendages"."id" IN (17, 18) [test:2200 master]
529509
+  (0.4ms) SELECT MAX("appendages"."created_at") FROM "appendages" WHERE "appendages"."id" IN (22, 23, 24) [1:2201 master]
529510
+  (0.1ms) ROLLBACK [1:2201 master]
529511
+  (0.1ms) ROLLBACK [test:2200 master]
529512
+  (0.1ms) BEGIN [test:2199 master]
529513
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529514
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529515
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529516
+  (0.1ms) BEGIN [1:2201 master]
529517
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529518
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.945827"], ["updated_at", "2016-02-08 17:24:39.945827"]] [test:2200 master]
529519
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529520
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529521
+ SQL (0.2ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 1], ["user_id", 11], ["created_at", "2016-02-08 17:24:39.949512"], ["updated_at", "2016-02-08 17:24:39.949512"]] [test:2200 master]
529522
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529523
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529524
+ SQL (0.2ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 2], ["user_id", 11], ["created_at", "2016-02-08 17:24:39.952183"], ["updated_at", "2016-02-08 17:24:39.952183"]] [test:2200 master]
529525
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529526
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529527
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.954360"], ["updated_at", "2016-02-08 17:24:39.954360"]] [1:2201 master]
529528
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529529
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529530
+ SQL (0.2ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 3], ["user_id", 9], ["created_at", "2016-02-08 17:24:39.957978"], ["updated_at", "2016-02-08 17:24:39.957978"]] [1:2201 master]
529531
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529532
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529533
+ SQL (0.2ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 4], ["user_id", 9], ["created_at", "2016-02-08 17:24:39.960899"], ["updated_at", "2016-02-08 17:24:39.960899"]] [1:2201 master]
529534
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529535
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529536
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 5], ["user_id", 9], ["created_at", "2016-02-08 17:24:39.968162"], ["updated_at", "2016-02-08 17:24:39.968162"]] [1:2201 master]
529537
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529538
+  (0.2ms) SELECT MIN("appendages"."value") FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 11]] [test:2200 master]
529539
+  (0.2ms) SELECT MIN("appendages"."value") FROM "appendages" [test:2200 master]
529540
+  (0.2ms) SELECT MIN("appendages"."value") FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 9]] [1:2201 master]
529541
+  (0.2ms) SELECT MIN("appendages"."value") FROM "appendages" [1:2201 master]
529542
+  (0.2ms) SELECT MIN("appendages"."value") FROM "appendages" WHERE "appendages"."id" IN (19, 20) [test:2200 master]
529543
+  (0.3ms) SELECT MIN("appendages"."value") FROM "appendages" WHERE "appendages"."id" IN (25, 26, 27) [1:2201 master]
529544
+  (0.1ms) ROLLBACK [1:2201 master]
529545
+  (0.1ms) ROLLBACK [test:2200 master]
529546
+  (0.1ms) BEGIN [test:2199 master]
529547
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529548
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529549
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529550
+  (0.1ms) BEGIN [1:2201 master]
529551
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529552
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:39.979629"], ["updated_at", "2016-02-08 17:24:39.979629"]] [test:2200 master]
529553
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529554
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529555
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 1], ["user_id", 12], ["created_at", "2016-02-08 17:24:39.982350"], ["updated_at", "2016-02-08 17:24:39.982350"]] [test:2200 master]
529556
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529557
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529558
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 2], ["user_id", 12], ["created_at", "2016-02-08 17:24:39.984396"], ["updated_at", "2016-02-08 17:24:39.984396"]] [test:2200 master]
529559
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529560
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529561
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:39.985987"], ["updated_at", "2016-02-08 17:24:39.985987"]] [1:2201 master]
529562
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529563
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529564
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 3], ["user_id", 10], ["created_at", "2016-02-08 17:24:39.988345"], ["updated_at", "2016-02-08 17:24:39.988345"]] [1:2201 master]
529565
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529566
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529567
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 4], ["user_id", 10], ["created_at", "2016-02-08 17:24:39.990343"], ["updated_at", "2016-02-08 17:24:39.990343"]] [1:2201 master]
529568
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529569
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529570
+ SQL (0.2ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 5], ["user_id", 10], ["created_at", "2016-02-08 17:24:39.992722"], ["updated_at", "2016-02-08 17:24:39.992722"]] [1:2201 master]
529571
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529572
+  (0.2ms) SELECT MAX("appendages"."value") FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 12]] [test:2200 master]
529573
+  (0.1ms) SELECT MAX("appendages"."value") FROM "appendages" [test:2200 master]
529574
+  (0.2ms) SELECT MAX("appendages"."value") FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 10]] [1:2201 master]
529575
+  (0.2ms) SELECT MAX("appendages"."value") FROM "appendages" [1:2201 master]
529576
+  (0.3ms) SELECT MAX("appendages"."value") FROM "appendages" WHERE "appendages"."id" IN (21, 22) [test:2200 master]
529577
+  (0.2ms) SELECT MAX("appendages"."value") FROM "appendages" WHERE "appendages"."id" IN (28, 29, 30) [1:2201 master]
529578
+  (0.1ms) ROLLBACK [1:2201 master]
529579
+  (0.1ms) ROLLBACK [test:2200 master]
529580
+  (0.1ms) BEGIN [test:2199 master]
529581
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529582
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529583
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529584
+  (0.2ms) BEGIN [1:2201 master]
529585
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529586
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:40.004638"], ["updated_at", "2016-02-08 17:24:40.004638"]] [test:2200 master]
529587
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529588
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529589
+ SQL (0.2ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 1], ["user_id", 13], ["created_at", "2016-02-08 17:24:40.007712"], ["updated_at", "2016-02-08 17:24:40.007712"]] [test:2200 master]
529590
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529591
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529592
+ SQL (0.2ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 2], ["user_id", 13], ["created_at", "2016-02-08 17:24:40.010413"], ["updated_at", "2016-02-08 17:24:40.010413"]] [test:2200 master]
529593
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529594
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529595
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:40.012991"], ["updated_at", "2016-02-08 17:24:40.012991"]] [1:2201 master]
529596
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529597
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529598
+ SQL (0.2ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 3], ["user_id", 11], ["created_at", "2016-02-08 17:24:40.016095"], ["updated_at", "2016-02-08 17:24:40.016095"]] [1:2201 master]
529599
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529600
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529601
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 4], ["user_id", 11], ["created_at", "2016-02-08 17:24:40.018328"], ["updated_at", "2016-02-08 17:24:40.018328"]] [1:2201 master]
529602
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529603
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529604
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 5], ["user_id", 11], ["created_at", "2016-02-08 17:24:40.020304"], ["updated_at", "2016-02-08 17:24:40.020304"]] [1:2201 master]
529605
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529606
+  (0.2ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 13]] [test:2200 master]
529607
+  (0.1ms) SELECT COUNT(*) FROM "appendages" [test:2200 master]
529608
+  (0.1ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 11]] [1:2201 master]
529609
+  (0.1ms) SELECT COUNT(*) FROM "appendages" [1:2201 master]
529610
+  (0.3ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."id" IN (23, 24) [test:2200 master]
529611
+  (0.2ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."id" IN (31, 32, 33) [1:2201 master]
529612
+  (0.1ms) ROLLBACK [1:2201 master]
529613
+  (0.1ms) ROLLBACK [test:2200 master]
529614
+  (0.1ms) BEGIN [test:2199 master]
529615
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529616
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529617
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529618
+  (0.1ms) BEGIN [1:2201 master]
529619
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529620
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:40.032061"], ["updated_at", "2016-02-08 17:24:40.032061"]] [test:2200 master]
529621
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529622
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529623
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 1], ["user_id", 14], ["created_at", "2016-02-08 17:24:40.034710"], ["updated_at", "2016-02-08 17:24:40.034710"]] [test:2200 master]
529624
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529625
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529626
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 2], ["user_id", 14], ["created_at", "2016-02-08 17:24:40.036821"], ["updated_at", "2016-02-08 17:24:40.036821"]] [test:2200 master]
529627
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529628
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529629
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:40.038494"], ["updated_at", "2016-02-08 17:24:40.038494"]] [1:2201 master]
529630
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529631
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529632
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 3], ["user_id", 12], ["created_at", "2016-02-08 17:24:40.040918"], ["updated_at", "2016-02-08 17:24:40.040918"]] [1:2201 master]
529633
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529634
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529635
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 4], ["user_id", 12], ["created_at", "2016-02-08 17:24:40.042909"], ["updated_at", "2016-02-08 17:24:40.042909"]] [1:2201 master]
529636
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529637
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529638
+ SQL (0.1ms) INSERT INTO "appendages" ("value", "user_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["value", 5], ["user_id", 12], ["created_at", "2016-02-08 17:24:40.045007"], ["updated_at", "2016-02-08 17:24:40.045007"]] [1:2201 master]
529639
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529640
+  (0.2ms) SELECT SUM("appendages"."value") FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 14]] [test:2200 master]
529641
+  (0.2ms) SELECT SUM("appendages"."value") FROM "appendages" [test:2200 master]
529642
+  (0.2ms) SELECT SUM("appendages"."value") FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 12]] [1:2201 master]
529643
+  (0.2ms) SELECT SUM("appendages"."value") FROM "appendages" [1:2201 master]
529644
+  (0.3ms) SELECT SUM("appendages"."value") FROM "appendages" WHERE "appendages"."id" IN (25, 26) [test:2200 master]
529645
+  (0.3ms) SELECT SUM("appendages"."value") FROM "appendages" WHERE "appendages"."id" IN (34, 35, 36) [1:2201 master]
529646
+  (0.1ms) ROLLBACK [1:2201 master]
529647
+  (0.4ms) ROLLBACK [test:2200 master]
529648
+  (0.1ms) BEGIN [test:2199 master]
529649
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529650
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529651
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529652
+  (0.1ms) BEGIN [1:2201 master]
529653
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529654
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:40.058734"], ["updated_at", "2016-02-08 17:24:40.058734"]] [test:2200 master]
529655
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529656
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529657
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 15], ["created_at", "2016-02-08 17:24:40.061604"], ["updated_at", "2016-02-08 17:24:40.061604"]] [test:2200 master]
529658
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529659
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529660
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:40.063304"], ["updated_at", "2016-02-08 17:24:40.063304"]] [1:2201 master]
529661
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529662
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529663
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 13], ["created_at", "2016-02-08 17:24:40.065924"], ["updated_at", "2016-02-08 17:24:40.065924"]] [1:2201 master]
529664
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529665
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
529666
+ SQL (2.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:40.067911"], ["updated_at", "2016-02-08 17:24:40.067911"]] [test:2199 master]
529667
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
529668
+  (0.4ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (3467) [test:2199 master]
529669
+  (0.2ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (15) [test:2200 master]
529670
+  (0.4ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (13) [1:2201 master]
529671
+  (0.1ms) ROLLBACK [1:2201 master]
529672
+  (0.1ms) ROLLBACK [test:2200 master]
529673
+  (0.1ms) BEGIN [test:2199 master]
529674
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529675
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529676
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529677
+  (0.1ms) BEGIN [1:2201 master]
529678
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529679
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:40.079936"], ["updated_at", "2016-02-08 17:24:40.079936"]] [test:2200 master]
529680
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529681
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529682
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 16], ["created_at", "2016-02-08 17:24:40.082807"], ["updated_at", "2016-02-08 17:24:40.082807"]] [test:2200 master]
529683
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529684
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529685
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:40.084544"], ["updated_at", "2016-02-08 17:24:40.084544"]] [1:2201 master]
529686
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529687
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529688
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 14], ["created_at", "2016-02-08 17:24:40.086861"], ["updated_at", "2016-02-08 17:24:40.086861"]] [1:2201 master]
529689
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529690
+  (0.2ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 28 [test:2200 master]
529691
+  (0.2ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 38 [1:2201 master]
529692
+  (0.1ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 28 [test:2200 master]
529693
+  (0.1ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 38 [1:2201 master]
529694
+  (0.1ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 28 [test:2200 master]
529695
+  (0.2ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 38 [1:2201 master]
529696
+  (0.1ms) ROLLBACK [1:2201 master]
529697
+  (0.1ms) ROLLBACK [test:2200 master]
529698
+  (0.1ms) BEGIN [test:2199 master]
529699
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529700
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529701
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529702
+  (0.1ms) BEGIN [1:2201 master]
529703
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529704
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:40.097238"], ["updated_at", "2016-02-08 17:24:40.097238"]] [test:2200 master]
529705
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529706
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529707
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 17], ["created_at", "2016-02-08 17:24:40.099740"], ["updated_at", "2016-02-08 17:24:40.099740"]] [test:2200 master]
529708
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529709
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529710
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:40.101372"], ["updated_at", "2016-02-08 17:24:40.101372"]] [1:2201 master]
529711
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529712
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529713
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 15], ["created_at", "2016-02-08 17:24:40.104307"], ["updated_at", "2016-02-08 17:24:40.104307"]] [1:2201 master]
529714
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529715
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 29 [test:2200 master]
529716
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 39 [1:2201 master]
529717
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 29 [test:2200 master]
529718
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 39 [1:2201 master]
529719
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 29 [test:2200 master]
529720
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 39 [1:2201 master]
529721
+  (0.1ms) ROLLBACK [1:2201 master]
529722
+  (0.1ms) ROLLBACK [test:2200 master]
529723
+  (0.1ms) BEGIN [test:2199 master]
529724
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529725
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529726
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529727
+  (0.1ms) BEGIN [1:2201 master]
529728
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529729
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:40.114972"], ["updated_at", "2016-02-08 17:24:40.114972"]] [test:2200 master]
529730
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529731
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529732
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 18], ["created_at", "2016-02-08 17:24:40.118222"], ["updated_at", "2016-02-08 17:24:40.118222"]] [test:2200 master]
529733
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529734
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529735
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:40.120004"], ["updated_at", "2016-02-08 17:24:40.120004"]] [1:2201 master]
529736
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529737
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529738
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 16], ["created_at", "2016-02-08 17:24:40.122415"], ["updated_at", "2016-02-08 17:24:40.122415"]] [1:2201 master]
529739
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529740
+  (0.2ms) SELECT "users"."name" FROM "users" WHERE "users"."id" IN (18) [test:2200 master]
529741
+  (0.2ms) SELECT "users"."name" FROM "users" WHERE "users"."id" IN (16) [1:2201 master]
529742
+  (0.1ms) ROLLBACK [1:2201 master]
529743
+  (0.1ms) ROLLBACK [test:2200 master]
529744
+  (0.1ms) BEGIN [test:2199 master]
529745
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529746
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529747
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529748
+  (0.1ms) BEGIN [1:2201 master]
529749
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529750
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:40.130527"], ["updated_at", "2016-02-08 17:24:40.130527"]] [test:2200 master]
529751
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529752
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529753
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 19], ["created_at", "2016-02-08 17:24:40.133112"], ["updated_at", "2016-02-08 17:24:40.133112"]] [test:2200 master]
529754
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529755
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529756
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:40.134742"], ["updated_at", "2016-02-08 17:24:40.134742"]] [1:2201 master]
529757
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529758
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529759
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 17], ["created_at", "2016-02-08 17:24:40.137080"], ["updated_at", "2016-02-08 17:24:40.137080"]] [1:2201 master]
529760
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529761
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 31 [test:2200 master]
529762
+  (0.3ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 41 [1:2201 master]
529763
+  (0.1ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 31 [test:2200 master]
529764
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 41 [1:2201 master]
529765
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 31 [test:2200 master]
529766
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 41 [1:2201 master]
529767
+  (0.1ms) ROLLBACK [1:2201 master]
529768
+  (0.1ms) ROLLBACK [test:2200 master]
529769
+  (0.1ms) BEGIN [test:2199 master]
529770
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529771
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529772
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529773
+  (0.1ms) BEGIN [1:2201 master]
529774
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529775
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user1"], ["created_at", "2016-02-08 17:24:40.149112"], ["updated_at", "2016-02-08 17:24:40.149112"]] [test:2200 master]
529776
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529777
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529778
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 20], ["created_at", "2016-02-08 17:24:40.151708"], ["updated_at", "2016-02-08 17:24:40.151708"]] [test:2200 master]
529779
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529780
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529781
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "user2"], ["created_at", "2016-02-08 17:24:40.153392"], ["updated_at", "2016-02-08 17:24:40.153392"]] [1:2201 master]
529782
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529783
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529784
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 18], ["created_at", "2016-02-08 17:24:40.155754"], ["updated_at", "2016-02-08 17:24:40.155754"]] [1:2201 master]
529785
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529786
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" [test:2200 master]
529787
+  (0.1ms) ROLLBACK [1:2201 master]
529788
+  (0.1ms) ROLLBACK [test:2200 master]
529789
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:2199 master]
529790
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529791
+  (0.1ms) BEGIN
529792
+  (0.1ms) ROLLBACK
529793
+  (0.1ms) BEGIN
529794
+  (0.1ms) ROLLBACK
529795
+  (0.1ms) BEGIN
529796
+  (0.1ms) ROLLBACK
529797
+  (0.1ms) BEGIN
529798
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
529799
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 2199]]
529800
+  (5.7ms) COMMIT
529801
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529802
+  (0.1ms) BEGIN
529803
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2200"], ["database_server_id", "test"], ["id", 2200]]
529804
+  (5.7ms) COMMIT
529805
+  (0.1ms) BEGIN
529806
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2201"], ["database_server_id", "1"], ["id", 2201]]
529807
+  (6.0ms) COMMIT
529808
+  (0.1ms) BEGIN
529809
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529810
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
529811
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
529812
+  (0.1ms) BEGIN [1:2201 master]
529813
+  (0.1ms) ROLLBACK [1:2201 master]
529814
+  (0.1ms) ROLLBACK
529815
+ SQL (0.4ms) DELETE FROM "switchman_shards"
529816
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529817
+  (0.1ms) BEGIN
529818
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
529819
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 2199]]
529820
+  (0.3ms) COMMIT
529821
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529822
+  (0.1ms) BEGIN
529823
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2200"], ["database_server_id", "test"], ["id", 2200]]
529824
+  (0.2ms) COMMIT
529825
+  (0.1ms) BEGIN
529826
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2201"], ["database_server_id", "1"], ["id", 2201]]
529827
+  (0.2ms) COMMIT
529828
+  (0.1ms) BEGIN [1:2201 master]
529829
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529830
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.204444"], ["updated_at", "2016-02-08 17:24:40.204444"]] [1:2201 master]
529831
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529832
+  (0.1ms) BEGIN
529833
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529834
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
529835
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
529836
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529837
+  (0.2ms) SELECT COUNT(*) FROM "users" [1:2201 master]
529838
+  (0.1ms) SAVEPOINT active_record_2 [1:2201 master]
529839
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.209542"], ["updated_at", "2016-02-08 17:24:40.209542"]] [1:2201 master]
529840
+  (0.1ms) RELEASE SAVEPOINT active_record_2 [1:2201 master]
529841
+  (5.9ms) ROLLBACK TO SAVEPOINT active_record_1 [1:2201 master]
529842
+  (0.1ms) ROLLBACK
529843
+  (0.2ms) SELECT COUNT(*) FROM "users" [1:2201 master]
529844
+  (0.1ms) ROLLBACK [1:2201 master]
529845
+ SQL (6.0ms) DELETE FROM "switchman_shards"
529846
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529847
+  (0.1ms) BEGIN
529848
+  (0.2ms) ROLLBACK
529849
+  (0.1ms) BEGIN
529850
+  (0.1ms) ROLLBACK
529851
+  (0.1ms) BEGIN
529852
+  (0.2ms) SELECT COUNT(*) FROM "switchman_shards"
529853
+  (0.1ms) ROLLBACK
529854
+  (0.1ms) BEGIN
529855
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
529856
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 2199]]
529857
+  (6.1ms) COMMIT
529858
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529859
+  (0.1ms) BEGIN
529860
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2200"], ["database_server_id", "test"], ["id", 2200]]
529861
+  (4.6ms) COMMIT
529862
+  (0.1ms) BEGIN
529863
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2201"], ["database_server_id", "1"], ["id", 2201]]
529864
+  (0.3ms) COMMIT
529865
+  (0.1ms) BEGIN
529866
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529867
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
529868
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
529869
+  (0.1ms) BEGIN [1:2201 master]
529870
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529871
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.281043"], ["updated_at", "2016-02-08 17:24:40.281043"]] [test:2200 master]
529872
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529873
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529874
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 21]] [test:2200 master]
529875
+  (0.1ms) ROLLBACK [1:2201 master]
529876
+  (0.1ms) ROLLBACK [test:2200 master]
529877
+  (0.1ms) BEGIN [test:2199 master]
529878
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529879
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529880
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529881
+  (0.1ms) BEGIN [1:2201 master]
529882
+  (0.2ms) SAVEPOINT active_record_1 [test:2200 master]
529883
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.290328"], ["updated_at", "2016-02-08 17:24:40.290328"]] [test:2200 master]
529884
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529885
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE (id > 0) AND "users"."id" = $1 LIMIT 1 [["id", 22]] [test:2200 master]
529886
+  (0.1ms) ROLLBACK [1:2201 master]
529887
+  (0.1ms) ROLLBACK [test:2200 master]
529888
+  (0.1ms) BEGIN [test:2199 master]
529889
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529890
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529891
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529892
+  (0.1ms) BEGIN [1:2201 master]
529893
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529894
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.298303"], ["updated_at", "2016-02-08 17:24:40.298303"]] [test:2200 master]
529895
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529896
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."id" = 23 LIMIT 1 [test:2200 master]
529897
+  (0.1ms) ROLLBACK [1:2201 master]
529898
+  (0.1ms) ROLLBACK [test:2200 master]
529899
+  (0.1ms) BEGIN [test:2199 master]
529900
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529901
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529902
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529903
+  (0.1ms) BEGIN [1:2201 master]
529904
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529905
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.304517"], ["updated_at", "2016-02-08 17:24:40.304517"]] [test:2200 master]
529906
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529907
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
529908
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "multi-shard exists"], ["created_at", "2016-02-08 17:24:40.306236"], ["updated_at", "2016-02-08 17:24:40.306236"]] [1:2201 master]
529909
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
529910
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:2199 master]
529911
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."name" = $1 LIMIT 1 [["name", "multi-shard exists"]] [test:2199 master]
529912
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."name" = $1 LIMIT 1 [["name", "multi-shard exists"]] [1:2201 master]
529913
+  (0.1ms) ROLLBACK [1:2201 master]
529914
+  (0.1ms) ROLLBACK [test:2199 master]
529915
+  (0.1ms) BEGIN [test:2199 master]
529916
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529917
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529918
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529919
+  (0.1ms) BEGIN [1:2201 master]
529920
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529921
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.316266"], ["updated_at", "2016-02-08 17:24:40.316266"]] [test:2200 master]
529922
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529923
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 25 LIMIT 1 [test:2200 master]
529924
+  (0.1ms) ROLLBACK [1:2201 master]
529925
+  (0.1ms) ROLLBACK [test:2200 master]
529926
+  (0.1ms) BEGIN [test:2199 master]
529927
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529928
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529929
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529930
+  (0.1ms) BEGIN [1:2201 master]
529931
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529932
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.323138"], ["updated_at", "2016-02-08 17:24:40.323138"]] [test:2200 master]
529933
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529934
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 26]] [test:2200 master]
529935
+  (0.1ms) ROLLBACK [1:2201 master]
529936
+  (0.1ms) ROLLBACK [test:2200 master]
529937
+  (0.1ms) BEGIN [test:2199 master]
529938
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529939
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529940
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529941
+  (0.1ms) BEGIN [1:2201 master]
529942
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529943
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.330960"], ["updated_at", "2016-02-08 17:24:40.330960"]] [test:2200 master]
529944
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529945
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529946
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 27]] [test:2200 master]
529947
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529948
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 22000000000000027 ORDER BY "users"."id" ASC LIMIT 1 [test:2200 master]
529949
+  (0.1ms) ROLLBACK [1:2201 master]
529950
+  (0.1ms) ROLLBACK [test:2200 master]
529951
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:2199 master]
529952
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529953
+  (0.1ms) BEGIN
529954
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
529955
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 2199]]
529956
+  (0.2ms) COMMIT
529957
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529958
+  (0.1ms) BEGIN
529959
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2200"], ["database_server_id", "test"], ["id", 2200]]
529960
+  (0.3ms) COMMIT
529961
+  (0.1ms) BEGIN
529962
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2201"], ["database_server_id", "1"], ["id", 2201]]
529963
+  (0.2ms) COMMIT
529964
+  (0.1ms) BEGIN
529965
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
529966
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
529967
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
529968
+  (0.1ms) BEGIN [1:2201 master]
529969
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529970
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.348310"], ["updated_at", "2016-02-08 17:24:40.348310"]] [test:2200 master]
529971
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529972
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
529973
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.349979"], ["updated_at", "2016-02-08 17:24:40.349979"]] [test:2200 master]
529974
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
529975
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
529976
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.351732"], ["updated_at", "2016-02-08 17:24:40.351732"]] [test:2199 master]
529977
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
529978
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2200 master]
529979
+ User Load (0.1ms) SELECT "users".* FROM "users" [test:2199 master]
529980
+  (0.1ms) ROLLBACK [1:2201 master]
529981
+  (0.1ms) ROLLBACK [test:2199 master]
529982
+  (0.1ms) BEGIN [test:2199 master]
529983
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529984
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529985
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529986
+  (0.1ms) BEGIN [1:2201 master]
529987
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
529988
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.358335"], ["updated_at", "2016-02-08 17:24:40.358335"]] [test:2199 master]
529989
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
529990
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
529991
+ SQL (0.2ms) UPDATE "users" SET "updated_at" = '2016-02-08 17:24:40.360142' [test:2199 master]
529992
+  (0.1ms) ROLLBACK [1:2201 master]
529993
+  (0.1ms) ROLLBACK [test:2199 master]
529994
+  (0.1ms) BEGIN [test:2199 master]
529995
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
529996
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
529997
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
529998
+  (0.1ms) BEGIN [1:2201 master]
529999
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530000
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.364713"], ["updated_at", "2016-02-08 17:24:40.364713"]] [test:2199 master]
530001
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530002
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530003
+ SQL (0.2ms) UPDATE "users" SET "updated_at" = '2016-02-08 17:24:40.366547' [test:2199 master]
530004
+  (0.1ms) ROLLBACK [1:2201 master]
530005
+  (0.1ms) ROLLBACK [test:2199 master]
530006
+  (0.1ms) BEGIN [test:2199 master]
530007
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.368856"], ["updated_at", "2016-02-08 17:24:40.368856"]] [test:2199 master]
530008
+  (0.3ms) COMMIT [test:2199 master]
530009
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530010
+ SQL (0.8ms) UPDATE "users" SET "updated_at" = '2016-02-08 17:24:40.371087' [test:2199 master]
530011
+ SQL (0.4ms) DELETE FROM "users" [test:2199 master]
530012
+  (0.1ms) BEGIN [test:2199 master]
530013
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.391651"], ["updated_at", "2016-02-08 17:24:40.391651"]] [test:2199 master]
530014
+  (0.3ms) COMMIT [test:2199 master]
530015
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530016
+ SQL (0.4ms) UPDATE "users" SET "updated_at" = '2016-02-08 17:24:40.394362' [test:2199 master]
530017
+ SQL (0.4ms) DELETE FROM "users" [test:2199 master]
530018
+  (0.1ms) BEGIN [test:2199 master]
530019
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530020
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530021
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530022
+  (0.1ms) BEGIN [1:2201 master]
530023
+  (0.1ms) ROLLBACK [1:2201 master]
530024
+  (0.1ms) ROLLBACK [test:2199 master]
530025
+  (0.1ms) BEGIN [test:2199 master]
530026
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530027
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530028
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530029
+  (0.1ms) BEGIN [1:2201 master]
530030
+  (0.1ms) ROLLBACK [1:2201 master]
530031
+  (0.1ms) ROLLBACK [test:2199 master]
530032
+  (0.1ms) BEGIN [test:2199 master]
530033
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530034
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530035
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530036
+  (0.1ms) BEGIN [1:2201 master]
530037
+  (0.1ms) ROLLBACK [1:2201 master]
530038
+  (0.1ms) ROLLBACK [test:2199 master]
530039
+  (0.1ms) BEGIN [test:2199 master]
530040
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530041
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530042
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530043
+  (0.1ms) BEGIN [1:2201 master]
530044
+  (0.1ms) ROLLBACK [1:2201 master]
530045
+  (0.1ms) ROLLBACK [test:2199 master]
530046
+  (0.1ms) BEGIN [test:2199 master]
530047
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530048
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530049
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530050
+  (0.1ms) BEGIN [1:2201 master]
530051
+  (0.1ms) ROLLBACK [1:2201 master]
530052
+  (0.1ms) ROLLBACK [test:2199 master]
530053
+  (0.1ms) BEGIN [test:2199 master]
530054
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530055
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530056
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530057
+  (0.1ms) BEGIN [1:2201 master]
530058
+  (0.1ms) ROLLBACK [1:2201 master]
530059
+  (0.1ms) ROLLBACK [test:2199 master]
530060
+  (0.1ms) BEGIN [test:2199 master]
530061
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530062
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530063
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530064
+  (0.1ms) BEGIN [1:2201 master]
530065
+  (0.1ms) ROLLBACK [1:2201 master]
530066
+  (0.1ms) ROLLBACK [test:2199 master]
530067
+  (0.1ms) BEGIN [test:2199 master]
530068
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530069
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530070
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530071
+  (0.1ms) BEGIN [1:2201 master]
530072
+ User Load (0.2ms) SELECT "users".* FROM "users" FOR UPDATE [test:2199 master]
530073
+  (0.1ms) ROLLBACK [1:2201 master]
530074
+  (0.1ms) ROLLBACK [test:2199 master]
530075
+  (0.1ms) BEGIN [test:2199 master]
530076
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530077
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530078
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530079
+  (0.1ms) BEGIN [1:2201 master]
530080
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530081
+  (0.1ms) ROLLBACK [1:2201 master]
530082
+  (0.1ms) ROLLBACK [test:2199 master]
530083
+  (0.1ms) BEGIN [test:2199 master]
530084
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530085
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530086
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530087
+  (0.1ms) BEGIN [1:2201 master]
530088
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530089
+  (0.1ms) ROLLBACK [1:2201 master]
530090
+  (0.1ms) ROLLBACK [test:2199 master]
530091
+  (0.1ms) BEGIN [test:2199 master]
530092
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530093
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530094
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530095
+  (0.1ms) BEGIN [1:2201 master]
530096
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530097
+  (0.1ms) ROLLBACK [1:2201 master]
530098
+  (0.1ms) ROLLBACK [test:2199 master]
530099
+  (0.1ms) BEGIN [test:2199 master]
530100
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530101
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530102
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530103
+  (0.1ms) BEGIN [1:2201 master]
530104
+  (0.1ms) ROLLBACK [1:2201 master]
530105
+  (0.1ms) ROLLBACK [test:2199 master]
530106
+  (0.1ms) BEGIN [test:2199 master]
530107
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530108
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530109
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530110
+  (0.1ms) BEGIN [1:2201 master]
530111
+ User Load (0.1ms) SELECT "users".* FROM "users" [test:2199 master]
530112
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530113
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.452776"], ["updated_at", "2016-02-08 17:24:40.452776"]] [test:2199 master]
530114
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530115
+  (0.1ms) ROLLBACK [1:2201 master]
530116
+  (0.1ms) ROLLBACK [test:2199 master]
530117
+  (0.1ms) BEGIN [test:2199 master]
530118
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530119
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530120
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530121
+  (0.1ms) BEGIN [1:2201 master]
530122
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530123
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530124
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.458896"], ["updated_at", "2016-02-08 17:24:40.458896"]] [test:2199 master]
530125
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530126
+  (0.1ms) ROLLBACK [1:2201 master]
530127
+  (0.1ms) ROLLBACK [test:2199 master]
530128
+  (0.1ms) BEGIN [test:2199 master]
530129
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530130
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530131
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530132
+  (0.1ms) BEGIN [1:2201 master]
530133
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530134
+  (0.1ms) BEGIN [test:2199 master]
530135
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.465917"], ["updated_at", "2016-02-08 17:24:40.465917"]] [test:2199 master]
530136
+  (0.3ms) COMMIT [test:2199 master]
530137
+  (0.1ms) ROLLBACK [1:2201 master]
530138
+  (0.1ms) ROLLBACK [test:2199 master]
530139
+  (0.1ms) BEGIN [test:2199 master]
530140
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530141
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530142
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530143
+  (0.1ms) BEGIN [1:2201 master]
530144
+ User Load (0.1ms) SELECT "users".* FROM "users" [test:2199 master]
530145
+  (0.1ms) BEGIN [test:2199 master]
530146
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.472171"], ["updated_at", "2016-02-08 17:24:40.472171"]] [test:2199 master]
530147
+  (0.4ms) COMMIT [test:2199 master]
530148
+  (0.1ms) ROLLBACK [1:2201 master]
530149
+  (0.1ms) ROLLBACK [test:2199 master]
530150
+  (0.1ms) BEGIN [test:2199 master]
530151
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530152
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530153
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530154
+  (0.1ms) BEGIN [1:2201 master]
530155
+  (0.1ms) ROLLBACK [1:2201 master]
530156
+  (0.1ms) ROLLBACK [test:2199 master]
530157
+  (0.1ms) BEGIN [test:2199 master]
530158
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530159
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530160
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530161
+  (0.1ms) BEGIN [1:2201 master]
530162
+  (0.1ms) ROLLBACK [1:2201 master]
530163
+  (0.1ms) ROLLBACK [test:2199 master]
530164
+  (0.1ms) BEGIN [test:2199 master]
530165
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530166
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530167
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530168
+  (0.1ms) BEGIN [1:2201 master]
530169
+  (0.1ms) ROLLBACK [1:2201 master]
530170
+  (0.1ms) ROLLBACK [test:2199 master]
530171
+  (0.1ms) BEGIN [test:2199 master]
530172
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530173
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530174
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530175
+  (0.1ms) BEGIN [1:2201 master]
530176
+  (0.1ms) ROLLBACK [1:2201 master]
530177
+  (0.1ms) ROLLBACK [test:2199 master]
530178
+  (0.1ms) BEGIN [test:2199 master]
530179
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530180
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530181
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530182
+  (0.1ms) BEGIN [1:2201 master]
530183
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530184
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.489179"], ["updated_at", "2016-02-08 17:24:40.489179"]] [test:2199 master]
530185
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530186
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530187
+ SQL (0.2ms) DELETE FROM "users" [test:2199 master]
530188
+  (0.1ms) ROLLBACK [1:2201 master]
530189
+  (0.1ms) ROLLBACK [test:2199 master]
530190
+  (0.1ms) BEGIN [test:2199 master]
530191
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530192
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530193
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530194
+  (0.1ms) BEGIN [1:2201 master]
530195
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530196
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.495249"], ["updated_at", "2016-02-08 17:24:40.495249"]] [test:2199 master]
530197
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530198
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530199
+ SQL (0.1ms) DELETE FROM "users" [test:2199 master]
530200
+  (0.1ms) ROLLBACK [1:2201 master]
530201
+  (0.1ms) ROLLBACK [test:2199 master]
530202
+  (0.1ms) BEGIN [test:2199 master]
530203
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.499177"], ["updated_at", "2016-02-08 17:24:40.499177"]] [test:2199 master]
530204
+  (0.4ms) COMMIT [test:2199 master]
530205
+  (0.1ms) BEGIN [test:2199 master]
530206
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "a"], ["created_at", "2016-02-08 17:24:40.501089"], ["updated_at", "2016-02-08 17:24:40.501089"]] [test:2199 master]
530207
+  (0.3ms) COMMIT [test:2199 master]
530208
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3480]] [test:2199 master]
530209
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3480]] [test:2199 slave]
530210
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3480]] [test:2199 master]
530211
+  (0.1ms) BEGIN [test:2199 master]
530212
+ SQL (0.2ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = $3 [["name", "b"], ["updated_at", "2016-02-08 17:24:40.506013"], ["id", 3480]] [test:2199 master]
530213
+  (0.3ms) COMMIT [test:2199 master]
530214
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3480]] [test:2199 master]
530215
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3480]] [test:2199 slave]
530216
+ SQL (0.4ms) DELETE FROM "users" [test:2199 master]
530217
+  (0.1ms) BEGIN [test:2199 master]
530218
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.511602"], ["updated_at", "2016-02-08 17:24:40.511602"]] [test:2199 master]
530219
+  (0.3ms) COMMIT [test:2199 master]
530220
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530221
+ SQL (0.3ms) DELETE FROM "users" [test:2199 master]
530222
+ SQL (0.1ms) DELETE FROM "users" [test:2199 master]
530223
+  (0.1ms) BEGIN [test:2199 master]
530224
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.516111"], ["updated_at", "2016-02-08 17:24:40.516111"]] [test:2199 master]
530225
+  (0.3ms) COMMIT [test:2199 master]
530226
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:2199 master]
530227
+ SQL (0.3ms) DELETE FROM "users" [test:2199 master]
530228
+ SQL (0.1ms) DELETE FROM "users" [test:2199 master]
530229
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:2199 master]
530230
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530231
+  (0.1ms) BEGIN
530232
+  (0.1ms) ROLLBACK
530233
+  (0.1ms) BEGIN
530234
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
530235
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 2199]]
530236
+  (0.3ms) COMMIT
530237
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
530238
+  (0.1ms) BEGIN
530239
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2200"], ["database_server_id", "test"], ["id", 2200]]
530240
+  (0.3ms) COMMIT
530241
+  (0.1ms) BEGIN
530242
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2201"], ["database_server_id", "1"], ["id", 2201]]
530243
+  (0.2ms) COMMIT
530244
+  (0.1ms) BEGIN
530245
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
530246
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
530247
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
530248
+  (0.1ms) BEGIN [1:2201 master]
530249
+  (0.1ms) ROLLBACK [1:2201 master]
530250
+  (0.1ms) ROLLBACK
530251
+ SQL (0.3ms) DELETE FROM "switchman_shards"
530252
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
530253
+  (0.1ms) BEGIN
530254
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
530255
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 2199]]
530256
+  (0.3ms) COMMIT
530257
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
530258
+  (0.1ms) BEGIN
530259
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2200"], ["database_server_id", "test"], ["id", 2200]]
530260
+  (0.3ms) COMMIT
530261
+  (0.1ms) BEGIN
530262
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("name", "database_server_id", "id") VALUES ($1, $2, $3) RETURNING "id" [["name", "switchman_test_shard_2201"], ["database_server_id", "1"], ["id", 2201]]
530263
+  (0.2ms) COMMIT
530264
+  (0.1ms) BEGIN
530265
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
530266
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
530267
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
530268
+  (0.1ms) BEGIN [1:2201 master]
530269
+  (0.1ms) SAVEPOINT active_record_1
530270
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.540107"], ["updated_at", "2016-02-08 17:24:40.540107"]]
530271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
530272
+  (0.1ms) SAVEPOINT active_record_1
530273
+ SQL (2.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 3483], ["created_at", "2016-02-08 17:24:40.542740"], ["updated_at", "2016-02-08 17:24:40.542740"]]
530274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
530275
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
530276
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.547168"], ["updated_at", "2016-02-08 17:24:40.547168"]] [test:2200 master]
530277
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530278
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530279
+ SQL (0.3ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 30], ["created_at", "2016-02-08 17:24:40.550593"], ["updated_at", "2016-02-08 17:24:40.550593"]] [test:2200 master]
530280
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530281
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530282
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.552517"], ["updated_at", "2016-02-08 17:24:40.552517"]] [1:2201 master]
530283
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530284
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530285
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530286
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 22], ["created_at", "2016-02-08 17:24:40.555496"], ["updated_at", "2016-02-08 17:24:40.555496"]] [1:2201 master]
530287
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530288
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530289
+  (0.1ms) ROLLBACK [1:2201 master]
530290
+  (0.1ms) ROLLBACK [test:2199 master]
530291
+  (0.1ms) BEGIN
530292
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]]
530293
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]]
530294
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]]
530295
+  (0.1ms) BEGIN [1:2201 master]
530296
+  (0.1ms) SAVEPOINT active_record_1
530297
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.565980"], ["updated_at", "2016-02-08 17:24:40.565980"]]
530298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
530299
+  (0.1ms) SAVEPOINT active_record_1
530300
+ SQL (0.3ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 3484], ["created_at", "2016-02-08 17:24:40.569247"], ["updated_at", "2016-02-08 17:24:40.569247"]]
530301
+  (0.1ms) RELEASE SAVEPOINT active_record_1
530302
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
530303
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.571364"], ["updated_at", "2016-02-08 17:24:40.571364"]] [test:2200 master]
530304
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530305
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530306
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 31], ["created_at", "2016-02-08 17:24:40.574078"], ["updated_at", "2016-02-08 17:24:40.574078"]] [test:2200 master]
530307
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530308
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530309
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.575694"], ["updated_at", "2016-02-08 17:24:40.575694"]] [1:2201 master]
530310
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530311
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530312
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530313
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 23], ["created_at", "2016-02-08 17:24:40.578777"], ["updated_at", "2016-02-08 17:24:40.578777"]] [1:2201 master]
530314
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530315
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530316
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530317
+ SQL (0.2ms) INSERT INTO "users" ("parent_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["parent_id", 3484], ["created_at", "2016-02-08 17:24:40.581872"], ["updated_at", "2016-02-08 17:24:40.581872"]] [test:2199 master]
530318
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530319
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530320
+ SQL (0.1ms) INSERT INTO "users" ("parent_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["parent_id", 3485], ["created_at", "2016-02-08 17:24:40.584390"], ["updated_at", "2016-02-08 17:24:40.584390"]] [test:2199 master]
530321
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530322
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3485]] [test:2199 master]
530323
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3484]] [test:2199 master]
530324
+ User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "users" "children_grandchildren_join" ON "users"."parent_id" = "children_grandchildren_join"."id" WHERE "children_grandchildren_join"."parent_id" = $1 [["parent_id", 3484]] [test:2199 master]
530325
+  (0.1ms) ROLLBACK [1:2201 master]
530326
+  (0.1ms) ROLLBACK [test:2199 master]
530327
+  (0.1ms) BEGIN [test:2199 master]
530328
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530329
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530330
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530331
+  (0.1ms) BEGIN [1:2201 master]
530332
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530333
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.597679"], ["updated_at", "2016-02-08 17:24:40.597679"]] [test:2199 master]
530334
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530335
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530336
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 3487], ["created_at", "2016-02-08 17:24:40.600475"], ["updated_at", "2016-02-08 17:24:40.600475"]] [test:2199 master]
530337
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530338
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
530339
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.602299"], ["updated_at", "2016-02-08 17:24:40.602299"]] [test:2200 master]
530340
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530341
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530342
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 32], ["created_at", "2016-02-08 17:24:40.605147"], ["updated_at", "2016-02-08 17:24:40.605147"]] [test:2200 master]
530343
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530344
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530345
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.606864"], ["updated_at", "2016-02-08 17:24:40.606864"]] [1:2201 master]
530346
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530347
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530348
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530349
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 24], ["created_at", "2016-02-08 17:24:40.609795"], ["updated_at", "2016-02-08 17:24:40.609795"]] [1:2201 master]
530350
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530351
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530352
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
530353
+ SQL (0.3ms) INSERT INTO "mirror_users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.611915"], ["updated_at", "2016-02-08 17:24:40.611915"]] [test:2200 master]
530354
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530355
+  (0.1ms) ROLLBACK [1:2201 master]
530356
+  (0.1ms) ROLLBACK [test:2199 master]
530357
+  (0.1ms) BEGIN [test:2199 master]
530358
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530359
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530360
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530361
+  (0.1ms) BEGIN [1:2201 master]
530362
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530363
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.618028"], ["updated_at", "2016-02-08 17:24:40.618028"]] [test:2199 master]
530364
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530365
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530366
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 3488], ["created_at", "2016-02-08 17:24:40.620564"], ["updated_at", "2016-02-08 17:24:40.620564"]] [test:2199 master]
530367
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530368
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
530369
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.622438"], ["updated_at", "2016-02-08 17:24:40.622438"]] [test:2200 master]
530370
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530371
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530372
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 33], ["created_at", "2016-02-08 17:24:40.625165"], ["updated_at", "2016-02-08 17:24:40.625165"]] [test:2200 master]
530373
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530374
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530375
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.626850"], ["updated_at", "2016-02-08 17:24:40.626850"]] [1:2201 master]
530376
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530377
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530378
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530379
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 25], ["created_at", "2016-02-08 17:24:40.629901"], ["updated_at", "2016-02-08 17:24:40.629901"]] [1:2201 master]
530380
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530381
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530382
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530383
+  (0.1ms) ROLLBACK [1:2201 master]
530384
+  (0.1ms) ROLLBACK [test:2200 master]
530385
+  (0.1ms) BEGIN [test:2199 master]
530386
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530387
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530388
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530389
+  (0.1ms) BEGIN [1:2201 master]
530390
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530391
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.639298"], ["updated_at", "2016-02-08 17:24:40.639298"]] [test:2199 master]
530392
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530393
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530394
+ SQL (0.2ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 3489], ["created_at", "2016-02-08 17:24:40.641886"], ["updated_at", "2016-02-08 17:24:40.641886"]] [test:2199 master]
530395
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530396
+  (0.1ms) SAVEPOINT active_record_1 [test:2200 master]
530397
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.643972"], ["updated_at", "2016-02-08 17:24:40.643972"]] [test:2200 master]
530398
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530399
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530400
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 34], ["created_at", "2016-02-08 17:24:40.647131"], ["updated_at", "2016-02-08 17:24:40.647131"]] [test:2200 master]
530401
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2200 master]
530402
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530403
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.648773"], ["updated_at", "2016-02-08 17:24:40.648773"]] [1:2201 master]
530404
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530405
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530406
+  (0.1ms) SAVEPOINT active_record_1 [1:2201 master]
530407
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 26], ["created_at", "2016-02-08 17:24:40.651541"], ["updated_at", "2016-02-08 17:24:40.651541"]] [1:2201 master]
530408
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:2201 master]
530409
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530410
+  (0.1ms) ROLLBACK [1:2201 master]
530411
+  (0.1ms) ROLLBACK [test:2199 master]
530412
+  (0.1ms) BEGIN [test:2199 master]
530413
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = $1 ORDER BY "switchman_shards"."id" ASC LIMIT 1 [["default", "t"]] [test:2199 master]
530414
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2200]] [test:2199 master]
530415
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2201]] [test:2199 master]
530416
+  (0.1ms) BEGIN [1:2201 master]
530417
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530418
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-08 17:24:40.657738"], ["updated_at", "2016-02-08 17:24:40.657738"]] [test:2199 master]
530419
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:2199 master]
530420
+  (0.1ms) SAVEPOINT active_record_1 [test:2199 master]
530421
+ SQL (0.1ms) INSERT INTO "appendages" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["user_id", 3490], ["created_at", "2016-02-08 17:24:40.660368"], ["updated_at", "2016-02-08 17:24:40.660368"]] [t