switchman 1.2.22 → 1.2.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/lib/switchman/connection_pool_proxy.rb +7 -1
  3. data/lib/switchman/engine.rb +1 -1
  4. data/lib/switchman/schema_cache.rb +11 -0
  5. data/lib/switchman/version.rb +1 -1
  6. data/lib/tasks/switchman.rake +112 -64
  7. data/spec/dummy/db/shard_1361.sqlite3 +0 -0
  8. data/spec/dummy/db/shard_1384.sqlite3 +0 -0
  9. data/spec/dummy/db/shard_1446.sqlite3 +0 -0
  10. data/spec/dummy/db/shard_1481.sqlite3 +0 -0
  11. data/spec/dummy/db/shard_1508.sqlite3 +0 -0
  12. data/spec/dummy/db/shard_1528.sqlite3 +0 -0
  13. data/spec/dummy/db/shard_1553.sqlite3 +0 -0
  14. data/spec/dummy/db/shard_1588.sqlite3 +0 -0
  15. data/spec/dummy/db/shard_1596.sqlite3 +0 -0
  16. data/spec/dummy/db/shard_1630.sqlite3 +0 -0
  17. data/spec/dummy/log/test.log +39166 -0
  18. data/spec/dummy/tmp/cache/377/570/shard%2F1600 +1 -0
  19. data/spec/dummy/tmp/cache/378/560/shard%2F1502 +0 -0
  20. data/spec/dummy/tmp/cache/379/570/shard%2F1341 +1 -0
  21. data/spec/dummy/tmp/cache/379/570/shard%2F1503 +0 -0
  22. data/spec/dummy/tmp/cache/37B/5B0/shard%2F1523 +1 -0
  23. data/spec/dummy/tmp/cache/37C/5E0/shard%2F1542 +1 -0
  24. data/spec/dummy/tmp/cache/37D/5D0/shard%2F1525 +0 -0
  25. data/spec/dummy/tmp/cache/37E/5C0/shard%2F1346 +1 -0
  26. data/spec/dummy/tmp/cache/37E/630/shard%2F1571 +0 -0
  27. data/spec/dummy/tmp/cache/380/5E0/shard%2F1429 +1 -0
  28. data/spec/dummy/tmp/cache/381/640/shard%2F1556 +1 -0
  29. data/spec/dummy/tmp/cache/381/680/shard%2F1592 +1 -0
  30. data/spec/dummy/tmp/cache/382/620/shard%2F1368 +1 -0
  31. data/spec/dummy/tmp/cache/382/640/shard%2F1548 +0 -0
  32. data/spec/dummy/tmp/cache/382/640/shard%2F1629 +1 -0
  33. data/spec/dummy/tmp/cache/383/650/shard%2F1549 +0 -0
  34. data/spec/dummy/tmp/cache/385/680/shard%2F1479 +0 -0
  35. data/spec/dummy/tmp/cache/386/6B0/shard%2F1498 +1 -0
  36. data/spec/dummy/tmp/cache/3AA/FC0/shard%2F11503 +1 -0
  37. data/spec/dummy/tmp/cache/3AB/FD0/shard%2F11342 +1 -0
  38. data/spec/dummy/tmp/cache/3AE/060/shard%2F11480 +1 -0
  39. data/spec/dummy/tmp/cache/3AF/010/shard%2F11427 +1 -0
  40. data/spec/dummy/tmp/cache/3AF/030/shard%2F11526 +1 -0
  41. data/spec/dummy/tmp/cache/3B0/040/shard%2F11365 +1 -0
  42. data/spec/dummy/tmp/cache/3B0/060/shard%2F11626 +1 -0
  43. data/spec/dummy/tmp/cache/3B0/090/shard%2F11572 +1 -0
  44. data/spec/dummy/tmp/cache/3B4/0A0/shard%2F11549 +1 -0
  45. data/spec/dummy/tmp/cache/3B5/100/shard%2F11595 +1 -0
  46. data/spec/lib/connection_pool_proxy_spec.rb +12 -0
  47. data/spec/lib/rake_spec.rb +73 -0
  48. metadata +82 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1554c2dd6c0814a4bef9e35aec75bc308d32807a
4
- data.tar.gz: f76011a90f9060e1e982d8190e243498cd3a7db3
3
+ metadata.gz: b9c7b4fc575963fa61080caac08c3acd06506e88
4
+ data.tar.gz: aaa6feb8b7a23509faac16f12ddf5910e6bd2a47
5
5
  SHA512:
6
- metadata.gz: 24e8cdbf872f9a15c2c62ac4df75d6b8e94d9799de577492ff2042c5ee52a19cee0f6fcf12abb0f99e90ba1000c250f18ff86e7961c3b97da4e61fd5374f3204
7
- data.tar.gz: a0d43382dddcc0cf055c3f17c9fafce22129dbf913e5f6cc88fa79fe20bdb5dfd0dfd55e0523a1bd003e29849981f796002a4d50d17f6bf0cc20e206f2086b8b
6
+ metadata.gz: 007705b88e8b475cbb4dd3458d365194bd6ad01c7d90f040efb7877b13425432f4e08293fd04d3e6465a7ae9293490f51009114945eea6ca6bb8987b48229aca
7
+ data.tar.gz: 11ad52871aa9b4335cce3a4775d96486e3ad4c7699cd0e801545263cc8afa14891bbe36dca1fdf1a3b1e9f813f7a469914c7ddb1b098b490afd23344000dae9d
@@ -1,3 +1,5 @@
1
+ require 'switchman/schema_cache'
2
+
1
3
  module Switchman
2
4
  module ConnectionError
3
5
  def self.===(other)
@@ -21,6 +23,7 @@ module Switchman
21
23
  @category = category
22
24
  @default_pool = default_pool
23
25
  @connection_pools = shard_connection_pools
26
+ @schema_cache = SchemaCache.new(self)
24
27
  end
25
28
 
26
29
  def active_shard
@@ -41,7 +44,9 @@ module Switchman
41
44
  def connection
42
45
  pool = current_pool
43
46
  begin
44
- pool.connection
47
+ connection = pool.connection
48
+ connection.instance_variable_set(:@schema_cache, @schema_cache)
49
+ connection
45
50
  rescue ConnectionError
46
51
  raise if active_shard.database_server == Shard.default.database_server && active_shackles_environment == :master
47
52
  configs = active_shard.database_server.config(active_shackles_environment)
@@ -50,6 +55,7 @@ module Switchman
50
55
  pool = create_pool(config.dup)
51
56
  begin
52
57
  connection = pool.connection
58
+ connection.instance_variable_set(:@schema_cache, @schema_cache)
53
59
  rescue ConnectionError
54
60
  raise if idx == configs.length - 1
55
61
  next
@@ -44,7 +44,7 @@ module Switchman
44
44
  end
45
45
 
46
46
  middlewares = Switchman.config[:cache_map].values.map do |store|
47
- value.middleware if value.respond_to?(:middleware)
47
+ store.middleware if store.respond_to?(:middleware)
48
48
  end.compact.uniq
49
49
  middlewares.each do |middleware|
50
50
  config.middleware.insert_before("Rack::Runtime", middleware)
@@ -0,0 +1,11 @@
1
+ module Switchman
2
+ class SchemaCache < ::ActiveRecord::ConnectionAdapters::SchemaCache
3
+ delegate :connection, to: :pool
4
+ attr_reader :pool
5
+
6
+ def initialize(pool)
7
+ @pool = pool
8
+ super(nil)
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.2.22"
2
+ VERSION = "1.2.23"
3
3
  end
@@ -1,79 +1,127 @@
1
1
  module Switchman
2
- def self.shardify_task(task_name)
3
- old_task = Rake::Task[task_name]
4
- old_actions = old_task.actions.dup
5
- old_task.actions.clear
6
-
7
- old_task.enhance do
8
- if ::Rails.env.test?
9
- require 'switchman/test_helper'
10
- TestHelper.recreate_persistent_test_shards(dont_create: true)
11
- end
2
+ module Rake
3
+ def self.filter_database_servers(&block)
4
+ chain = filter_database_servers_chain # use a local variable so that the current chain is closed over in the following lambda
5
+ @filter_database_servers_chain = lambda { |servers| block.call(servers, chain) }
6
+ end
12
7
 
13
- ::Shackles.activate(:deploy) do
8
+ def self.shardify_task(task_name)
9
+ old_task = ::Rake::Task[task_name]
10
+ old_actions = old_task.actions.dup
11
+ old_task.actions.clear
14
12
 
15
- scope = Shard.order("database_server_id IS NOT NULL, database_server_id, id")
16
- if ENV['DATABASE_SERVER']
17
- servers = ENV['DATABASE_SERVER']
18
- if servers.first == '-'
19
- negative = true
20
- servers = servers[1..-1]
21
- end
22
- servers = servers.split(',')
23
- conditions = ["database_server_id #{ "NOT " if negative }IN (?)", servers]
24
- conditions.first << " OR database_server_id IS NULL" if servers.include?(::Rails.env) && !negative || !servers.include?(::Rails.env) && negative
25
- scope = scope.where(conditions)
13
+ old_task.enhance do
14
+ if ::Rails.env.test?
15
+ require 'switchman/test_helper'
16
+ TestHelper.recreate_persistent_test_shards(dont_create: true)
26
17
  end
27
18
 
28
- if ENV['SHARD']
29
- raw_shard_ids = ENV['SHARD'].split(',')
30
- shards = []
31
- default = false
32
- shard_ids = []
33
- ranges = []
34
- raw_shard_ids.each do |id|
35
- if id == 'default'
36
- default = true
37
- elsif id =~ /(\d+)?\.\.(\.)?(\d+)?/
38
- raise "Invalid shard id or range: #{id}" unless $1 || $3
39
- range = []
40
- range << "id>=#{$1}" if $1
41
- range << "id<#{'=' unless $2}#{$3}" if $3
42
- ranges << "(#{range.join(' AND ')})"
43
- elsif id =~ /\d+/
44
- shard_ids << id.to_i
45
- else
46
- raise "Invalid shard id or range: #{id}"
19
+ ::Shackles.activate(:deploy) do
20
+ servers = DatabaseServer.all
21
+
22
+ if ENV['DATABASE_SERVER']
23
+ servers = ENV['DATABASE_SERVER']
24
+ if servers.first == '-'
25
+ negative = true
26
+ servers = servers[1..-1]
47
27
  end
28
+ servers = servers.split(',').map { |server| DatabaseServer.find(server) }.compact
29
+ servers = DatabaseServer.all - servers if negative
30
+ end
31
+
32
+ servers = filter_database_servers_chain.call(servers)
33
+
34
+ scope = Shard.order("database_server_id IS NOT NULL, database_server_id, id")
35
+ if servers != DatabaseServer.all
36
+ conditions = ["database_server_id IN (?)", servers.map(&:id)]
37
+ conditions.first << " OR database_server_id IS NULL" if servers.include?(Shard.default.database_server)
38
+ scope = scope.where(conditions)
48
39
  end
49
- queries = 0
50
- default_on_servers = !servers || servers.include?(Shard.default.database_server.id)
51
- default_on_servers = !default_on_servers if negative
52
- if default && default_on_servers
53
- shards << Shard.default
54
- queries += 1
40
+
41
+ if ENV['SHARD']
42
+ scope = shard_scope(scope, ENV['SHARD'])
43
+ end
44
+
45
+ Shard.with_each_shard(scope, Shard.categories, :parallel => ENV['PARALLEL'].to_i) do
46
+ shard = Shard.current
47
+ puts "#{shard.id}: #{shard.description}"
48
+ ::ActiveRecord::Base.connection_pool.spec.config[:shard_name] = Shard.current.name
49
+ ::ActiveRecord::Base.configurations[::Rails.env] = ::ActiveRecord::Base.connection_pool.spec.config.stringify_keys
50
+ shard.database_server.unshackle do
51
+ old_actions.each(&:call)
52
+ end
53
+ nil
55
54
  end
56
- shards.concat(scope.where(:id => shard_ids).all) unless shard_ids.empty?
57
- queries += 1 unless shard_ids.empty?
58
- shards.concat(scope.where(ranges.join(" OR ")).all) unless ranges.empty?
59
- queries += 1 unless ranges.empty?
60
- shards = shards.uniq.sort_by { |shard| [shard.database_server.id, shard.id] } if queries > 1
61
55
  end
62
- shards ||= scope
63
-
64
- Shard.with_each_shard(shards, Shard.categories, :parallel => ENV['PARALLEL'].to_i) do
65
- shard = Shard.current
66
- puts "#{shard.id}: #{shard.description}"
67
- ::ActiveRecord::Base.connection_pool.spec.config[:shard_name] = Shard.current.name
68
- ::ActiveRecord::Base.configurations[::Rails.env] = ::ActiveRecord::Base.connection_pool.spec.config.stringify_keys
69
- shard.database_server.unshackle do
70
- old_actions.each(&:call)
56
+ end
57
+ end
58
+
59
+ %w{db:migrate db:migrate:up db:migrate:down db:rollback}.each { |task_name| shardify_task(task_name) }
60
+
61
+ private
62
+
63
+ def self.shard_scope(scope, raw_shard_ids)
64
+ raw_shard_ids = raw_shard_ids.split(',')
65
+
66
+ shard_ids = []
67
+ negative_shard_ids = []
68
+ ranges = []
69
+ negative_ranges = []
70
+ raw_shard_ids.each do |id|
71
+ if id == 'default'
72
+ shard_ids << Shard.default.id
73
+ elsif id == '-default'
74
+ negative_shard_ids << Shard.default.id
75
+ elsif id =~ /(-?)(\d+)?\.\.(\.)?(\d+)?/
76
+ negative, start, open, finish = $1.present?, $2, $3.present?, $4
77
+ raise "Invalid shard id or range: #{id}" unless start || finish
78
+ range = []
79
+ range << "id>=#{start}" if start
80
+ range << "id<#{'=' unless open}#{finish}" if finish
81
+ (negative ? negative_ranges : ranges) << "(#{range.join(' AND ')})"
82
+ elsif id =~ /-(\d+)/
83
+ negative_shard_ids << $1.to_i
84
+ elsif id =~ /\d+/
85
+ shard_ids << id.to_i
86
+ else
87
+ raise "Invalid shard id or range: #{id}"
88
+ end
89
+ end
90
+
91
+ shard_ids.uniq!
92
+ negative_shard_ids.uniq!
93
+ unless shard_ids.empty?
94
+ shard_ids -= negative_shard_ids
95
+ if shard_ids.empty? && ranges.empty?
96
+ if ::Rails.version < '4'
97
+ return scope.where("?", false)
98
+ else
99
+ return scope.none
71
100
  end
72
- nil
73
101
  end
102
+ # we already trimmed them all out; no need to make the server do it as well
103
+ negative_shard_ids = [] if ranges.empty?
74
104
  end
105
+
106
+ conditions = []
107
+ positive_queries = []
108
+ unless ranges.empty?
109
+ positive_queries << ranges.join(" OR ")
110
+ end
111
+ unless shard_ids.empty?
112
+ positive_queries << "id IN (?)"
113
+ conditions << shard_ids
114
+ end
115
+ positive_query = positive_queries.join(" OR ")
116
+ scope = scope.where(positive_query, *conditions) unless positive_queries.empty?
117
+
118
+ scope = scope.where("NOT (#{negative_ranges.join(" OR")})") unless negative_ranges.empty?
119
+ scope = scope.where("id NOT IN (?)", negative_shard_ids) unless negative_shard_ids.empty?
120
+ scope
75
121
  end
76
- end
77
122
 
78
- %w{db:migrate db:migrate:up db:migrate:down db:rollback}.each { |task_name| shardify_task(task_name) }
123
+ def self.filter_database_servers_chain
124
+ @filter_database_servers_chain ||= ->(servers) { servers }
125
+ end
126
+ end
79
127
  end
@@ -170312,3 +170312,39169 @@ Migrating to CreateRoots (20140219183820)
170312
170312
   (0.2ms) BEGIN
170313
170313
  SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 1312]]
170314
170314
   (0.1ms) COMMIT
170315
+  (0.4ms) SELECT * FROM unnest(current_schemas(false))
170316
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170317
+  (0.4ms) SELECT * FROM unnest(current_schemas(false))
170318
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170319
+ SQL (0.5ms) DELETE FROM "switchman_shards"
170320
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170321
+  (0.1ms) BEGIN
170322
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
170323
+ SQL (0.8ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", "t"]]
170324
+  (0.4ms) COMMIT
170325
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170326
+ Switchman::Shard Load (0.6ms) 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
170327
+  (0.1ms) BEGIN
170328
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
170329
+  (0.4ms) CREATE SCHEMA switchman_test_shard_1334 [shard 1334 deploy]
170330
+ SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 1334]] [shard 1333 master]
170331
+  (0.8ms) DROP SCHEMA switchman_test_shard_1334 CASCADE [shard 1334 deploy]
170332
+  (0.1ms) ROLLBACK [shard 1334 master]
170333
+ SQL (0.3ms) DELETE FROM "switchman_shards" [shard 1333 master]
170334
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1333 master]
170335
+  (0.4ms) SELECT * FROM unnest(current_schemas(false))
170336
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170337
+ SQL (0.5ms) DELETE FROM "switchman_shards"
170338
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170339
+  (0.1ms) BEGIN
170340
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
170341
+ SQL (0.5ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", "t"]]
170342
+  (6.5ms) COMMIT
170343
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170344
+ Switchman::Shard Load (0.9ms) 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
170345
+  (0.2ms) BEGIN
170346
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
170347
+  (0.3ms) CREATE SCHEMA switchman_test_shard_1336 [shard 1336 deploy]
170348
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 1336 deploy]
170349
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 1336 deploy]
170350
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 1336 deploy]
170351
+ Migrating to CreateUsers (20130403132607)
170352
+  (7.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 1336 deploy]
170353
+ SQL (6.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 1336 deploy]
170354
+ Migrating to CreateAppendages (20130411202442)
170355
+  (7.5ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 1336 deploy]
170356
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 1336 deploy]
170357
+ Migrating to CreateMirrorUsers (20130411202551)
170358
+  (7.6ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 1336 deploy]
170359
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 1336 deploy]
170360
+ Migrating to CreateDigits (20131022202028)
170361
+  (7.5ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 1336 deploy]
170362
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 1336 deploy]
170363
+ Migrating to CreateFeatures (20131206172923)
170364
+  (6.9ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 1336 deploy]
170365
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 1336 deploy]
170366
+ Migrating to AddParentIdToUsers (20140123154135)
170367
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 1336 deploy]
170368
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 1336 deploy]
170369
+ Migrating to CreateRoots (20140219183820)
170370
+  (6.9ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 1336 deploy]
170371
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 1336 deploy]
170372
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 1336 [["name", "switchman_test_shard_1336"]] [shard 1335 master]
170373
+  (6.8ms) COMMIT [shard 1335 master]
170374
+ Switchman::Shard Load (5.3ms) 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 [shard 1335 master]
170375
+  (0.1ms) BEGIN [shard 1335 master]
170376
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [shard 1335 master]
170377
+  (0.3ms) COMMIT [shard 1335 master]
170378
+  (0.5ms) CREATE SCHEMA switchman_test_shard_1337 [shard 1337 deploy]
170379
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 1337 deploy]
170380
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 1337 deploy]
170381
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 1337 deploy]
170382
+ Migrating to CreateUsers (20130403132607)
170383
+  (0.1ms) BEGIN [shard 1337 deploy]
170384
+  (2.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 1337 deploy]
170385
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 1337 deploy]
170386
+  (0.3ms) COMMIT [shard 1337 deploy]
170387
+ Migrating to CreateAppendages (20130411202442)
170388
+  (0.2ms) BEGIN [shard 1337 deploy]
170389
+  (1.7ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 1337 deploy]
170390
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 1337 deploy]
170391
+  (0.3ms) COMMIT [shard 1337 deploy]
170392
+ Migrating to CreateMirrorUsers (20130411202551)
170393
+  (0.1ms) BEGIN [shard 1337 deploy]
170394
+  (1.6ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 1337 deploy]
170395
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 1337 deploy]
170396
+  (0.4ms) COMMIT [shard 1337 deploy]
170397
+ Migrating to CreateDigits (20131022202028)
170398
+  (0.1ms) BEGIN [shard 1337 deploy]
170399
+  (2.2ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 1337 deploy]
170400
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 1337 deploy]
170401
+  (0.4ms) COMMIT [shard 1337 deploy]
170402
+ Migrating to CreateFeatures (20131206172923)
170403
+  (0.1ms) BEGIN [shard 1337 deploy]
170404
+  (1.6ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 1337 deploy]
170405
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 1337 deploy]
170406
+  (0.3ms) COMMIT [shard 1337 deploy]
170407
+ Migrating to AddParentIdToUsers (20140123154135)
170408
+  (0.1ms) BEGIN [shard 1337 deploy]
170409
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 1337 deploy]
170410
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 1337 deploy]
170411
+  (0.2ms) COMMIT [shard 1337 deploy]
170412
+ Migrating to CreateRoots (20140219183820)
170413
+  (0.1ms) BEGIN [shard 1337 deploy]
170414
+  (2.3ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 1337 deploy]
170415
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 1337 deploy]
170416
+  (0.6ms) COMMIT [shard 1337 deploy]
170417
+  (0.1ms) BEGIN [shard 1335 master]
170418
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 1337 [["name", "switchman_test_shard_1337"]] [shard 1335 master]
170419
+  (0.3ms) COMMIT [shard 1335 master]
170420
+ SQL (0.3ms) DELETE FROM "switchman_shards" [shard 1335 master]
170421
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1335 master]
170422
+  (0.1ms) BEGIN [shard 1335 master]
170423
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1335 master]
170424
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 1335]] [shard 1335 master]
170425
+  (0.3ms) COMMIT [shard 1335 master]
170426
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1335 master]
170427
+  (0.1ms) BEGIN [shard 1335 master]
170428
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 1336], ["name", "switchman_test_shard_1336"]] [shard 1335 master]
170429
+  (0.3ms) COMMIT [shard 1335 master]
170430
+  (0.1ms) BEGIN [shard 1335 master]
170431
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 1337], ["name", "switchman_test_shard_1337"]] [shard 1335 master]
170432
+  (0.3ms) COMMIT [shard 1335 master]
170433
+  (0.1ms) BEGIN [shard 1335 master]
170434
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1335 master]
170435
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1336]] [shard 1335 master]
170436
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1337]] [shard 1335 master]
170437
+  (0.1ms) BEGIN [shard 1337 master]
170438
+  (0.1ms) ROLLBACK [shard 1337 master]
170439
+  (0.1ms) ROLLBACK [shard 1335 master]
170440
+  (0.1ms) BEGIN [shard 1335 master]
170441
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1335 master]
170442
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1336]] [shard 1335 master]
170443
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1337]] [shard 1335 master]
170444
+  (0.1ms) BEGIN [shard 1337 master]
170445
+  (0.1ms) ROLLBACK [shard 1337 master]
170446
+  (0.1ms) ROLLBACK [shard 1335 master]
170447
+  (0.1ms) BEGIN [shard 1335 master]
170448
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1335 master]
170449
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1336]] [shard 1335 master]
170450
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1337]] [shard 1335 master]
170451
+  (0.1ms) BEGIN [shard 1337 master]
170452
+  (0.1ms) SAVEPOINT active_record_1 [shard 1335 master]
170453
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 1335 master]
170454
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1335 master]
170455
+  (0.1ms) SAVEPOINT active_record_1 [shard 1335 master]
170456
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 1335 master]
170457
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1335 master]
170458
+  (0.2ms) ROLLBACK [shard 1337 master]
170459
+  (0.1ms) ROLLBACK [shard 1335 master]
170460
+  (0.1ms) BEGIN [shard 1335 master]
170461
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1335 master]
170462
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1336]] [shard 1335 master]
170463
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1337]] [shard 1335 master]
170464
+  (0.1ms) BEGIN [shard 1337 master]
170465
+  (0.1ms) ROLLBACK [shard 1337 master]
170466
+  (0.1ms) ROLLBACK [shard 1335 master]
170467
+ SQL (0.4ms) DELETE FROM "switchman_shards" [shard 1335 master]
170468
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1335 master]
170469
+  (4.3ms) DROP SCHEMA switchman_test_shard_1336 CASCADE [shard 1336 deploy]
170470
+  (0.1ms) BEGIN
170471
+ SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 1336]]
170472
+  (0.1ms) COMMIT
170473
+  (5.3ms) DROP SCHEMA switchman_test_shard_1337 CASCADE [shard 1337 deploy]
170474
+  (0.2ms) BEGIN
170475
+ SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 1337]]
170476
+  (0.1ms) COMMIT
170477
+  (0.4ms) SELECT * FROM unnest(current_schemas(false))
170478
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170479
+ SQL (0.5ms) DELETE FROM "switchman_shards"
170480
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170481
+  (0.1ms) BEGIN
170482
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
170483
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", "t"]]
170484
+  (0.4ms) COMMIT
170485
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
170486
+ Switchman::Shard Load (0.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
170487
+  (0.1ms) BEGIN
170488
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
170489
+  (0.3ms) CREATE SCHEMA switchman_test_shard_1341 [shard 1341 deploy]
170490
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 1341 deploy]
170491
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 1341 deploy]
170492
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 1341 deploy]
170493
+ Migrating to CreateUsers (20130403132607)
170494
+  (2.2ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 1341 deploy]
170495
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 1341 deploy]
170496
+ Migrating to CreateAppendages (20130411202442)
170497
+  (11.0ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 1341 deploy]
170498
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 1341 deploy]
170499
+ Migrating to CreateMirrorUsers (20130411202551)
170500
+  (7.7ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 1341 deploy]
170501
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 1341 deploy]
170502
+ Migrating to CreateDigits (20131022202028)
170503
+  (1.7ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 1341 deploy]
170504
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 1341 deploy]
170505
+ Migrating to CreateFeatures (20131206172923)
170506
+  (1.6ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 1341 deploy]
170507
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 1341 deploy]
170508
+ Migrating to AddParentIdToUsers (20140123154135)
170509
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 1341 deploy]
170510
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 1341 deploy]
170511
+ Migrating to CreateRoots (20140219183820)
170512
+  (1.8ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 1341 deploy]
170513
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 1341 deploy]
170514
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 1341 [["name", "switchman_test_shard_1341"]] [shard 1340 master]
170515
+  (0.8ms) COMMIT [shard 1340 master]
170516
+ Switchman::Shard Load (0.7ms) 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 [shard 1340 master]
170517
+  (0.1ms) BEGIN [shard 1340 master]
170518
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [shard 1340 master]
170519
+  (0.3ms) COMMIT [shard 1340 master]
170520
+  (0.7ms) CREATE SCHEMA switchman_test_shard_1342 [shard 1342 deploy]
170521
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 1342 deploy]
170522
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 1342 deploy]
170523
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 1342 deploy]
170524
+ Migrating to CreateUsers (20130403132607)
170525
+  (0.1ms) BEGIN [shard 1342 deploy]
170526
+  (2.4ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 1342 deploy]
170527
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 1342 deploy]
170528
+  (0.3ms) COMMIT [shard 1342 deploy]
170529
+ Migrating to CreateAppendages (20130411202442)
170530
+  (0.2ms) BEGIN [shard 1342 deploy]
170531
+  (1.7ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 1342 deploy]
170532
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 1342 deploy]
170533
+  (0.4ms) COMMIT [shard 1342 deploy]
170534
+ Migrating to CreateMirrorUsers (20130411202551)
170535
+  (0.1ms) BEGIN [shard 1342 deploy]
170536
+  (1.6ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 1342 deploy]
170537
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 1342 deploy]
170538
+  (0.3ms) COMMIT [shard 1342 deploy]
170539
+ Migrating to CreateDigits (20131022202028)
170540
+  (0.1ms) BEGIN [shard 1342 deploy]
170541
+  (1.5ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 1342 deploy]
170542
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 1342 deploy]
170543
+  (0.4ms) COMMIT [shard 1342 deploy]
170544
+ Migrating to CreateFeatures (20131206172923)
170545
+  (0.1ms) BEGIN [shard 1342 deploy]
170546
+  (1.7ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 1342 deploy]
170547
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 1342 deploy]
170548
+  (0.4ms) COMMIT [shard 1342 deploy]
170549
+ Migrating to AddParentIdToUsers (20140123154135)
170550
+  (0.1ms) BEGIN [shard 1342 deploy]
170551
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 1342 deploy]
170552
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 1342 deploy]
170553
+  (0.2ms) COMMIT [shard 1342 deploy]
170554
+ Migrating to CreateRoots (20140219183820)
170555
+  (0.1ms) BEGIN [shard 1342 deploy]
170556
+  (1.8ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 1342 deploy]
170557
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 1342 deploy]
170558
+  (0.4ms) COMMIT [shard 1342 deploy]
170559
+  (0.1ms) BEGIN [shard 1340 master]
170560
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 1342 [["name", "switchman_test_shard_1342"]] [shard 1340 master]
170561
+  (0.3ms) COMMIT [shard 1340 master]
170562
+ SQL (0.3ms) DELETE FROM "switchman_shards" [shard 1340 master]
170563
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170564
+  (0.1ms) BEGIN [shard 1340 master]
170565
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1340 master]
170566
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 1340]] [shard 1340 master]
170567
+  (0.3ms) COMMIT [shard 1340 master]
170568
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170569
+  (0.1ms) BEGIN [shard 1340 master]
170570
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 1341], ["name", "switchman_test_shard_1341"]] [shard 1340 master]
170571
+  (0.3ms) COMMIT [shard 1340 master]
170572
+  (0.1ms) BEGIN [shard 1340 master]
170573
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 1342], ["name", "switchman_test_shard_1342"]] [shard 1340 master]
170574
+  (0.2ms) COMMIT [shard 1340 master]
170575
+  (0.1ms) BEGIN [shard 1340 master]
170576
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170577
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170578
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170579
+  (0.1ms) BEGIN [shard 1342 master]
170580
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170581
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.660048"], ["updated_at", "2014-11-19 21:55:43.660048"]] [shard 1341 master]
170582
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170583
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170584
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [shard 1341 master]
170585
+  (0.1ms) ROLLBACK [shard 1342 master]
170586
+  (0.1ms) ROLLBACK [shard 1341 master]
170587
+ SQL (0.4ms) DELETE FROM "switchman_shards" [shard 1340 master]
170588
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170589
+  (0.1ms) BEGIN [shard 1340 master]
170590
+ Switchman::Shard Exists (0.1ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1340 master]
170591
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 1340]] [shard 1340 master]
170592
+  (0.2ms) COMMIT [shard 1340 master]
170593
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170594
+  (0.1ms) BEGIN [shard 1340 master]
170595
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 1341], ["name", "switchman_test_shard_1341"]] [shard 1340 master]
170596
+  (0.3ms) COMMIT [shard 1340 master]
170597
+  (0.1ms) BEGIN [shard 1340 master]
170598
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 1342], ["name", "switchman_test_shard_1342"]] [shard 1340 master]
170599
+  (0.2ms) COMMIT [shard 1340 master]
170600
+  (0.1ms) BEGIN [shard 1340 master]
170601
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170602
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170603
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170604
+  (0.1ms) BEGIN [shard 1342 master]
170605
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170606
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.681554"], ["updated_at", "2014-11-19 21:55:43.681554"]] [shard 1340 master]
170607
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170608
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170609
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.694407"], ["updated_at", "2014-11-19 21:55:43.694407"], ["user_id", 2265]] [shard 1340 master]
170610
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170611
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170612
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.696990"], ["updated_at", "2014-11-19 21:55:43.696990"]] [shard 1341 master]
170613
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170614
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170615
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.699729"], ["updated_at", "2014-11-19 21:55:43.699729"], ["user_id", 2]] [shard 1341 master]
170616
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170617
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170618
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.701899"], ["updated_at", "2014-11-19 21:55:43.701899"]] [shard 1342 master]
170619
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170620
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170621
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170622
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.705440"], ["updated_at", "2014-11-19 21:55:43.705440"], ["user_id", 1]] [shard 1342 master]
170623
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170624
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170625
+  (0.1ms) ROLLBACK [shard 1342 master]
170626
+  (0.1ms) ROLLBACK [shard 1340 master]
170627
+  (0.1ms) BEGIN [shard 1340 master]
170628
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170629
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170630
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170631
+  (0.1ms) BEGIN [shard 1342 master]
170632
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170633
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.712787"], ["updated_at", "2014-11-19 21:55:43.712787"]] [shard 1340 master]
170634
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170635
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170636
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.715491"], ["updated_at", "2014-11-19 21:55:43.715491"], ["user_id", 2266]] [shard 1340 master]
170637
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170638
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170639
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.717348"], ["updated_at", "2014-11-19 21:55:43.717348"]] [shard 1341 master]
170640
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170641
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170642
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.719984"], ["updated_at", "2014-11-19 21:55:43.719984"], ["user_id", 3]] [shard 1341 master]
170643
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170644
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170645
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.721585"], ["updated_at", "2014-11-19 21:55:43.721585"]] [shard 1342 master]
170646
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170647
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170648
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170649
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.724383"], ["updated_at", "2014-11-19 21:55:43.724383"], ["user_id", 2]] [shard 1342 master]
170650
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170651
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170652
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 1341 LIMIT 1 [shard 1340 master]
170653
+  (0.1ms) ROLLBACK [shard 1342 master]
170654
+  (0.1ms) ROLLBACK [shard 1340 master]
170655
+  (0.1ms) BEGIN [shard 1340 master]
170656
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170657
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170658
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170659
+  (0.1ms) BEGIN [shard 1342 master]
170660
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170661
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.732160"], ["updated_at", "2014-11-19 21:55:43.732160"]] [shard 1340 master]
170662
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170663
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170664
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.734654"], ["updated_at", "2014-11-19 21:55:43.734654"], ["user_id", 2267]] [shard 1340 master]
170665
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170666
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170667
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.736448"], ["updated_at", "2014-11-19 21:55:43.736448"]] [shard 1341 master]
170668
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170669
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170670
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.739357"], ["updated_at", "2014-11-19 21:55:43.739357"], ["user_id", 4]] [shard 1341 master]
170671
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170672
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170673
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.741163"], ["updated_at", "2014-11-19 21:55:43.741163"]] [shard 1342 master]
170674
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170675
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170676
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170677
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.744119"], ["updated_at", "2014-11-19 21:55:43.744119"], ["user_id", 3]] [shard 1342 master]
170678
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170679
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170680
+  (0.1ms) ROLLBACK [shard 1342 master]
170681
+  (0.1ms) ROLLBACK [shard 1340 master]
170682
+  (0.1ms) BEGIN [shard 1340 master]
170683
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170684
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170685
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170686
+  (0.1ms) BEGIN [shard 1342 master]
170687
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170688
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.750561"], ["updated_at", "2014-11-19 21:55:43.750561"]] [shard 1340 master]
170689
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170690
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170691
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.753154"], ["updated_at", "2014-11-19 21:55:43.753154"], ["user_id", 2268]] [shard 1340 master]
170692
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170693
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170694
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.754919"], ["updated_at", "2014-11-19 21:55:43.754919"]] [shard 1341 master]
170695
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170696
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170697
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.758074"], ["updated_at", "2014-11-19 21:55:43.758074"], ["user_id", 5]] [shard 1341 master]
170698
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170699
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170700
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.760199"], ["updated_at", "2014-11-19 21:55:43.760199"]] [shard 1342 master]
170701
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170702
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170703
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170704
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.763492"], ["updated_at", "2014-11-19 21:55:43.763492"], ["user_id", 4]] [shard 1342 master]
170705
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170706
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170707
+  (0.1ms) ROLLBACK [shard 1342 master]
170708
+  (0.1ms) ROLLBACK [shard 1340 master]
170709
+  (0.1ms) BEGIN [shard 1340 master]
170710
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170711
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170712
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170713
+  (0.1ms) BEGIN [shard 1342 master]
170714
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170715
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.769695"], ["updated_at", "2014-11-19 21:55:43.769695"]] [shard 1340 master]
170716
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170717
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170718
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.772094"], ["updated_at", "2014-11-19 21:55:43.772094"], ["user_id", 2269]] [shard 1340 master]
170719
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170720
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170721
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.773790"], ["updated_at", "2014-11-19 21:55:43.773790"]] [shard 1341 master]
170722
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170723
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170724
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.776268"], ["updated_at", "2014-11-19 21:55:43.776268"], ["user_id", 6]] [shard 1341 master]
170725
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170726
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170727
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.778022"], ["updated_at", "2014-11-19 21:55:43.778022"]] [shard 1342 master]
170728
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170729
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170730
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170731
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.781642"], ["updated_at", "2014-11-19 21:55:43.781642"], ["user_id", 5]] [shard 1342 master]
170732
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170733
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170734
+  (0.1ms) ROLLBACK [shard 1342 master]
170735
+  (0.1ms) ROLLBACK [shard 1340 master]
170736
+  (0.1ms) BEGIN [shard 1340 master]
170737
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170738
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170739
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170740
+  (0.1ms) BEGIN [shard 1342 master]
170741
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170742
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.788700"], ["updated_at", "2014-11-19 21:55:43.788700"]] [shard 1340 master]
170743
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170744
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170745
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.791099"], ["updated_at", "2014-11-19 21:55:43.791099"], ["user_id", 2270]] [shard 1340 master]
170746
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170747
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170748
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.792758"], ["updated_at", "2014-11-19 21:55:43.792758"]] [shard 1341 master]
170749
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170750
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170751
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.795923"], ["updated_at", "2014-11-19 21:55:43.795923"], ["user_id", 7]] [shard 1341 master]
170752
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170753
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170754
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.797519"], ["updated_at", "2014-11-19 21:55:43.797519"]] [shard 1342 master]
170755
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170756
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170757
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170758
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.800757"], ["updated_at", "2014-11-19 21:55:43.800757"], ["user_id", 6]] [shard 1342 master]
170759
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170760
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170761
+  (0.1ms) ROLLBACK [shard 1342 master]
170762
+  (0.1ms) ROLLBACK [shard 1340 master]
170763
+  (0.2ms) BEGIN [shard 1340 master]
170764
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170765
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170766
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170767
+  (0.1ms) BEGIN [shard 1342 master]
170768
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170769
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.808089"], ["updated_at", "2014-11-19 21:55:43.808089"]] [shard 1340 master]
170770
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170771
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170772
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.810812"], ["updated_at", "2014-11-19 21:55:43.810812"], ["user_id", 2271]] [shard 1340 master]
170773
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170774
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170775
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.812901"], ["updated_at", "2014-11-19 21:55:43.812901"]] [shard 1341 master]
170776
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170777
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170778
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.815947"], ["updated_at", "2014-11-19 21:55:43.815947"], ["user_id", 8]] [shard 1341 master]
170779
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170780
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170781
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.817727"], ["updated_at", "2014-11-19 21:55:43.817727"]] [shard 1342 master]
170782
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170783
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170784
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170785
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.820676"], ["updated_at", "2014-11-19 21:55:43.820676"], ["user_id", 7]] [shard 1342 master]
170786
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170787
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170788
+  (0.1ms) ROLLBACK [shard 1342 master]
170789
+  (0.1ms) ROLLBACK [shard 1340 master]
170790
+  (0.1ms) BEGIN [shard 1340 master]
170791
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170792
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170793
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170794
+  (0.1ms) BEGIN [shard 1342 master]
170795
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170796
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.826732"], ["updated_at", "2014-11-19 21:55:43.826732"]] [shard 1340 master]
170797
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170798
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170799
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.829151"], ["updated_at", "2014-11-19 21:55:43.829151"], ["user_id", 2272]] [shard 1340 master]
170800
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170801
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170802
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.830885"], ["updated_at", "2014-11-19 21:55:43.830885"]] [shard 1341 master]
170803
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170804
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170805
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.833359"], ["updated_at", "2014-11-19 21:55:43.833359"], ["user_id", 9]] [shard 1341 master]
170806
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170807
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170808
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.834908"], ["updated_at", "2014-11-19 21:55:43.834908"]] [shard 1342 master]
170809
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170810
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170811
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170812
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.837495"], ["updated_at", "2014-11-19 21:55:43.837495"], ["user_id", 8]] [shard 1342 master]
170813
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170814
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170815
+  (0.1ms) ROLLBACK [shard 1342 master]
170816
+  (0.1ms) ROLLBACK [shard 1340 master]
170817
+  (0.1ms) BEGIN [shard 1340 master]
170818
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170819
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170820
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170821
+  (0.1ms) BEGIN [shard 1342 master]
170822
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170823
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.843774"], ["updated_at", "2014-11-19 21:55:43.843774"]] [shard 1340 master]
170824
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170825
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170826
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.846181"], ["updated_at", "2014-11-19 21:55:43.846181"], ["user_id", 2273]] [shard 1340 master]
170827
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170828
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170829
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.847905"], ["updated_at", "2014-11-19 21:55:43.847905"]] [shard 1341 master]
170830
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170831
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170832
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.850322"], ["updated_at", "2014-11-19 21:55:43.850322"], ["user_id", 10]] [shard 1341 master]
170833
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170834
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170835
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.851915"], ["updated_at", "2014-11-19 21:55:43.851915"]] [shard 1342 master]
170836
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170837
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170838
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170839
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.854467"], ["updated_at", "2014-11-19 21:55:43.854467"], ["user_id", 9]] [shard 1342 master]
170840
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170841
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170842
+  (0.1ms) ROLLBACK [shard 1342 master]
170843
+  (0.1ms) ROLLBACK [shard 1340 master]
170844
+  (0.1ms) BEGIN [shard 1340 master]
170845
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170846
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170847
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170848
+  (0.1ms) BEGIN [shard 1342 master]
170849
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170850
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.860435"], ["updated_at", "2014-11-19 21:55:43.860435"]] [shard 1340 master]
170851
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170852
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170853
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.862549"], ["updated_at", "2014-11-19 21:55:43.862549"], ["user_id", 2274]] [shard 1340 master]
170854
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170855
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170856
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.864192"], ["updated_at", "2014-11-19 21:55:43.864192"]] [shard 1341 master]
170857
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170858
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170859
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.866630"], ["updated_at", "2014-11-19 21:55:43.866630"], ["user_id", 11]] [shard 1341 master]
170860
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170861
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170862
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.868191"], ["updated_at", "2014-11-19 21:55:43.868191"]] [shard 1342 master]
170863
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170864
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170865
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170866
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.871382"], ["updated_at", "2014-11-19 21:55:43.871382"], ["user_id", 10]] [shard 1342 master]
170867
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170868
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170869
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170870
+ SQL (0.4ms) INSERT INTO "mirror_users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.873622"], ["updated_at", "2014-11-19 21:55:43.873622"]] [shard 1341 master]
170871
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170872
+  (0.1ms) ROLLBACK [shard 1342 master]
170873
+  (0.1ms) ROLLBACK [shard 1341 master]
170874
+  (0.1ms) BEGIN [shard 1340 master]
170875
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170876
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170877
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170878
+  (0.1ms) BEGIN [shard 1342 master]
170879
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170880
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.883565"], ["updated_at", "2014-11-19 21:55:43.883565"]] [shard 1340 master]
170881
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170882
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170883
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.886595"], ["updated_at", "2014-11-19 21:55:43.886595"], ["user_id", 2275]] [shard 1340 master]
170884
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170885
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170886
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.888457"], ["updated_at", "2014-11-19 21:55:43.888457"]] [shard 1341 master]
170887
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170888
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170889
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.891559"], ["updated_at", "2014-11-19 21:55:43.891559"], ["user_id", 12]] [shard 1341 master]
170890
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170891
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170892
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.893085"], ["updated_at", "2014-11-19 21:55:43.893085"]] [shard 1342 master]
170893
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170894
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170895
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170896
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.895725"], ["updated_at", "2014-11-19 21:55:43.895725"], ["user_id", 11]] [shard 1342 master]
170897
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170898
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170899
+  (0.1ms) ROLLBACK [shard 1342 master]
170900
+  (0.1ms) ROLLBACK [shard 1340 master]
170901
+  (0.1ms) BEGIN [shard 1340 master]
170902
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170903
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170904
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170905
+  (0.1ms) BEGIN [shard 1342 master]
170906
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170907
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.901429"], ["updated_at", "2014-11-19 21:55:43.901429"]] [shard 1340 master]
170908
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170909
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170910
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.903715"], ["updated_at", "2014-11-19 21:55:43.903715"], ["user_id", 2276]] [shard 1340 master]
170911
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170912
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170913
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.905342"], ["updated_at", "2014-11-19 21:55:43.905342"]] [shard 1341 master]
170914
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170915
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170916
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.907828"], ["updated_at", "2014-11-19 21:55:43.907828"], ["user_id", 13]] [shard 1341 master]
170917
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170918
+  (0.2ms) SAVEPOINT active_record_1 [shard 1342 master]
170919
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.909671"], ["updated_at", "2014-11-19 21:55:43.909671"]] [shard 1342 master]
170920
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170921
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170922
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170923
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.913171"], ["updated_at", "2014-11-19 21:55:43.913171"], ["user_id", 12]] [shard 1342 master]
170924
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170925
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170926
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170927
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "parent_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.916568"], ["parent_id", 2276], ["updated_at", "2014-11-19 21:55:43.916568"]] [shard 1340 master]
170928
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170929
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170930
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "parent_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.919426"], ["parent_id", 2277], ["updated_at", "2014-11-19 21:55:43.919426"]] [shard 1340 master]
170931
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170932
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2277]] [shard 1340 master]
170933
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2276]] [shard 1340 master]
170934
+ 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", 2276]] [shard 1340 master]
170935
+  (0.1ms) ROLLBACK [shard 1342 master]
170936
+  (0.2ms) ROLLBACK [shard 1340 master]
170937
+  (0.1ms) BEGIN [shard 1340 master]
170938
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170939
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170940
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170941
+  (0.1ms) BEGIN [shard 1342 master]
170942
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170943
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.933243"], ["updated_at", "2014-11-19 21:55:43.933243"]] [shard 1340 master]
170944
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170945
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170946
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.935635"], ["updated_at", "2014-11-19 21:55:43.935635"], ["user_id", 2279]] [shard 1340 master]
170947
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170948
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170949
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.937291"], ["updated_at", "2014-11-19 21:55:43.937291"]] [shard 1341 master]
170950
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170951
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170952
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.939829"], ["updated_at", "2014-11-19 21:55:43.939829"], ["user_id", 14]] [shard 1341 master]
170953
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170954
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170955
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.941342"], ["updated_at", "2014-11-19 21:55:43.941342"]] [shard 1342 master]
170956
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170957
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170958
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170959
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.944034"], ["updated_at", "2014-11-19 21:55:43.944034"], ["user_id", 13]] [shard 1342 master]
170960
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170961
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170962
+  (0.1ms) ROLLBACK [shard 1342 master]
170963
+  (0.1ms) ROLLBACK [shard 1340 master]
170964
+  (0.1ms) BEGIN [shard 1340 master]
170965
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170966
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170967
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170968
+  (0.1ms) BEGIN [shard 1342 master]
170969
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170970
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.949343"], ["updated_at", "2014-11-19 21:55:43.949343"]] [shard 1340 master]
170971
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170972
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170973
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.951425"], ["updated_at", "2014-11-19 21:55:43.951425"], ["user_id", 2280]] [shard 1340 master]
170974
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170975
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
170976
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.953100"], ["updated_at", "2014-11-19 21:55:43.953100"]] [shard 1341 master]
170977
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170978
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170979
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.955508"], ["updated_at", "2014-11-19 21:55:43.955508"], ["user_id", 15]] [shard 1341 master]
170980
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
170981
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170982
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.957014"], ["updated_at", "2014-11-19 21:55:43.957014"]] [shard 1342 master]
170983
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170984
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170985
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
170986
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.959912"], ["updated_at", "2014-11-19 21:55:43.959912"], ["user_id", 14]] [shard 1342 master]
170987
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
170988
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170989
+  (0.1ms) ROLLBACK [shard 1342 master]
170990
+  (0.1ms) ROLLBACK [shard 1340 master]
170991
+  (0.1ms) BEGIN [shard 1340 master]
170992
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
170993
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
170994
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
170995
+  (0.1ms) BEGIN [shard 1342 master]
170996
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
170997
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.967409"], ["updated_at", "2014-11-19 21:55:43.967409"]] [shard 1340 master]
170998
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
170999
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171000
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.970537"], ["updated_at", "2014-11-19 21:55:43.970537"], ["user_id", 2281]] [shard 1340 master]
171001
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171002
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171003
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.972713"], ["updated_at", "2014-11-19 21:55:43.972713"]] [shard 1341 master]
171004
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171005
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171006
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.975832"], ["updated_at", "2014-11-19 21:55:43.975832"], ["user_id", 16]] [shard 1341 master]
171007
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171008
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171009
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.977504"], ["updated_at", "2014-11-19 21:55:43.977504"]] [shard 1342 master]
171010
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171011
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171012
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171013
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.980447"], ["updated_at", "2014-11-19 21:55:43.980447"], ["user_id", 15]] [shard 1342 master]
171014
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171015
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171016
+  (0.1ms) ROLLBACK [shard 1342 master]
171017
+  (0.1ms) ROLLBACK [shard 1340 master]
171018
+  (0.1ms) BEGIN [shard 1340 master]
171019
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171020
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171021
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171022
+  (0.1ms) BEGIN [shard 1342 master]
171023
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171024
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.986530"], ["updated_at", "2014-11-19 21:55:43.986530"]] [shard 1340 master]
171025
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171026
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171027
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.988752"], ["updated_at", "2014-11-19 21:55:43.988752"], ["user_id", 2282]] [shard 1340 master]
171028
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171029
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171030
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.990809"], ["updated_at", "2014-11-19 21:55:43.990809"]] [shard 1341 master]
171031
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171032
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171033
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.994411"], ["updated_at", "2014-11-19 21:55:43.994411"], ["user_id", 17]] [shard 1341 master]
171034
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171035
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171036
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:43.996429"], ["updated_at", "2014-11-19 21:55:43.996429"]] [shard 1342 master]
171037
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171038
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171039
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171040
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:43.999812"], ["updated_at", "2014-11-19 21:55:43.999812"], ["user_id", 16]] [shard 1342 master]
171041
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171042
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171043
+  (0.1ms) ROLLBACK [shard 1342 master]
171044
+  (0.1ms) ROLLBACK [shard 1340 master]
171045
+ SQL (0.4ms) DELETE FROM "switchman_shards" [shard 1340 master]
171046
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171047
+  (0.1ms) BEGIN [shard 1340 master]
171048
+  (0.1ms) ROLLBACK [shard 1340 master]
171049
+  (0.1ms) BEGIN [shard 1340 master]
171050
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1340 master]
171051
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 1340]] [shard 1340 master]
171052
+  (0.3ms) COMMIT [shard 1340 master]
171053
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171054
+  (0.1ms) BEGIN [shard 1340 master]
171055
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 1341], ["name", "switchman_test_shard_1341"]] [shard 1340 master]
171056
+  (0.3ms) COMMIT [shard 1340 master]
171057
+  (0.1ms) BEGIN [shard 1340 master]
171058
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 1342], ["name", "switchman_test_shard_1342"]] [shard 1340 master]
171059
+  (0.3ms) COMMIT [shard 1340 master]
171060
+  (0.1ms) BEGIN [shard 1340 master]
171061
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171062
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171063
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171064
+  (0.1ms) BEGIN [shard 1342 master]
171065
+  (0.1ms) ROLLBACK [shard 1342 master]
171066
+  (0.1ms) ROLLBACK [shard 1340 master]
171067
+ SQL (0.3ms) DELETE FROM "switchman_shards" [shard 1340 master]
171068
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171069
+  (0.1ms) BEGIN [shard 1340 master]
171070
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1340 master]
171071
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 1340]] [shard 1340 master]
171072
+  (0.3ms) COMMIT [shard 1340 master]
171073
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171074
+  (0.1ms) BEGIN [shard 1340 master]
171075
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 1341], ["name", "switchman_test_shard_1341"]] [shard 1340 master]
171076
+  (0.3ms) COMMIT [shard 1340 master]
171077
+  (0.1ms) BEGIN [shard 1340 master]
171078
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 1342], ["name", "switchman_test_shard_1342"]] [shard 1340 master]
171079
+  (0.3ms) COMMIT [shard 1340 master]
171080
+  (0.1ms) BEGIN [shard 1340 master]
171081
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171082
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171083
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171084
+  (0.1ms) BEGIN [shard 1342 master]
171085
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171086
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.030345"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.030345"]] [shard 1341 master]
171087
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171088
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171089
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.032135"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.032135"]] [shard 1342 master]
171090
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171091
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171092
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.034415"], ["updated_at", "2014-11-19 21:55:44.034415"], ["user_id", 18], ["value", 1]] [shard 1341 master]
171093
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171094
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 1342 LIMIT 1 [shard 1340 master]
171095
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171096
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.038937"], ["updated_at", "2014-11-19 21:55:44.038937"], ["user_id", 13420000000000017], ["value", 3]] [shard 1341 master]
171097
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171098
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 1341 LIMIT 1 [shard 1340 master]
171099
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171100
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.042530"], ["updated_at", "2014-11-19 21:55:44.042530"], ["user_id", 13410000000000018], ["value", 2]] [shard 1342 master]
171101
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171102
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171103
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.044274"], ["updated_at", "2014-11-19 21:55:44.044274"], ["user_id", 17], ["value", 4]] [shard 1342 master]
171104
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171105
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171106
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.045779"], ["updated_at", "2014-11-19 21:55:44.045779"], ["user_id", 17], ["value", 5]] [shard 1342 master]
171107
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171108
+  (0.3ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171109
+  (0.5ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171110
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171111
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171112
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171113
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171114
+  (0.1ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1341 master]
171115
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (18) [shard 1341 master]
171116
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (17) [shard 1342 master]
171117
+  (0.2ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1342 master]
171118
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (17) [shard 1342 master]
171119
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (18) [shard 1341 master]
171120
+  (0.1ms) ROLLBACK [shard 1342 master]
171121
+  (0.1ms) ROLLBACK [shard 1341 master]
171122
+  (0.1ms) BEGIN [shard 1340 master]
171123
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171124
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171125
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171126
+  (0.1ms) BEGIN [shard 1342 master]
171127
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171128
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.062736"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.062736"]] [shard 1341 master]
171129
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171130
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171131
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.064394"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.064394"]] [shard 1342 master]
171132
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171133
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171134
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.065975"], ["updated_at", "2014-11-19 21:55:44.065975"], ["user_id", 19], ["value", 1]] [shard 1341 master]
171135
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171136
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171137
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.068068"], ["updated_at", "2014-11-19 21:55:44.068068"], ["user_id", 13420000000000018], ["value", 3]] [shard 1341 master]
171138
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171139
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171140
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.070923"], ["updated_at", "2014-11-19 21:55:44.070923"], ["user_id", 13410000000000019], ["value", 2]] [shard 1342 master]
171141
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171142
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171143
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.073125"], ["updated_at", "2014-11-19 21:55:44.073125"], ["user_id", 18], ["value", 4]] [shard 1342 master]
171144
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171145
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171146
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.075648"], ["updated_at", "2014-11-19 21:55:44.075648"], ["user_id", 18], ["value", 5]] [shard 1342 master]
171147
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171148
+  (0.4ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171149
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171150
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171151
+  (0.3ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171152
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171153
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171154
+  (0.1ms) SELECT MIN("appendages"."value") AS minimum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1341 master]
171155
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (19) [shard 1341 master]
171156
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (18) [shard 1342 master]
171157
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1342 master]
171158
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (18) [shard 1342 master]
171159
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (19) [shard 1341 master]
171160
+  (0.1ms) ROLLBACK [shard 1342 master]
171161
+  (0.1ms) ROLLBACK [shard 1341 master]
171162
+  (0.1ms) BEGIN [shard 1340 master]
171163
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171164
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171165
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171166
+  (0.1ms) BEGIN [shard 1342 master]
171167
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171168
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.093662"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.093662"]] [shard 1341 master]
171169
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171170
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171171
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.095324"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.095324"]] [shard 1342 master]
171172
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171173
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171174
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.097433"], ["updated_at", "2014-11-19 21:55:44.097433"], ["user_id", 20], ["value", 1]] [shard 1341 master]
171175
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171176
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171177
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.100268"], ["updated_at", "2014-11-19 21:55:44.100268"], ["user_id", 13420000000000019], ["value", 3]] [shard 1341 master]
171178
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171179
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171180
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.102284"], ["updated_at", "2014-11-19 21:55:44.102284"], ["user_id", 13410000000000020], ["value", 2]] [shard 1342 master]
171181
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171182
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171183
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.103800"], ["updated_at", "2014-11-19 21:55:44.103800"], ["user_id", 19], ["value", 4]] [shard 1342 master]
171184
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171185
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171186
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.105267"], ["updated_at", "2014-11-19 21:55:44.105267"], ["user_id", 19], ["value", 5]] [shard 1342 master]
171187
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171188
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171189
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171190
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171191
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171192
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171193
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171194
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1341 master]
171195
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (20) [shard 1341 master]
171196
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (19) [shard 1342 master]
171197
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1342 master]
171198
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (19) [shard 1342 master]
171199
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (20) [shard 1341 master]
171200
+  (0.1ms) ROLLBACK [shard 1342 master]
171201
+  (0.1ms) ROLLBACK [shard 1341 master]
171202
+  (0.1ms) BEGIN [shard 1340 master]
171203
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171204
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171205
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171206
+  (0.1ms) BEGIN [shard 1342 master]
171207
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171208
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.121712"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.121712"]] [shard 1341 master]
171209
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171210
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171211
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.123322"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.123322"]] [shard 1342 master]
171212
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171213
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171214
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.125177"], ["updated_at", "2014-11-19 21:55:44.125177"], ["user_id", 21], ["value", 1]] [shard 1341 master]
171215
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171216
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171217
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.127650"], ["updated_at", "2014-11-19 21:55:44.127650"], ["user_id", 13420000000000020], ["value", 3]] [shard 1341 master]
171218
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171219
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171220
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.129830"], ["updated_at", "2014-11-19 21:55:44.129830"], ["user_id", 13410000000000021], ["value", 2]] [shard 1342 master]
171221
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171222
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171223
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.131538"], ["updated_at", "2014-11-19 21:55:44.131538"], ["user_id", 20], ["value", 4]] [shard 1342 master]
171224
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171225
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171226
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.133142"], ["updated_at", "2014-11-19 21:55:44.133142"], ["user_id", 20], ["value", 5]] [shard 1342 master]
171227
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171228
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171229
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.135494"], ["updated_at", "2014-11-19 21:55:44.135494"], ["user_id", 21]] [shard 1341 master]
171230
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171231
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171232
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:44.137055"], ["updated_at", "2014-11-19 21:55:44.137055"]] [shard 1341 master]
171233
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171234
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171235
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.139253"], ["updated_at", "2014-11-19 21:55:44.139253"], ["user_id", 22]] [shard 1341 master]
171236
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171237
+  (0.3ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY user_id ORDER BY COUNT(*) DESC LIMIT 1 [shard 1341 master]
171238
+  (0.1ms) ROLLBACK [shard 1342 master]
171239
+  (0.1ms) ROLLBACK [shard 1341 master]
171240
+  (0.1ms) BEGIN [shard 1340 master]
171241
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171242
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171243
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171244
+  (0.1ms) BEGIN [shard 1342 master]
171245
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171246
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.146452"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.146452"]] [shard 1341 master]
171247
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171248
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171249
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.148457"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.148457"]] [shard 1342 master]
171250
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171251
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171252
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.150134"], ["updated_at", "2014-11-19 21:55:44.150134"], ["user_id", 23], ["value", 1]] [shard 1341 master]
171253
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171254
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171255
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.152116"], ["updated_at", "2014-11-19 21:55:44.152116"], ["user_id", 13420000000000021], ["value", 3]] [shard 1341 master]
171256
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171257
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171258
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.154024"], ["updated_at", "2014-11-19 21:55:44.154024"], ["user_id", 13410000000000023], ["value", 2]] [shard 1342 master]
171259
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171260
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171261
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.155769"], ["updated_at", "2014-11-19 21:55:44.155769"], ["user_id", 21], ["value", 4]] [shard 1342 master]
171262
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171263
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171264
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.157226"], ["updated_at", "2014-11-19 21:55:44.157226"], ["user_id", 21], ["value", 5]] [shard 1342 master]
171265
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171266
+  (0.3ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171267
+  (0.3ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171268
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171269
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171270
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1341 master]
171271
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [shard 1342 master]
171272
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1341 master]
171273
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (23) [shard 1341 master]
171274
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (21) [shard 1342 master]
171275
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1342 master]
171276
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (21) [shard 1342 master]
171277
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (23) [shard 1341 master]
171278
+  (0.1ms) ROLLBACK [shard 1342 master]
171279
+  (0.2ms) ROLLBACK [shard 1341 master]
171280
+  (0.1ms) BEGIN [shard 1340 master]
171281
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171282
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171283
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171284
+  (0.1ms) BEGIN [shard 1342 master]
171285
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171286
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.173641"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.173641"]] [shard 1341 master]
171287
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171288
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171289
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.175699"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.175699"]] [shard 1342 master]
171290
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171291
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171292
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.177439"], ["updated_at", "2014-11-19 21:55:44.177439"], ["user_id", 24], ["value", 1]] [shard 1341 master]
171293
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171294
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171295
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.179462"], ["updated_at", "2014-11-19 21:55:44.179462"], ["user_id", 13420000000000022], ["value", 3]] [shard 1341 master]
171296
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171297
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171298
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.181509"], ["updated_at", "2014-11-19 21:55:44.181509"], ["user_id", 13410000000000024], ["value", 2]] [shard 1342 master]
171299
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171300
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171301
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.183237"], ["updated_at", "2014-11-19 21:55:44.183237"], ["user_id", 22], ["value", 4]] [shard 1342 master]
171302
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171303
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171304
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.185007"], ["updated_at", "2014-11-19 21:55:44.185007"], ["user_id", 22], ["value", 5]] [shard 1342 master]
171305
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171306
+  (0.4ms) 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 [shard 1341 master]
171307
+  (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 [shard 1342 master]
171308
+  (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 [shard 1341 master]
171309
+  (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 [shard 1342 master]
171310
+  (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 [shard 1341 master]
171311
+  (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 [shard 1342 master]
171312
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1341 master]
171313
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (24) [shard 1341 master]
171314
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (22) [shard 1342 master]
171315
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, user_id AS user_id FROM "appendages" GROUP BY user_id [shard 1342 master]
171316
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (22) [shard 1342 master]
171317
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (24) [shard 1341 master]
171318
+  (0.1ms) ROLLBACK [shard 1342 master]
171319
+  (0.1ms) ROLLBACK [shard 1341 master]
171320
+  (0.1ms) BEGIN [shard 1340 master]
171321
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171322
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171323
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171324
+  (0.1ms) BEGIN [shard 1342 master]
171325
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171326
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.203686"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.203686"]] [shard 1341 master]
171327
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171328
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171329
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.206262"], ["updated_at", "2014-11-19 21:55:44.206262"], ["user_id", 25], ["value", 1]] [shard 1341 master]
171330
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171331
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171332
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.208716"], ["updated_at", "2014-11-19 21:55:44.208716"], ["user_id", 25], ["value", 2]] [shard 1341 master]
171333
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171334
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171335
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.210974"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.210974"]] [shard 1342 master]
171336
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171337
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171338
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.213638"], ["updated_at", "2014-11-19 21:55:44.213638"], ["user_id", 23], ["value", 3]] [shard 1342 master]
171339
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171340
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171341
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.215649"], ["updated_at", "2014-11-19 21:55:44.215649"], ["user_id", 23], ["value", 4]] [shard 1342 master]
171342
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171343
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171344
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.217793"], ["updated_at", "2014-11-19 21:55:44.217793"], ["user_id", 23], ["value", 5]] [shard 1342 master]
171345
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171346
+  (0.2ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 25]] [shard 1341 master]
171347
+  (0.2ms) SELECT COUNT(*) FROM "appendages" [shard 1341 master]
171348
+  (0.2ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 23]] [shard 1342 master]
171349
+  (0.1ms) SELECT COUNT(*) FROM "appendages" [shard 1342 master]
171350
+  (0.3ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."id" IN (31, 32) [shard 1341 master]
171351
+  (0.3ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."id" IN (35, 36, 37) [shard 1342 master]
171352
+  (0.1ms) ROLLBACK [shard 1342 master]
171353
+  (0.1ms) ROLLBACK [shard 1341 master]
171354
+  (0.1ms) BEGIN [shard 1340 master]
171355
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171356
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171357
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171358
+  (0.1ms) BEGIN [shard 1342 master]
171359
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171360
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.232688"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.232688"]] [shard 1341 master]
171361
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171362
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171363
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.235917"], ["updated_at", "2014-11-19 21:55:44.235917"], ["user_id", 26], ["value", 1]] [shard 1341 master]
171364
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171365
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171366
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.238037"], ["updated_at", "2014-11-19 21:55:44.238037"], ["user_id", 26], ["value", 2]] [shard 1341 master]
171367
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171368
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171369
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.239763"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.239763"]] [shard 1342 master]
171370
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171371
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171372
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.242600"], ["updated_at", "2014-11-19 21:55:44.242600"], ["user_id", 24], ["value", 3]] [shard 1342 master]
171373
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171374
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171375
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.244816"], ["updated_at", "2014-11-19 21:55:44.244816"], ["user_id", 24], ["value", 4]] [shard 1342 master]
171376
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171377
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171378
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.246886"], ["updated_at", "2014-11-19 21:55:44.246886"], ["user_id", 24], ["value", 5]] [shard 1342 master]
171379
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171380
+  (0.3ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 26]] [shard 1341 master]
171381
+  (0.2ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" [shard 1341 master]
171382
+  (0.2ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 24]] [shard 1342 master]
171383
+  (0.2ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" [shard 1342 master]
171384
+  (0.3ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."id" IN (33, 34) [shard 1341 master]
171385
+  (0.4ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."id" IN (38, 39, 40) [shard 1342 master]
171386
+  (0.1ms) ROLLBACK [shard 1342 master]
171387
+  (0.1ms) ROLLBACK [shard 1341 master]
171388
+  (0.1ms) BEGIN [shard 1340 master]
171389
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171390
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171391
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171392
+  (0.1ms) BEGIN [shard 1342 master]
171393
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171394
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.259348"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.259348"]] [shard 1341 master]
171395
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171396
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171397
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.262449"], ["updated_at", "2014-11-19 21:55:44.262449"], ["user_id", 27], ["value", 1]] [shard 1341 master]
171398
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171399
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171400
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.264311"], ["updated_at", "2014-11-19 21:55:44.264311"], ["user_id", 27], ["value", 2]] [shard 1341 master]
171401
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171402
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171403
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.265925"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.265925"]] [shard 1342 master]
171404
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171405
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171406
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.268260"], ["updated_at", "2014-11-19 21:55:44.268260"], ["user_id", 25], ["value", 3]] [shard 1342 master]
171407
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171408
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171409
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.270293"], ["updated_at", "2014-11-19 21:55:44.270293"], ["user_id", 25], ["value", 4]] [shard 1342 master]
171410
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171411
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171412
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.272178"], ["updated_at", "2014-11-19 21:55:44.272178"], ["user_id", 25], ["value", 5]] [shard 1342 master]
171413
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171414
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 27]] [shard 1341 master]
171415
+  (0.1ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" [shard 1341 master]
171416
+  (0.1ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 25]] [shard 1342 master]
171417
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" [shard 1342 master]
171418
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."id" IN (35, 36) [shard 1341 master]
171419
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."id" IN (41, 42, 43) [shard 1342 master]
171420
+  (0.1ms) ROLLBACK [shard 1342 master]
171421
+  (0.1ms) ROLLBACK [shard 1341 master]
171422
+  (0.1ms) BEGIN [shard 1340 master]
171423
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171424
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171425
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171426
+  (0.1ms) BEGIN [shard 1342 master]
171427
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171428
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.284432"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.284432"]] [shard 1341 master]
171429
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171430
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171431
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.287183"], ["updated_at", "2014-11-19 21:55:44.287183"], ["user_id", 28], ["value", 1]] [shard 1341 master]
171432
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171433
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171434
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.289663"], ["updated_at", "2014-11-19 21:55:44.289663"], ["user_id", 28], ["value", 2]] [shard 1341 master]
171435
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171436
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171437
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.291381"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.291381"]] [shard 1342 master]
171438
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171439
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171440
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.293851"], ["updated_at", "2014-11-19 21:55:44.293851"], ["user_id", 26], ["value", 3]] [shard 1342 master]
171441
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171442
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171443
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.295826"], ["updated_at", "2014-11-19 21:55:44.295826"], ["user_id", 26], ["value", 4]] [shard 1342 master]
171444
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171445
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171446
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.297646"], ["updated_at", "2014-11-19 21:55:44.297646"], ["user_id", 26], ["value", 5]] [shard 1342 master]
171447
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171448
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 28]] [shard 1341 master]
171449
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" [shard 1341 master]
171450
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 26]] [shard 1342 master]
171451
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" [shard 1342 master]
171452
+  (0.3ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."id" IN (37, 38) [shard 1341 master]
171453
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."id" IN (44, 45, 46) [shard 1342 master]
171454
+  (0.1ms) ROLLBACK [shard 1342 master]
171455
+  (0.1ms) ROLLBACK [shard 1341 master]
171456
+  (0.1ms) BEGIN [shard 1340 master]
171457
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171458
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171459
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171460
+  (0.1ms) BEGIN [shard 1342 master]
171461
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171462
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.308836"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.308836"]] [shard 1341 master]
171463
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171464
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171465
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.311311"], ["updated_at", "2014-11-19 21:55:44.311311"], ["user_id", 29], ["value", 1]] [shard 1341 master]
171466
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171467
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171468
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.313146"], ["updated_at", "2014-11-19 21:55:44.313146"], ["user_id", 29], ["value", 2]] [shard 1341 master]
171469
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171470
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171471
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.314660"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.314660"]] [shard 1342 master]
171472
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171473
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171474
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.316917"], ["updated_at", "2014-11-19 21:55:44.316917"], ["user_id", 27], ["value", 3]] [shard 1342 master]
171475
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171476
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171477
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.318766"], ["updated_at", "2014-11-19 21:55:44.318766"], ["user_id", 27], ["value", 4]] [shard 1342 master]
171478
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171479
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171480
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2014-11-19 21:55:44.320722"], ["updated_at", "2014-11-19 21:55:44.320722"], ["user_id", 27], ["value", 5]] [shard 1342 master]
171481
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171482
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 29]] [shard 1341 master]
171483
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" [shard 1341 master]
171484
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 27]] [shard 1342 master]
171485
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" [shard 1342 master]
171486
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."id" IN (39, 40) [shard 1341 master]
171487
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."id" IN (47, 48, 49) [shard 1342 master]
171488
+  (0.1ms) ROLLBACK [shard 1342 master]
171489
+  (0.1ms) ROLLBACK [shard 1341 master]
171490
+  (0.1ms) BEGIN [shard 1340 master]
171491
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171492
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171493
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171494
+  (0.3ms) BEGIN [shard 1342 master]
171495
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171496
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.332631"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.332631"]] [shard 1341 master]
171497
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171498
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171499
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.335565"], ["updated_at", "2014-11-19 21:55:44.335565"], ["user_id", 30]] [shard 1341 master]
171500
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171501
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171502
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.337493"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.337493"]] [shard 1342 master]
171503
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171504
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171505
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.339831"], ["updated_at", "2014-11-19 21:55:44.339831"], ["user_id", 28]] [shard 1342 master]
171506
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171507
+  (0.3ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 41 [shard 1341 master]
171508
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 50 [shard 1342 master]
171509
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 41 [shard 1341 master]
171510
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 50 [shard 1342 master]
171511
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 41 [shard 1341 master]
171512
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 50 [shard 1342 master]
171513
+  (0.1ms) ROLLBACK [shard 1342 master]
171514
+  (0.1ms) ROLLBACK [shard 1341 master]
171515
+  (0.1ms) BEGIN [shard 1340 master]
171516
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171517
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171518
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171519
+  (0.1ms) BEGIN [shard 1342 master]
171520
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171521
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.351973"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.351973"]] [shard 1341 master]
171522
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171523
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171524
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.354627"], ["updated_at", "2014-11-19 21:55:44.354627"], ["user_id", 31]] [shard 1341 master]
171525
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171526
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171527
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.356423"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.356423"]] [shard 1342 master]
171528
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171529
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171530
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.358779"], ["updated_at", "2014-11-19 21:55:44.358779"], ["user_id", 29]] [shard 1342 master]
171531
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171532
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 42 [shard 1341 master]
171533
+  (0.4ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 51 [shard 1342 master]
171534
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 42 [shard 1341 master]
171535
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 51 [shard 1342 master]
171536
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 42 [shard 1341 master]
171537
+  (0.1ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 51 [shard 1342 master]
171538
+  (0.1ms) ROLLBACK [shard 1342 master]
171539
+  (0.1ms) ROLLBACK [shard 1341 master]
171540
+  (0.1ms) BEGIN [shard 1340 master]
171541
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171542
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171543
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171544
+  (0.1ms) BEGIN [shard 1342 master]
171545
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171546
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.370002"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.370002"]] [shard 1341 master]
171547
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171548
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171549
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.373065"], ["updated_at", "2014-11-19 21:55:44.373065"], ["user_id", 32]] [shard 1341 master]
171550
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171551
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171552
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.374895"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.374895"]] [shard 1342 master]
171553
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171554
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171555
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.377740"], ["updated_at", "2014-11-19 21:55:44.377740"], ["user_id", 30]] [shard 1342 master]
171556
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171557
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171558
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.379839"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.379839"]] [shard 1340 master]
171559
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171560
+  (0.4ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (2283) [shard 1340 master]
171561
+  (0.2ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (32) [shard 1341 master]
171562
+  (0.3ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (30) [shard 1342 master]
171563
+  (0.1ms) ROLLBACK [shard 1342 master]
171564
+  (0.1ms) ROLLBACK [shard 1341 master]
171565
+  (0.1ms) BEGIN [shard 1340 master]
171566
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171567
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171568
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171569
+  (0.1ms) BEGIN [shard 1342 master]
171570
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171571
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.390483"], ["name", "user1"], ["updated_at", "2014-11-19 21:55:44.390483"]] [shard 1341 master]
171572
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171573
+  (0.1ms) SAVEPOINT active_record_1 [shard 1341 master]
171574
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.393181"], ["updated_at", "2014-11-19 21:55:44.393181"], ["user_id", 33]] [shard 1341 master]
171575
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1341 master]
171576
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171577
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.394843"], ["name", "user2"], ["updated_at", "2014-11-19 21:55:44.394843"]] [shard 1342 master]
171578
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171579
+  (0.1ms) SAVEPOINT active_record_1 [shard 1342 master]
171580
+ SQL (0.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2014-11-19 21:55:44.397138"], ["updated_at", "2014-11-19 21:55:44.397138"], ["user_id", 31]] [shard 1342 master]
171581
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1342 master]
171582
+  (0.2ms) SELECT "users"."name" FROM "users" WHERE "users"."id" IN (33) [shard 1341 master]
171583
+  (0.2ms) SELECT "users"."name" FROM "users" WHERE "users"."id" IN (31) [shard 1342 master]
171584
+  (0.1ms) ROLLBACK [shard 1342 master]
171585
+  (0.1ms) ROLLBACK [shard 1341 master]
171586
+ SQL (0.4ms) DELETE FROM "switchman_shards" [shard 1340 master]
171587
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171588
+  (0.1ms) BEGIN [shard 1340 master]
171589
+  (0.1ms) ROLLBACK [shard 1340 master]
171590
+  (0.1ms) BEGIN [shard 1340 master]
171591
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1340 master]
171592
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 1340]] [shard 1340 master]
171593
+  (0.3ms) COMMIT [shard 1340 master]
171594
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171595
+  (0.1ms) BEGIN [shard 1340 master]
171596
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 1341], ["name", "switchman_test_shard_1341"]] [shard 1340 master]
171597
+  (0.3ms) COMMIT [shard 1340 master]
171598
+  (0.1ms) BEGIN [shard 1340 master]
171599
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 1342], ["name", "switchman_test_shard_1342"]] [shard 1340 master]
171600
+  (0.3ms) COMMIT [shard 1340 master]
171601
+  (0.1ms) BEGIN [shard 1340 master]
171602
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171603
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171604
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171605
+  (0.1ms) BEGIN [shard 1342 master]
171606
+  (0.1ms) ROLLBACK [shard 1342 master]
171607
+  (0.1ms) ROLLBACK [shard 1340 master]
171608
+  (0.1ms) BEGIN [shard 1340 master]
171609
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171610
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171611
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171612
+  (0.1ms) BEGIN [shard 1342 master]
171613
+  (0.1ms) ROLLBACK [shard 1342 master]
171614
+  (0.1ms) ROLLBACK [shard 1340 master]
171615
+  (0.1ms) BEGIN [shard 1340 master]
171616
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171617
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171618
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171619
+  (0.1ms) BEGIN [shard 1342 master]
171620
+  (0.1ms) ROLLBACK [shard 1342 master]
171621
+  (0.1ms) ROLLBACK [shard 1340 master]
171622
+  (0.1ms) BEGIN [shard 1340 master]
171623
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171624
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171625
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171626
+  (0.1ms) BEGIN [shard 1342 master]
171627
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171628
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 1340 master]
171629
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171630
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171631
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 1340 master]
171632
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171633
+  (0.1ms) ROLLBACK [shard 1342 master]
171634
+  (0.2ms) ROLLBACK [shard 1340 master]
171635
+ SQL (0.4ms) DELETE FROM "switchman_shards" [shard 1340 master]
171636
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171637
+  (0.1ms) BEGIN [shard 1340 master]
171638
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1340 master]
171639
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", "t"], ["id", 1340]] [shard 1340 master]
171640
+  (0.3ms) COMMIT [shard 1340 master]
171641
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171642
+  (0.1ms) BEGIN [shard 1340 master]
171643
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 1341], ["name", "switchman_test_shard_1341"]] [shard 1340 master]
171644
+  (0.3ms) COMMIT [shard 1340 master]
171645
+  (0.1ms) BEGIN [shard 1340 master]
171646
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 1342], ["name", "switchman_test_shard_1342"]] [shard 1340 master]
171647
+  (0.3ms) COMMIT [shard 1340 master]
171648
+  (0.1ms) BEGIN [shard 1340 master]
171649
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171650
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171651
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171652
+  (0.1ms) BEGIN [shard 1342 master]
171653
+  (0.1ms) ROLLBACK [shard 1342 master]
171654
+  (0.1ms) ROLLBACK [shard 1340 master]
171655
+  (0.1ms) BEGIN [shard 1340 master]
171656
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171657
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171658
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171659
+  (0.1ms) BEGIN [shard 1342 master]
171660
+  (0.1ms) ROLLBACK [shard 1342 master]
171661
+  (0.1ms) ROLLBACK [shard 1340 master]
171662
+  (0.1ms) BEGIN [shard 1340 master]
171663
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171664
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171665
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171666
+  (0.1ms) BEGIN [shard 1342 master]
171667
+  (0.1ms) ROLLBACK [shard 1342 master]
171668
+  (0.1ms) ROLLBACK [shard 1340 master]
171669
+  (0.1ms) BEGIN [shard 1340 master]
171670
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171671
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171672
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171673
+  (0.1ms) BEGIN [shard 1342 master]
171674
+  (0.1ms) ROLLBACK [shard 1342 master]
171675
+  (0.1ms) ROLLBACK [shard 1340 master]
171676
+  (0.1ms) BEGIN [shard 1340 master]
171677
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171678
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171679
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171680
+  (0.1ms) BEGIN [shard 1342 master]
171681
+  (0.1ms) ROLLBACK [shard 1342 master]
171682
+  (0.1ms) ROLLBACK [shard 1340 master]
171683
+  (0.1ms) BEGIN [shard 1340 master]
171684
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171685
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171686
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171687
+  (0.1ms) BEGIN [shard 1342 master]
171688
+  (0.1ms) ROLLBACK [shard 1342 master]
171689
+  (0.1ms) ROLLBACK [shard 1340 master]
171690
+  (0.1ms) BEGIN [shard 1340 master]
171691
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171692
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171693
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171694
+  (0.1ms) BEGIN [shard 1342 master]
171695
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 1341 LIMIT 1 [shard 1340 master]
171696
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 1342 LIMIT 1 [shard 1340 master]
171697
+  (0.1ms) ROLLBACK [shard 1342 master]
171698
+  (0.1ms) ROLLBACK [shard 1340 master]
171699
+  (0.1ms) BEGIN [shard 1340 master]
171700
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171701
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171702
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171703
+  (0.1ms) BEGIN [shard 1342 master]
171704
+  (0.1ms) ROLLBACK [shard 1342 master]
171705
+  (0.1ms) ROLLBACK [shard 1340 master]
171706
+  (0.1ms) BEGIN [shard 1340 master]
171707
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171708
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171709
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171710
+  (0.1ms) BEGIN [shard 1342 master]
171711
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 11342 LIMIT 1 [shard 1340 master]
171712
+  (0.1ms) ROLLBACK [shard 1342 master]
171713
+  (0.1ms) ROLLBACK [shard 1340 master]
171714
+  (0.1ms) BEGIN [shard 1340 master]
171715
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171716
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171717
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171718
+  (0.1ms) BEGIN [shard 1342 master]
171719
+  (0.1ms) ROLLBACK [shard 1342 master]
171720
+  (0.1ms) ROLLBACK [shard 1340 master]
171721
+  (0.1ms) BEGIN [shard 1340 master]
171722
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171723
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171724
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171725
+  (0.1ms) BEGIN [shard 1342 master]
171726
+  (0.1ms) ROLLBACK [shard 1342 master]
171727
+  (0.1ms) ROLLBACK [shard 1340 master]
171728
+  (0.1ms) BEGIN [shard 1340 master]
171729
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171730
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171731
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171732
+  (0.1ms) BEGIN [shard 1342 master]
171733
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '4' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171734
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171735
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "4"], ["name", "public"]] [shard 1340 master]
171736
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171737
+  (0.6ms) CREATE SCHEMA switchman_test_shard_1345 [shard 1345 deploy]
171738
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 1345 deploy]
171739
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 1345 deploy]
171740
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 1345 deploy]
171741
+ Migrating to CreateUsers (20130403132607)
171742
+  (0.1ms) BEGIN [shard 1345 deploy]
171743
+  (2.1ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 1345 deploy]
171744
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 1345 deploy]
171745
+  (0.3ms) COMMIT [shard 1345 deploy]
171746
+ Migrating to CreateAppendages (20130411202442)
171747
+  (0.1ms) BEGIN [shard 1345 deploy]
171748
+  (2.0ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 1345 deploy]
171749
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 1345 deploy]
171750
+  (0.4ms) COMMIT [shard 1345 deploy]
171751
+ Migrating to CreateMirrorUsers (20130411202551)
171752
+  (0.1ms) BEGIN [shard 1345 deploy]
171753
+  (2.0ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 1345 deploy]
171754
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 1345 deploy]
171755
+  (0.3ms) COMMIT [shard 1345 deploy]
171756
+ Migrating to CreateDigits (20131022202028)
171757
+  (0.2ms) BEGIN [shard 1345 deploy]
171758
+  (2.5ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 1345 deploy]
171759
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 1345 deploy]
171760
+  (0.4ms) COMMIT [shard 1345 deploy]
171761
+ Migrating to CreateFeatures (20131206172923)
171762
+  (0.1ms) BEGIN [shard 1345 deploy]
171763
+  (1.7ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 1345 deploy]
171764
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 1345 deploy]
171765
+  (0.3ms) COMMIT [shard 1345 deploy]
171766
+ Migrating to AddParentIdToUsers (20140123154135)
171767
+  (0.1ms) BEGIN [shard 1345 deploy]
171768
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 1345 deploy]
171769
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 1345 deploy]
171770
+  (0.3ms) COMMIT [shard 1345 deploy]
171771
+ Migrating to CreateRoots (20140219183820)
171772
+  (0.1ms) BEGIN [shard 1345 deploy]
171773
+  (1.7ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 1345 deploy]
171774
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 1345 deploy]
171775
+  (0.4ms) COMMIT [shard 1345 deploy]
171776
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171777
+ SQL (0.2ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 1345 [["name", "switchman_test_shard_1345"]] [shard 1340 master]
171778
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171779
+  (0.1ms) BEGIN [shard 1345 master]
171780
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2014-11-19 21:55:44.612208"], ["updated_at", "2014-11-19 21:55:44.612208"]] [shard 1345 master]
171781
+  (0.3ms) COMMIT [shard 1345 master]
171782
+  (0.2ms) SELECT COUNT(*) FROM "users" [shard 1345 master]
171783
+  (4.7ms) DROP SCHEMA switchman_test_shard_1345 CASCADE [shard 1345 deploy]
171784
+  (0.4ms) SELECT COUNT(*) FROM "users" [shard 1345 master]
171785
+ PG::UndefinedTable: ERROR: relation "users" does not exist
171786
+ LINE 1: SELECT COUNT(*) FROM "users"
171787
+ ^
171788
+ : SELECT COUNT(*) FROM "users"
171789
+  (0.2ms) ROLLBACK [shard 1342 master]
171790
+  (0.1ms) ROLLBACK [shard 1340 master]
171791
+  (0.1ms) BEGIN [shard 1340 master]
171792
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171793
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171794
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171795
+  (0.1ms) BEGIN [shard 1342 master]
171796
+  (0.1ms) ROLLBACK [shard 1342 master]
171797
+  (0.1ms) ROLLBACK [shard 1340 master]
171798
+  (0.1ms) BEGIN [shard 1340 master]
171799
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171800
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171801
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171802
+  (0.1ms) BEGIN [shard 1342 master]
171803
+  (0.1ms) ROLLBACK [shard 1342 master]
171804
+  (0.1ms) ROLLBACK [shard 1340 master]
171805
+  (0.1ms) BEGIN [shard 1340 master]
171806
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171807
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171808
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171809
+  (0.1ms) BEGIN [shard 1342 master]
171810
+  (0.1ms) ROLLBACK [shard 1342 master]
171811
+  (0.1ms) ROLLBACK [shard 1340 master]
171812
+  (0.1ms) BEGIN [shard 1340 master]
171813
+ Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171814
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171815
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171816
+  (0.1ms) BEGIN [shard 1342 master]
171817
+ Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 1340 master]
171818
+  (0.1ms) ROLLBACK [shard 1342 master]
171819
+  (0.1ms) ROLLBACK [shard 1340 master]
171820
+  (0.1ms) BEGIN [shard 1340 master]
171821
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171822
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171823
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171824
+  (0.1ms) BEGIN [shard 1342 master]
171825
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 1340 master]
171826
+  (0.1ms) ROLLBACK [shard 1342 master]
171827
+  (0.1ms) ROLLBACK [shard 1340 master]
171828
+  (0.1ms) BEGIN [shard 1340 master]
171829
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171830
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171831
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171832
+  (0.1ms) BEGIN [shard 1342 master]
171833
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 1340 master]
171834
+  (0.1ms) ROLLBACK [shard 1342 master]
171835
+  (0.1ms) ROLLBACK [shard 1340 master]
171836
+  (0.1ms) BEGIN [shard 1340 master]
171837
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171838
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171839
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171840
+  (0.1ms) BEGIN [shard 1342 master]
171841
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 1340 master]
171842
+  (0.1ms) ROLLBACK [shard 1342 master]
171843
+  (0.1ms) ROLLBACK [shard 1340 master]
171844
+  (0.1ms) BEGIN [shard 1340 master]
171845
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171846
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171847
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171848
+  (0.1ms) BEGIN [shard 1342 master]
171849
+  (0.1ms) ROLLBACK [shard 1342 master]
171850
+  (0.1ms) ROLLBACK [shard 1340 master]
171851
+  (0.1ms) BEGIN [shard 1340 master]
171852
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171853
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171854
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171855
+  (0.1ms) BEGIN [shard 1342 master]
171856
+  (0.1ms) ROLLBACK [shard 1342 master]
171857
+  (0.1ms) ROLLBACK [shard 1340 master]
171858
+  (0.1ms) BEGIN [shard 1340 master]
171859
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171860
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171861
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171862
+  (0.1ms) BEGIN [shard 1342 master]
171863
+  (0.1ms) ROLLBACK [shard 1342 master]
171864
+  (0.1ms) ROLLBACK [shard 1340 master]
171865
+  (0.1ms) BEGIN [shard 1340 master]
171866
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171867
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171868
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171869
+  (0.1ms) BEGIN [shard 1342 master]
171870
+  (0.1ms) ROLLBACK [shard 1342 master]
171871
+  (0.1ms) ROLLBACK [shard 1340 master]
171872
+  (0.1ms) BEGIN [shard 1340 master]
171873
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171874
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171875
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171876
+  (0.1ms) BEGIN [shard 1342 master]
171877
+  (0.1ms) ROLLBACK [shard 1342 master]
171878
+  (0.1ms) ROLLBACK [shard 1340 master]
171879
+  (0.1ms) BEGIN [shard 1340 master]
171880
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171881
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171882
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171883
+  (0.1ms) BEGIN [shard 1342 master]
171884
+  (0.1ms) ROLLBACK [shard 1342 master]
171885
+  (0.1ms) ROLLBACK [shard 1340 master]
171886
+  (0.1ms) BEGIN [shard 1340 master]
171887
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171888
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171889
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171890
+  (0.1ms) BEGIN [shard 1342 master]
171891
+  (0.1ms) ROLLBACK [shard 1342 master]
171892
+  (0.1ms) ROLLBACK [shard 1340 master]
171893
+  (0.1ms) BEGIN [shard 1340 master]
171894
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171895
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171896
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171897
+  (0.1ms) BEGIN [shard 1342 master]
171898
+  (0.1ms) ROLLBACK [shard 1342 master]
171899
+  (0.1ms) ROLLBACK [shard 1340 master]
171900
+  (0.1ms) BEGIN [shard 1340 master]
171901
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171902
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171903
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171904
+  (0.1ms) BEGIN [shard 1342 master]
171905
+  (0.2ms) SAVEPOINT active_record_1 [shard 1340 master]
171906
+ SQL (0.5ms) INSERT INTO "switchman_shards" DEFAULT VALUES RETURNING "id" [shard 1340 master]
171907
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171908
+  (0.1ms) SAVEPOINT active_record_1 [shard 1340 master]
171909
+ SQL (0.1ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 1346]] [shard 1340 master]
171910
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 1340 master]
171911
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 1346 LIMIT 1 [shard 1340 master]
171912
+  (0.1ms) ROLLBACK [shard 1342 master]
171913
+  (0.1ms) ROLLBACK [shard 1340 master]
171914
+  (0.1ms) BEGIN [shard 1340 master]
171915
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171916
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171917
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171918
+  (0.1ms) BEGIN [shard 1342 master]
171919
+  (0.1ms) ROLLBACK [shard 1342 master]
171920
+  (0.1ms) ROLLBACK [shard 1340 master]
171921
+  (0.1ms) BEGIN [shard 1340 master]
171922
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 1340 master]
171923
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1341]] [shard 1340 master]
171924
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 1342]] [shard 1340 master]
171925
+  (0.1ms) BEGIN [shard 1342 master]
171926
+  (0.1ms) ROLLBACK [shard 1342 master]
171927
+  (0.1ms) ROLLBACK [shard 1340 master]
171928
+  (0.1ms) BEGIN [shard 1340 master]
171929
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHER