switchman 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06d9cc6979bbd041bf666df98bb14b4f5f7b3bdf
4
- data.tar.gz: 636e446d8582a4fc2ac6a4e563dc0b085a1256a9
3
+ metadata.gz: ae59acff191e791770b3e05bb8dc0d60239f2ebb
4
+ data.tar.gz: 164cc804949ea85c183452c3d0bf0aaf6af3044e
5
5
  SHA512:
6
- metadata.gz: 5f6f69920ca04cff70ebd8dd515fc03d13932b2add95a322f9d5db2e1f76dd4e24233e89a9b4c1f9b5cfae302653c751adbc9cbe3b53a0a3d685edabd6a66f19
7
- data.tar.gz: d533309016d57befb426d562be635b982ffd264b947dce5c91b8b24e274edfdc3750ffe6a4531df7271e4934be184ae5da2bb3f266c574778a83318d6a8869fb
6
+ metadata.gz: e42da88f10b7c64b13b5612355591ab22a484d303306f2eddf7fb4fd97131b1d4876ebca95fc11dddd634e95ae1d0fa75cde976aa4438985f57db123b54b9efe
7
+ data.tar.gz: 0edd41594fdbf3d4202b3de62faef8a9d2e63112afe7c60ab5493bad8e71c6013dc380d6e3f3ecfddc8fc7835033cc95bf711f99e7c9e560052dee498129efaa
@@ -159,6 +159,13 @@ module Switchman
159
159
  options[:parallel]
160
160
  end
161
161
  options.delete(:parallel)
162
+
163
+ max_procs = options.delete(:max_procs)
164
+ if max_procs
165
+ max_procs = max_procs.to_i
166
+ max_procs = nil if max_procs == 0
167
+ end
168
+
162
169
  scope ||= ::Rails.version < '4' ? Shard.scoped : Shard.all
163
170
  if ::ActiveRecord::Relation === scope && scope.order_values.empty?
164
171
  scope = scope.order("database_server_id IS NOT NULL, database_server_id, id")
@@ -169,6 +176,8 @@ module Switchman
169
176
  # still need a post-uniq, cause the default database server could be NULL or Rails.env in the db
170
177
  database_servers = scope.reorder('database_server_id').select(:database_server_id).uniq.
171
178
  map(&:database_server).compact.uniq
179
+ parallel = [(max_procs.to_f / database_servers.count).ceil, parallel].min
180
+
172
181
  scopes = Hash[database_servers.map do |server|
173
182
  server_scope = server.shards.merge(scope)
174
183
  if parallel == 1
@@ -193,6 +202,7 @@ module Switchman
193
202
  else
194
203
  scopes = scope.group_by(&:database_server)
195
204
  if parallel > 1
205
+ parallel = [(max_procs.to_f / scopes.count).ceil, parallel].min
196
206
  scopes = Hash[scopes.map do |(server, shards)|
197
207
  [server, shards.in_groups(parallel, false).compact]
198
208
  end]
@@ -203,6 +213,21 @@ module Switchman
203
213
  out_fds = []
204
214
  err_fds = []
205
215
  pids = []
216
+
217
+ wait_for_output = lambda do |out_fds, err_fds, fd_to_name_map|
218
+ ready, _ = IO.select(out_fds + err_fds)
219
+ ready.each do |fd|
220
+ if fd.eof?
221
+ fd.close
222
+ out_fds.delete(fd)
223
+ err_fds.delete(fd)
224
+ next
225
+ end
226
+ line = fd.readline
227
+ puts "#{fd_to_name_map[fd]}: #{line}"
228
+ end
229
+ end
230
+
206
231
  exception_pipe = IO.pipe
207
232
  scopes.each do |server, subscopes|
208
233
  if !(::ActiveRecord::Relation === subscopes.first) && subscopes.first.class != Array
@@ -215,12 +240,6 @@ module Switchman
215
240
  return with_each_shard(subscopes.first, categories, options) { yield }
216
241
  end
217
242
 
218
- max_procs = options.delete(:max_procs)
219
- if max_procs
220
- max_procs = max_procs.to_i
221
- max_procs = nil if max_procs == 0
222
- end
223
-
224
243
  subscopes.each_with_index do |subscope, idx|
225
244
  if subscopes.length > 1
226
245
  name = "#{server.id} #{idx + 1}"
@@ -248,28 +267,23 @@ module Switchman
248
267
  fd_to_name_map[details[2]] = name
249
268
  fd_to_name_map[details[3]] = name
250
269
 
251
- is_last_subscope = (idx + 1 == subscopes.length)
252
- while (is_last_subscope && pids.any?) || (max_procs && pids.count >= max_procs)
253
- while (is_last_subscopes && out_fds.any?) || (max_procs && out_fds.count >= max_procs)
254
- # wait for output if we've reached the end or if we've hit the max_procs limit
255
- ready, _ = IO.select(out_fds + err_fds)
256
- ready.each do |fd|
257
- if fd.eof?
258
- fd.close
259
- out_fds.delete(fd)
260
- err_fds.delete(fd)
261
- next
262
- end
263
- line = fd.readline
264
- puts "#{fd_to_name_map[fd]}: #{line}"
265
- end
270
+ while max_procs && pids.count >= max_procs
271
+ while max_procs && out_fds.count >= max_procs
272
+ # wait for output if we've hit the max_procs limit
273
+ wait_for_output.call(out_fds, err_fds, fd_to_name_map)
266
274
  end
267
275
  pids.delete(Process.wait) # we've gotten all the output from one fd so wait for its child process to exit
268
276
  end
269
277
  end
270
278
  end
279
+
271
280
  exception_pipe.last.close
272
281
 
282
+ while out_fds.any? || err_fds.any?
283
+ wait_for_output.call(out_fds, err_fds, fd_to_name_map)
284
+ end
285
+ pids.each { |pid| Process.waitpid2(pid) }
286
+
273
287
  # I'm not sure why, but we have to do this
274
288
  ::ActiveRecord::Base.clear_all_connections!
275
289
  # check for an exception; we only re-raise the first one
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.3.2"
2
+ VERSION = "1.3.3"
3
3
  end
Binary file
@@ -941271,3 +941271,3603 @@ DETAIL: Failing row contains (1228, null, null, null, null, null, null).
941271
941271
   (0.2ms) BEGIN [1:816 master]
941272
941272
   (1.0ms) INSERT INTO users(created_at, updated_at) VALUES('2014-07-07', '2014-07-07') [test:814 master]
941273
941273
  User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 [test:814 master]
941274
+  (3.2ms) SELECT * FROM unnest(current_schemas(false))
941275
+ Switchman::Shard Load (4.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
941276
+  (0.3ms) SELECT * FROM unnest(current_schemas(false))
941277
+ Switchman::Shard Load (1.8ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = 'development' AND "switchman_shards"."name" IS NULL ORDER BY "switchman_shards"."id" ASC LIMIT 1
941278
+  (0.4ms) SELECT * FROM unnest(current_schemas(false)) [development: master]
941279
+ SQL (2.1ms) DELETE FROM "switchman_shards" [test:814 master]
941280
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:814 master]
941281
+  (0.1ms) BEGIN [test:814 master]
941282
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:814 master]
941283
+ SQL (2.9ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]] [test:814 master]
941284
+  (5.9ms) COMMIT [test:814 master]
941285
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:814 master]
941286
+ Switchman::Shard Load (0.8ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND "switchman_shards"."name" = 'shard1' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941287
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NOT NULL AND name='shard2') ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941288
+  (0.1ms) BEGIN [test:817 master]
941289
+ SQL (6.9ms) INSERT INTO "switchman_shards" ("name") VALUES ($1) RETURNING "id" [["name", "shard1"]] [test:817 master]
941290
+  (5.7ms) COMMIT [test:817 master]
941291
+  (0.2ms) BEGIN [test:817 master]
941292
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "shard2"]] [test:817 master]
941293
+  (6.1ms) COMMIT [test:817 master]
941294
+ SQL (0.5ms) DELETE FROM "switchman_shards" [test:817 master]
941295
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941296
+  (0.1ms) BEGIN [test:817 master]
941297
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
941298
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
941299
+  (0.4ms) COMMIT [test:817 master]
941300
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941301
+  (0.1ms) BEGIN [test:817 master]
941302
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
941303
+  (0.4ms) COMMIT [test:817 master]
941304
+  (0.1ms) BEGIN [test:817 master]
941305
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
941306
+  (0.4ms) COMMIT [test:817 master]
941307
+  (0.1ms) BEGIN [test:817 master]
941308
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941309
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941310
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941311
+  (0.1ms) BEGIN [1:819 master]
941312
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
941313
+ SQL (6.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [test:817 master]
941314
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941315
+  (0.2ms) ROLLBACK [1:819 master]
941316
+  (0.2ms) ROLLBACK [test:817 master]
941317
+  (0.1ms) BEGIN [test:817 master]
941318
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941319
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941320
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941321
+  (0.1ms) BEGIN [1:819 master]
941322
+  (0.1ms) ROLLBACK [1:819 master]
941323
+  (0.2ms) ROLLBACK [test:817 master]
941324
+  (0.1ms) BEGIN [test:817 master]
941325
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941326
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941327
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941328
+  (0.1ms) BEGIN [1:819 master]
941329
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941330
+ SQL (4.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [test:818 master]
941331
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941332
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941333
+ SQL (3.6ms) INSERT INTO "appendages" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [test:818 master]
941334
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941335
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 818 LIMIT 1 [test:817 master]
941336
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941337
+ SQL (27.4ms) INSERT INTO "appendages" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [1:819 master]
941338
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941339
+  (0.2ms) ROLLBACK [1:819 master]
941340
+  (0.2ms) ROLLBACK [test:817 master]
941341
+  (0.1ms) BEGIN [test:817 master]
941342
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941343
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941344
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941345
+  (0.1ms) BEGIN [1:819 master]
941346
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941347
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [test:818 master]
941348
+  (0.3ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941349
+  (0.1ms) ROLLBACK [1:819 master]
941350
+  (0.1ms) ROLLBACK [test:818 master]
941351
+  (0.1ms) BEGIN [test:817 master]
941352
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941353
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941354
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941355
+  (0.1ms) BEGIN [1:819 master]
941356
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941357
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [test:817 master]
941358
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941359
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941360
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [test:818 master]
941361
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941362
+  (0.1ms) ROLLBACK [1:819 master]
941363
+  (0.1ms) ROLLBACK [test:818 master]
941364
+  (0.1ms) BEGIN [test:817 master]
941365
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941366
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941367
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941368
+  (0.1ms) BEGIN [1:819 master]
941369
+  (0.1ms) ROLLBACK [1:819 master]
941370
+  (0.1ms) ROLLBACK [test:817 master]
941371
+  (0.1ms) BEGIN [test:817 master]
941372
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941373
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941374
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941375
+  (0.1ms) BEGIN [1:819 master]
941376
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941377
+ SQL (3.0ms) INSERT INTO "roots" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [test:817 master]
941378
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941379
+  (0.1ms) ROLLBACK [1:819 master]
941380
+  (0.1ms) ROLLBACK [test:817 master]
941381
+  (0.1ms) BEGIN [test:817 master]
941382
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941383
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941384
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941385
+  (0.1ms) BEGIN [1:819 master]
941386
+  (0.1ms) ROLLBACK [1:819 master]
941387
+  (0.1ms) ROLLBACK [test:817 master]
941388
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
941389
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941390
+  (0.1ms) BEGIN [test:817 master]
941391
+  (0.2ms) ROLLBACK [test:817 master]
941392
+  (0.1ms) BEGIN [test:817 master]
941393
+  (0.1ms) ROLLBACK [test:817 master]
941394
+  (0.1ms) BEGIN [test:817 master]
941395
+  (0.1ms) ROLLBACK [test:817 master]
941396
+  (0.1ms) BEGIN [test:817 master]
941397
+  (0.1ms) ROLLBACK [test:817 master]
941398
+  (0.1ms) BEGIN [test:817 master]
941399
+  (0.1ms) ROLLBACK [test:817 master]
941400
+  (0.1ms) BEGIN [test:817 master]
941401
+ Switchman::Shard Exists (0.4ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
941402
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
941403
+  (0.3ms) COMMIT [test:817 master]
941404
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941405
+  (0.2ms) BEGIN [test:817 master]
941406
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
941407
+  (0.3ms) COMMIT [test:817 master]
941408
+  (0.1ms) BEGIN [test:817 master]
941409
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
941410
+  (1.1ms) COMMIT [test:817 master]
941411
+  (1.7ms) BEGIN [test:817 master]
941412
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941413
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941414
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941415
+  (0.1ms) BEGIN [1:819 master]
941416
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941417
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941418
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [test:817 master]
941419
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941420
+  (0.1ms) begin transaction [2:820 deploy]
941421
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [2:820 deploy]
941422
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [2:820 deploy]
941423
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" [2:820 deploy]
941424
+ Migrating to CreateSwitchmanShards (20130328212039)
941425
+  (0.5ms) CREATE TABLE "switchman_shards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "database_server_id" varchar(255), "default" boolean DEFAULT 'f' NOT NULL)  [2:820 deploy]
941426
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130328212039"]] [2:820 deploy]
941427
+ Migrating to CreateDefaultShard (20130328224244)
941428
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130328224244"]] [2:820 deploy]
941429
+ Migrating to CreateUsers (20130403132607)
941430
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "mirror_user_id" integer(8), "created_at" datetime, "updated_at" datetime) [2:820 deploy]
941431
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130403132607"]] [2:820 deploy]
941432
+ Migrating to CreateAppendages (20130411202442)
941433
+  (0.2ms) CREATE TABLE "appendages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime) [2:820 deploy]
941434
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202442"]] [2:820 deploy]
941435
+ Migrating to CreateMirrorUsers (20130411202551)
941436
+  (0.3ms) CREATE TABLE "mirror_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime) [2:820 deploy]
941437
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202551"]] [2:820 deploy]
941438
+ Migrating to CreateDigits (20131022202028)
941439
+  (0.1ms) CREATE TABLE "digits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "appendage_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime) [2:820 deploy]
941440
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131022202028"]] [2:820 deploy]
941441
+ Migrating to CreateFeatures (20131206172923)
941442
+  (0.2ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer(8), "owner_type" varchar(255), "value" integer, "created_at" datetime, "updated_at" datetime) [2:820 deploy]
941443
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206172923"]] [2:820 deploy]
941444
+ Migrating to AddParentIdToUsers (20140123154135)
941445
+  (1.0ms) ALTER TABLE "users" ADD "parent_id" integer(8) [2:820 deploy]
941446
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123154135"]] [2:820 deploy]
941447
+ Migrating to CreateRoots (20140219183820)
941448
+  (0.2ms) CREATE TABLE "roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime) [2:820 deploy]
941449
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140219183820"]] [2:820 deploy]
941450
+ Migrating to AddDummyForeignKey (20150618035859)
941451
+  (0.2ms) ALTER TABLE "users" ADD "broken_id" integer(8) [2:820 deploy]
941452
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618035859"]] [2:820 deploy]
941453
+  (1.2ms) commit transaction [2:820 deploy]
941454
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941455
+ SQL (0.5ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 820 [["name", "db/shard_820.sqlite3"]] [test:817 master]
941456
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941457
+  (0.1ms) begin transaction [2:820 master]
941458
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [2:820 master]
941459
+  (0.8ms) commit transaction [2:820 master]
941460
+ Drop failed: No such file or directory @ unlink_internal - db/shard_820.sqlite3
941461
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941462
+ SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 820]] [test:817 master]
941463
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941464
+  (0.1ms) ROLLBACK [1:819 master]
941465
+  (0.2ms) ROLLBACK [test:817 master]
941466
+  (0.1ms) BEGIN [test:817 master]
941467
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941468
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941469
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941470
+  (0.1ms) BEGIN [1:819 master]
941471
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '3' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941472
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941473
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "3"], ["name", "public"]] [test:817 master]
941474
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941475
+  (17.5ms) CREATE SCHEMA switchman_dummy_test_shard_821 [3:821 deploy]
941476
+  (0.1ms) BEGIN [3:821 deploy]
941477
+  (36.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [3:821 deploy]
941478
+  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [3:821 deploy]
941479
+ ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [3:821 deploy]
941480
+ Migrating to CreateSwitchmanShards (20130328212039)
941481
+  (9.4ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL) [3:821 deploy]
941482
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [3:821 deploy]
941483
+ Migrating to CreateDefaultShard (20130328224244)
941484
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [3:821 deploy]
941485
+ Migrating to CreateUsers (20130403132607)
941486
+  (3.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [3:821 deploy]
941487
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [3:821 deploy]
941488
+ Migrating to CreateAppendages (20130411202442)
941489
+  (3.1ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [3:821 deploy]
941490
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [3:821 deploy]
941491
+ Migrating to CreateMirrorUsers (20130411202551)
941492
+  (4.9ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [3:821 deploy]
941493
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [3:821 deploy]
941494
+ Migrating to CreateDigits (20131022202028)
941495
+  (2.9ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [3:821 deploy]
941496
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [3:821 deploy]
941497
+ Migrating to CreateFeatures (20131206172923)
941498
+  (4.4ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [3:821 deploy]
941499
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [3:821 deploy]
941500
+ Migrating to AddParentIdToUsers (20140123154135)
941501
+  (0.8ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [3:821 deploy]
941502
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [3:821 deploy]
941503
+ Migrating to CreateRoots (20140219183820)
941504
+  (2.7ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [3:821 deploy]
941505
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [3:821 deploy]
941506
+ Migrating to AddDummyForeignKey (20150618035859)
941507
+  (0.3ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [3:821 deploy]
941508
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [3:821 deploy]
941509
+  (1.5ms) COMMIT [3:821 deploy]
941510
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941511
+ SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 821 [["name", "switchman_dummy_test_shard_821"]] [test:817 master]
941512
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941513
+  (0.1ms) BEGIN [3:821 master]
941514
+ SQL (1.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:43 UTC +00:00]] [3:821 master]
941515
+  (0.3ms) COMMIT [3:821 master]
941516
+  (20.4ms) DROP SCHEMA switchman_dummy_test_shard_821 CASCADE [3:821 deploy]
941517
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
941518
+ SQL (0.7ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 821]] [test:817 master]
941519
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941520
+  (0.2ms) ROLLBACK [1:819 master]
941521
+  (0.1ms) ROLLBACK [test:817 master]
941522
+  (0.1ms) BEGIN [test:817 master]
941523
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941524
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941525
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941526
+  (0.1ms) BEGIN [1:819 master]
941527
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" IS NULL AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941528
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941529
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [test:817 master]
941530
+  (0.2ms) ROLLBACK [1:819 master]
941531
+  (0.1ms) ROLLBACK [test:817 master]
941532
+  (0.1ms) BEGIN [test:817 master]
941533
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941534
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941535
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941536
+  (0.1ms) BEGIN [1:819 master]
941537
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941538
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941539
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]] [test:817 master]
941540
+  (0.9ms) CREATE SCHEMA switchman_dummy_test_shard_822 [test:822 deploy]
941541
+  (0.1ms) SAVEPOINT active_record_2 [test:822 deploy]
941542
+  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [test:822 deploy]
941543
+  (7.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:822 deploy]
941544
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" [test:822 deploy]
941545
+ Migrating to CreateSwitchmanShards (20130328212039)
941546
+  (9.8ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL)  [test:822 deploy]
941547
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [test:822 deploy]
941548
+ Migrating to CreateDefaultShard (20130328224244)
941549
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [test:822 deploy]
941550
+ Migrating to CreateUsers (20130403132607)
941551
+  (4.5ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [test:822 deploy]
941552
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [test:822 deploy]
941553
+ Migrating to CreateAppendages (20130411202442)
941554
+  (2.7ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [test:822 deploy]
941555
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [test:822 deploy]
941556
+ Migrating to CreateMirrorUsers (20130411202551)
941557
+  (2.8ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [test:822 deploy]
941558
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [test:822 deploy]
941559
+ Migrating to CreateDigits (20131022202028)
941560
+  (3.7ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [test:822 deploy]
941561
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [test:822 deploy]
941562
+ Migrating to CreateFeatures (20131206172923)
941563
+  (26.4ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [test:822 deploy]
941564
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [test:822 deploy]
941565
+ Migrating to AddParentIdToUsers (20140123154135)
941566
+  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [test:822 deploy]
941567
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [test:822 deploy]
941568
+ Migrating to CreateRoots (20140219183820)
941569
+  (8.3ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [test:822 deploy]
941570
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [test:822 deploy]
941571
+ Migrating to AddDummyForeignKey (20150618035859)
941572
+  (0.4ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [test:822 deploy]
941573
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [test:822 deploy]
941574
+  (0.1ms) RELEASE SAVEPOINT active_record_2 [test:822 deploy]
941575
+ SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 822 [["name", "switchman_dummy_test_shard_822"]] [test:817 master]
941576
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941577
+  (0.1ms) SAVEPOINT active_record_1 [test:822 master]
941578
+ SQL (7.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:822 master]
941579
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:822 master]
941580
+  (74.2ms) DROP SCHEMA switchman_dummy_test_shard_822 CASCADE [test:822 deploy]
941581
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941582
+ SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 822]] [test:817 master]
941583
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941584
+  (0.1ms) ROLLBACK [1:819 master]
941585
+  (12.8ms) ROLLBACK [test:817 master]
941586
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
941587
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941588
+  (0.1ms) BEGIN [test:817 master]
941589
+  (0.1ms) ROLLBACK [test:817 master]
941590
+  (0.1ms) BEGIN [test:817 master]
941591
+  (0.1ms) ROLLBACK [test:817 master]
941592
+  (0.1ms) BEGIN [test:817 master]
941593
+  (0.1ms) ROLLBACK [test:817 master]
941594
+  (0.1ms) BEGIN [test:817 master]
941595
+  (0.1ms) ROLLBACK [test:817 master]
941596
+  (0.1ms) BEGIN [test:817 master]
941597
+  (0.1ms) ROLLBACK [test:817 master]
941598
+  (0.1ms) BEGIN [test:817 master]
941599
+  (0.1ms) ROLLBACK [test:817 master]
941600
+  (0.1ms) BEGIN [test:817 master]
941601
+  (0.1ms) ROLLBACK [test:817 master]
941602
+  (0.1ms) BEGIN [test:817 master]
941603
+  (0.1ms) ROLLBACK [test:817 master]
941604
+  (0.6ms) BEGIN [test:817 master]
941605
+  (0.2ms) ROLLBACK [test:817 master]
941606
+  (0.1ms) BEGIN [test:817 master]
941607
+  (0.1ms) ROLLBACK [test:817 master]
941608
+  (0.1ms) BEGIN [test:817 master]
941609
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
941610
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
941611
+  (0.4ms) COMMIT [test:817 master]
941612
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941613
+  (0.1ms) BEGIN [test:817 master]
941614
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
941615
+  (0.3ms) COMMIT [test:817 master]
941616
+  (0.1ms) BEGIN [test:817 master]
941617
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
941618
+  (0.3ms) COMMIT [test:817 master]
941619
+  (0.1ms) BEGIN [test:817 master]
941620
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941621
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941622
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941623
+  (0.1ms) BEGIN [1:819 master]
941624
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941625
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941626
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941627
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941628
+ SQL (4.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941629
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941630
+  (0.2ms) ROLLBACK [1:819 master]
941631
+  (0.1ms) ROLLBACK [test:818 master]
941632
+  (0.1ms) BEGIN [test:817 master]
941633
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941634
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941635
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941636
+  (0.1ms) BEGIN [1:819 master]
941637
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941638
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941639
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941640
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941641
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941642
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941643
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941644
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2293]] [test:818 master]
941645
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941646
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 818 LIMIT 1 [test:817 master]
941647
+ Appendage Load (0.5ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."id" = $1 LIMIT 1 [["id", 2125]] [test:818 master]
941648
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2293]] [test:818 master]
941649
+  (0.1ms) ROLLBACK [1:819 master]
941650
+  (0.1ms) ROLLBACK [test:818 master]
941651
+  (0.1ms) BEGIN [test:817 master]
941652
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941653
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941654
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941655
+  (0.1ms) BEGIN [1:819 master]
941656
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941657
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941658
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941659
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941660
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941661
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941662
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941663
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2294]] [test:818 master]
941664
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941665
+  (0.3ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 2294]] [test:818 master]
941666
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2294]] [test:818 master]
941667
+  (0.2ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 2294]] [test:818 master]
941668
+  (0.1ms) ROLLBACK [1:819 master]
941669
+  (0.2ms) ROLLBACK [test:818 master]
941670
+  (0.1ms) BEGIN [test:817 master]
941671
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941672
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941673
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941674
+  (0.1ms) BEGIN [1:819 master]
941675
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941676
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941677
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941678
+  (0.2ms) SAVEPOINT active_record_1 [1:819 master]
941679
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941680
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941681
+  (0.2ms) ROLLBACK [1:819 master]
941682
+  (0.1ms) ROLLBACK [test:818 master]
941683
+  (0.1ms) BEGIN [test:817 master]
941684
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941685
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941686
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941687
+  (0.1ms) BEGIN [1:819 master]
941688
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941689
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941690
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941691
+  (0.2ms) SAVEPOINT active_record_1 [1:819 master]
941692
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941693
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941694
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941695
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2296]] [test:818 master]
941696
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941697
+ Appendage Load (0.4ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" = $1 AND "appendages"."id" = $2 LIMIT 1 [["user_id", 2296], ["id", 2127]] [test:818 master]
941698
+ Appendage Load (0.7ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" = $1 AND "appendages"."id" = $2 LIMIT 1 [["user_id", 1844], ["id", 8180000000002127]] [1:819 master]
941699
+  (0.1ms) ROLLBACK [1:819 master]
941700
+  (0.1ms) ROLLBACK [test:817 master]
941701
+  (0.1ms) BEGIN [test:817 master]
941702
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941703
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941704
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941705
+  (0.1ms) BEGIN [1:819 master]
941706
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941707
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941708
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941709
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941710
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941711
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941712
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941713
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2297]] [test:818 master]
941714
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941715
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941716
+ SQL (4.5ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 2128], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941717
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941718
+ Digit Load (0.6ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."id" = $2 LIMIT 1 [["user_id", 2297], ["id", 269]] [test:818 master]
941719
+  (0.2ms) ROLLBACK [1:819 master]
941720
+  (0.1ms) ROLLBACK [test:818 master]
941721
+  (0.1ms) BEGIN [test:817 master]
941722
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941723
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941724
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941725
+  (0.1ms) BEGIN [1:819 master]
941726
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941727
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941728
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941729
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941730
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941731
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941732
+  (0.2ms) SAVEPOINT active_record_1 [test:818 master]
941733
+ SQL (3.6ms) INSERT INTO "mirror_users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941734
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941735
+  (0.1ms) ROLLBACK [1:819 master]
941736
+  (0.1ms) ROLLBACK [test:818 master]
941737
+  (0.1ms) BEGIN [test:817 master]
941738
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941739
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941740
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941741
+  (0.1ms) BEGIN [1:819 master]
941742
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941743
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941744
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941745
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941746
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941747
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941748
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941749
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2299]] [test:818 master]
941750
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941751
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941752
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941753
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 1847]] [1:819 master]
941754
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941755
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
941756
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 819 LIMIT 1 [test:817 master]
941757
+  (0.2ms) ROLLBACK [1:819 master]
941758
+  (0.1ms) ROLLBACK [test:818 master]
941759
+  (0.1ms) BEGIN [test:817 master]
941760
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941761
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941762
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941763
+  (0.1ms) BEGIN [1:819 master]
941764
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941765
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941766
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941767
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941768
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941769
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941770
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941771
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2300]] [test:818 master]
941772
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941773
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941774
+ SQL (15.5ms) INSERT INTO "digits" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941775
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941776
+  (0.2ms) SAVEPOINT active_record_1 [test:818 master]
941777
+ SQL (0.5ms) INSERT INTO "digits" ("appendage_id", "created_at", "id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["appendage_id", 2130], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["id", 8190000000000192], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941778
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941779
+ Digit Load (0.3ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."id" = $2 LIMIT 1 [["user_id", 2300], ["id", 8190000000000192]] [test:818 master]
941780
+  (0.1ms) ROLLBACK [1:819 master]
941781
+  (0.1ms) ROLLBACK [test:818 master]
941782
+  (0.1ms) BEGIN [test:817 master]
941783
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941784
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941785
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941786
+  (0.1ms) BEGIN [1:819 master]
941787
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941788
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941789
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941790
+  (0.2ms) SAVEPOINT active_record_1 [1:819 master]
941791
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941792
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941793
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941794
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "parent_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["parent_id", 2301], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941795
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941796
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941797
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "parent_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["parent_id", 2302], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941798
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941799
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2301]] [test:818 master]
941800
+ User Exists (0.5ms) SELECT 1 AS one FROM "users" INNER JOIN "users" "children_grandchildren_join" ON "users"."parent_id" = "children_grandchildren_join"."id" WHERE "children_grandchildren_join"."parent_id" = $1 AND "users"."id" = 2303 LIMIT 1 [["parent_id", 2301]] [test:818 master]
941801
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941802
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["id", 2303], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941803
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941804
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2301]] [test:818 master]
941805
+ User Exists (0.4ms) SELECT 1 AS one FROM "users" INNER JOIN "users" "children_grandchildren_join" ON "users"."parent_id" = "children_grandchildren_join"."id" WHERE "children_grandchildren_join"."parent_id" = $1 AND "users"."id" = 8190000000002303 LIMIT 1 [["parent_id", 2301]] [test:818 master]
941806
+  (0.1ms) ROLLBACK [1:819 master]
941807
+  (0.1ms) ROLLBACK [test:818 master]
941808
+  (0.1ms) BEGIN [test:817 master]
941809
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941810
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941811
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941812
+  (0.1ms) BEGIN [1:819 master]
941813
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941814
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941815
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941816
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941817
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941818
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941819
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941820
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2304]] [test:818 master]
941821
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941822
+  (0.1ms) ROLLBACK [1:819 master]
941823
+  (0.1ms) ROLLBACK [test:818 master]
941824
+  (0.1ms) BEGIN [test:817 master]
941825
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941826
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941827
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941828
+  (0.1ms) BEGIN [1:819 master]
941829
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941830
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941831
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941832
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941833
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941834
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941835
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
941836
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2305]] [test:818 master]
941837
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941838
+  (0.1ms) ROLLBACK [1:819 master]
941839
+  (0.1ms) ROLLBACK [test:818 master]
941840
+  (0.1ms) BEGIN [test:817 master]
941841
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941842
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941843
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941844
+  (0.1ms) BEGIN [1:819 master]
941845
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941846
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941847
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941848
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941849
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941850
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941851
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941852
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941853
+  (0.1ms) ROLLBACK [1:819 master]
941854
+  (0.1ms) ROLLBACK [test:818 master]
941855
+  (0.1ms) BEGIN [test:817 master]
941856
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941857
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941858
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941859
+  (0.1ms) BEGIN [1:819 master]
941860
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941861
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941862
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941863
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941864
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941865
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941866
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941867
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2307]] [test:818 master]
941868
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941869
+  (0.3ms) SAVEPOINT active_record_1 [test:818 master]
941870
+ SQL (0.3ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 2133], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941871
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941872
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941873
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002307]] [1:819 master]
941874
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941875
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941876
+ SQL (0.4ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["appendage_id", 2265], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["value", 2]] [1:819 master]
941877
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941878
+ Digit Load (0.4ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."value" IS NULL [["user_id", 2307]] [test:818 master]
941879
+ Digit Load (0.5ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."value" IS NULL [["user_id", 8180000000002307]] [1:819 master]
941880
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2307]] [test:818 master]
941881
+ Digit Load (0.3ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."value" IS NULL [["user_id", 2307]] [test:818 master]
941882
+ Digit Load (0.3ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."value" IS NULL [["user_id", 8180000000002307]] [1:819 master]
941883
+  (0.1ms) ROLLBACK [1:819 master]
941884
+  (0.1ms) ROLLBACK [test:818 master]
941885
+  (0.1ms) BEGIN [test:817 master]
941886
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941887
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941888
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941889
+  (0.1ms) BEGIN [1:819 master]
941890
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941891
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941892
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941893
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941894
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941895
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941896
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941897
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2308], ["value", 1]] [test:818 master]
941898
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941899
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941900
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002308]] [1:819 master]
941901
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941902
+ Appendage Load (0.4ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" = $1 AND "appendages"."value" IS NULL [["user_id", 2308]] [test:818 master]
941903
+ Appendage Load (0.4ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" = $1 AND "appendages"."value" IS NULL [["user_id", 8180000000002308]] [1:819 master]
941904
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2308]] [test:818 master]
941905
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" = $1 AND "appendages"."value" IS NULL [["user_id", 2308]] [test:818 master]
941906
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" = $1 AND "appendages"."value" IS NULL [["user_id", 8180000000002308]] [1:819 master]
941907
+  (0.1ms) ROLLBACK [1:819 master]
941908
+  (0.2ms) ROLLBACK [test:818 master]
941909
+  (0.1ms) BEGIN [test:817 master]
941910
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941911
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941912
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941913
+  (0.1ms) BEGIN [1:819 master]
941914
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941915
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941916
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941917
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941918
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941919
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941920
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941921
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2309], ["value", 1]] [test:818 master]
941922
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941923
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941924
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002309]] [1:819 master]
941925
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941926
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941927
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941928
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2309], ["value", 2]] [test:818 master]
941929
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941930
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941931
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2309]] [test:818 master]
941932
+  (1.1ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = $1 AND (appendages.value IS NOT NULL) [["user_id", 2309]] [test:818 master]
941933
+  (0.4ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = $1 AND (appendages.value IS NOT NULL) [["user_id", 8180000000002309]] [1:819 master]
941934
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2309]] [test:818 master]
941935
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = $1 AND (appendages.value IS NOT NULL) [["user_id", 2309]] [test:818 master]
941936
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = $1 AND (appendages.value IS NOT NULL) [["user_id", 8180000000002309]] [1:819 master]
941937
+  (0.2ms) ROLLBACK [1:819 master]
941938
+  (0.2ms) ROLLBACK [test:818 master]
941939
+  (0.1ms) BEGIN [test:817 master]
941940
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941941
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941942
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941943
+  (0.1ms) BEGIN [1:819 master]
941944
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941945
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941946
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941947
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941948
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941949
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941950
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941951
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2310], ["value", 1]] [test:818 master]
941952
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941953
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941954
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002310], ["value", 2]] [1:819 master]
941955
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941956
+ Appendage Load (0.3ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 2310]] [test:818 master]
941957
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2310]] [test:818 master]
941958
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 2310]] [test:818 master]
941959
+ Appendage Load (0.4ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 8180000000002310]] [1:819 master]
941960
+  (0.2ms) ROLLBACK [1:819 master]
941961
+  (0.2ms) ROLLBACK [test:818 master]
941962
+  (0.1ms) BEGIN [test:817 master]
941963
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941964
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941965
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941966
+  (0.1ms) BEGIN [1:819 master]
941967
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941968
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941969
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941970
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941971
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
941972
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941973
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941974
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2311]] [test:818 master]
941975
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941976
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941977
+ SQL (0.4ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["appendage_id", 2138], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["value", 1]] [test:818 master]
941978
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941979
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941980
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002311]] [1:819 master]
941981
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941982
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
941983
+ SQL (0.2ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["appendage_id", 2269], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["value", 2]] [1:819 master]
941984
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
941985
+ Digit Load (0.5ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 [["user_id", 2311]] [test:818 master]
941986
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2311]] [test:818 master]
941987
+ Digit Load (0.3ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 [["user_id", 2311]] [test:818 master]
941988
+ Digit Load (0.4ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 [["user_id", 8180000000002311]] [1:819 master]
941989
+  (0.1ms) ROLLBACK [1:819 master]
941990
+  (0.2ms) ROLLBACK [test:818 master]
941991
+  (0.1ms) BEGIN [test:817 master]
941992
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
941993
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
941994
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
941995
+  (0.1ms) BEGIN [1:819 master]
941996
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
941997
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
941998
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
941999
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942000
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942001
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942002
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942003
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2312]] [test:818 master]
942004
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942005
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942006
+ SQL (3.8ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 2139], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942007
+  (2.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942008
+  (0.2ms) SAVEPOINT active_record_1 [test:818 master]
942009
+ SQL (0.3ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["appendage_id", 2139], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["value", 1]] [test:818 master]
942010
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942011
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942012
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002312]] [1:819 master]
942013
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942014
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942015
+ SQL (0.3ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["appendage_id", 2270], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["value", 2]] [1:819 master]
942016
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942017
+  (0.6ms) SELECT SUM("digits"."value") AS sum_id FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND (digits.value IS NOT NULL) [["user_id", 2312]] [test:818 master]
942018
+  (0.5ms) SELECT SUM("digits"."value") AS sum_id FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND (digits.value IS NOT NULL) [["user_id", 8180000000002312]] [1:819 master]
942019
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2312]] [test:818 master]
942020
+  (0.3ms) SELECT SUM("digits"."value") AS sum_id FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND (digits.value IS NOT NULL) [["user_id", 2312]] [test:818 master]
942021
+  (0.3ms) SELECT SUM("digits"."value") AS sum_id FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND (digits.value IS NOT NULL) [["user_id", 8180000000002312]] [1:819 master]
942022
+  (0.1ms) ROLLBACK [1:819 master]
942023
+  (0.2ms) ROLLBACK [test:818 master]
942024
+  (0.1ms) BEGIN [test:817 master]
942025
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942026
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942027
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942028
+  (0.1ms) BEGIN [1:819 master]
942029
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942030
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942031
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942032
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942033
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942034
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942035
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942036
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2313]] [test:818 master]
942037
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942038
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942039
+ SQL (0.2ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 2140], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942040
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942041
+  (0.2ms) SAVEPOINT active_record_1 [1:819 master]
942042
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002313]] [1:819 master]
942043
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942044
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942045
+ SQL (0.4ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["appendage_id", 2271], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["value", 2]] [1:819 master]
942046
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942047
+  (0.5ms) SELECT COUNT(*) FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."value" IS NULL [["user_id", 2313]] [test:818 master]
942048
+  (0.5ms) SELECT COUNT(*) FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."value" IS NULL [["user_id", 8180000000002313]] [1:819 master]
942049
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2313]] [test:818 master]
942050
+ Digit Load (0.3ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."value" IS NULL [["user_id", 2313]] [test:818 master]
942051
+ Digit Load (0.3ms) SELECT "digits".* FROM "digits" INNER JOIN "appendages" ON "digits"."appendage_id" = "appendages"."id" WHERE "appendages"."user_id" = $1 AND "digits"."value" IS NULL [["user_id", 8180000000002313]] [1:819 master]
942052
+  (0.2ms) ROLLBACK [1:819 master]
942053
+  (0.1ms) ROLLBACK [test:818 master]
942054
+  (0.1ms) BEGIN [test:817 master]
942055
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942056
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942057
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942058
+  (0.1ms) BEGIN [1:819 master]
942059
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942060
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942061
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942062
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942063
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942064
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942065
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942066
+ SQL (20.4ms) INSERT INTO "appendages" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:817 master]
942067
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942068
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
942069
+ SQL (6.3ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 586], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:817 master]
942070
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942071
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942072
+ SQL (0.2ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 8170000000000586], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942073
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942074
+ Appendage Load (0.3ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."id" = 586 ORDER BY "appendages"."id" ASC LIMIT 1 [test:817 master]
942075
+ Digit Load (0.3ms) SELECT "digits".* FROM "digits" WHERE "digits"."appendage_id" IN (586) [test:817 master]
942076
+  (0.2ms) ROLLBACK [1:819 master]
942077
+  (0.1ms) ROLLBACK [test:817 master]
942078
+  (0.1ms) BEGIN [test:817 master]
942079
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942080
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942081
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942082
+  (0.1ms) BEGIN [1:819 master]
942083
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942084
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942085
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942086
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942087
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942088
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942089
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942090
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2315]] [test:818 master]
942091
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942092
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942093
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002315]] [1:819 master]
942094
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942095
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942096
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8190000000001861]] [test:818 master]
942097
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942098
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2315) [test:818 master]
942099
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" IN (2315) [test:818 master]
942100
+ Appendage Load (0.3ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" IN (8180000000002315) [1:819 master]
942101
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1861) [1:819 master]
942102
+ Appendage Load (0.3ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" IN (1861) [1:819 master]
942103
+ SQL (0.3ms) DELETE FROM "appendages" WHERE "appendages"."id" = 2141 [test:818 master]
942104
+  (0.2ms) ROLLBACK [1:819 master]
942105
+  (0.1ms) ROLLBACK [test:818 master]
942106
+  (0.1ms) BEGIN [test:817 master]
942107
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942108
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942109
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942110
+  (0.1ms) BEGIN [1:819 master]
942111
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942112
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942113
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942114
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942115
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942116
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942117
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942118
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2316]] [test:818 master]
942119
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942120
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942121
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002316]] [1:819 master]
942122
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942123
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942124
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002316]] [1:819 master]
942125
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942126
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942127
+ SQL (0.2ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 2143], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942128
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942129
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942130
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942131
+ SQL (0.5ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 2273], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942132
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942133
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942134
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942135
+ SQL (0.3ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 8190000000002273], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942136
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942137
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942138
+ SQL (0.2ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 8190000000002274], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942139
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942140
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942141
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8190000000001862]] [test:818 master]
942142
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942143
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942144
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942145
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 1862]] [1:819 master]
942146
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942147
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942148
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942149
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942150
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 1862]] [1:819 master]
942151
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942152
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942153
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942154
+ SQL (0.4ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 8180000000002144], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942155
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942156
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942157
+ SQL (0.2ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 8190000000002275], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942158
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942159
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942160
+ SQL (0.2ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 2276], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942161
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942162
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2316) [test:818 master]
942163
+ Appendage Load (0.3ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" IN (2316) [test:818 master]
942164
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" IN (8180000000002316) [1:819 master]
942165
+ Digit Load (0.2ms) SELECT "digits".* FROM "digits" WHERE "digits"."appendage_id" IN (2143) [test:818 master]
942166
+ Digit Load (0.3ms) SELECT "digits".* FROM "digits" WHERE "digits"."appendage_id" IN (2273, 2274) [1:819 master]
942167
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1862) [1:819 master]
942168
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."user_id" IN (1862) [1:819 master]
942169
+ Digit Load (0.3ms) SELECT "digits".* FROM "digits" WHERE "digits"."appendage_id" IN (2275, 2276) [1:819 master]
942170
+ SQL (0.2ms) DELETE FROM "digits" WHERE "digits"."id" = 276 [test:818 master]
942171
+  (1.4ms) ROLLBACK [1:819 master]
942172
+  (0.2ms) ROLLBACK [test:818 master]
942173
+  (0.1ms) BEGIN [test:817 master]
942174
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942175
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942176
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942177
+  (0.1ms) BEGIN [1:819 master]
942178
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942179
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942180
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942181
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942182
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942183
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942184
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942185
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002317]] [test:817 master]
942186
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942187
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942188
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8190000000001863]] [test:817 master]
942189
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942190
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942191
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:817 master]
942192
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942193
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942194
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 1238]] [test:817 master]
942195
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942196
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" [test:817 master]
942197
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2317) [test:818 master]
942198
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1863) [1:819 master]
942199
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1238) [test:817 master]
942200
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = 2317 [test:818 master]
942201
+  (0.1ms) ROLLBACK [1:819 master]
942202
+  (0.1ms) ROLLBACK [test:818 master]
942203
+  (0.1ms) BEGIN [test:817 master]
942204
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942205
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942206
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942207
+  (0.1ms) BEGIN [1:819 master]
942208
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942209
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942210
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942211
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942212
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942213
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942214
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942215
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8180000000002318]] [test:817 master]
942216
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942217
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942218
+ SQL (0.2ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 590], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:817 master]
942219
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942220
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942221
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8190000000001864]] [test:818 master]
942222
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942223
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942224
+ SQL (0.2ms) INSERT INTO "digits" ("appendage_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["appendage_id", 8180000000002145], ["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:817 master]
942225
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942226
+ Digit Load (0.2ms) SELECT "digits".* FROM "digits" [test:817 master]
942227
+ Appendage Load (0.3ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."id" IN (590) [test:817 master]
942228
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."id" IN (2145) [test:818 master]
942229
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2318) [test:818 master]
942230
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1864) [1:819 master]
942231
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = 2318 [test:818 master]
942232
+  (0.2ms) ROLLBACK [1:819 master]
942233
+  (0.1ms) ROLLBACK [test:818 master]
942234
+  (0.1ms) BEGIN [test:817 master]
942235
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942236
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942237
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942238
+  (0.1ms) BEGIN [1:819 master]
942239
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942240
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942241
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942242
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942243
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942244
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942245
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942246
+ SQL (0.6ms) INSERT INTO "roots" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8190000000001865]] [test:817 master]
942247
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942248
+ Root Load (0.4ms) SELECT "roots".* FROM "roots" WHERE "roots"."id" = $1 LIMIT 1 [["id", 49]] [test:817 master]
942249
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1865]] [1:819 master]
942250
+  (0.1ms) ROLLBACK [1:819 master]
942251
+  (0.1ms) ROLLBACK [test:817 master]
942252
+  (0.1ms) BEGIN [test:817 master]
942253
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942254
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942255
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942256
+  (0.1ms) BEGIN [1:819 master]
942257
+  (0.2ms) SAVEPOINT active_record_1 [test:818 master]
942258
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942259
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942260
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942261
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942262
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942263
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942264
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:817 master]
942265
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942266
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
942267
+ SQL (3.9ms) INSERT INTO "features" ("created_at", "owner_id", "owner_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["owner_id", 591], ["owner_type", "Appendage"], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:817 master]
942268
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942269
+ Feature Load (0.5ms) SELECT "features".* FROM "features" WHERE "features"."id" = $1 LIMIT 1 [["id", 51]] [test:817 master]
942270
+ Appendage Load (0.4ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."id" = $1 LIMIT 1 [["id", 591]] [test:817 master]
942271
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942272
+ SQL (0.4ms) UPDATE "features" SET "owner_id" = $1, "owner_type" = $2, "updated_at" = $3 WHERE "features"."id" = 51 [["owner_id", 8180000000002320], ["owner_type", "User"], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:817 master]
942273
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942274
+ Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = $1 LIMIT 1 [["id", 51]] [test:817 master]
942275
+  (0.2ms) ROLLBACK [1:819 master]
942276
+  (0.1ms) ROLLBACK [test:817 master]
942277
+  (0.1ms) BEGIN [test:817 master]
942278
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942279
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942280
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942281
+  (0.1ms) BEGIN [1:819 master]
942282
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942283
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942284
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942285
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942286
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942287
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942288
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942289
+ SQL (3.5ms) INSERT INTO "features" ("created_at", "owner_id", "owner_type", "updated_at", "value") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["owner_id", 2321], ["owner_type", "User"], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["value", 1]] [test:818 master]
942290
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942291
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942292
+ SQL (3.0ms) INSERT INTO "features" ("created_at", "owner_id", "owner_type", "updated_at", "value") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["owner_id", 8180000000002321], ["owner_type", "User"], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["value", 2]] [1:819 master]
942293
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942294
+ Feature Load (0.4ms) SELECT "features".* FROM "features" WHERE "features"."owner_id" = $1 AND "features"."owner_type" = $2 [["owner_id", 2321], ["owner_type", "User"]] [test:818 master]
942295
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2321]] [test:818 master]
942296
+ Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."owner_id" = $1 AND "features"."owner_type" = $2 [["owner_id", 2321], ["owner_type", "User"]] [test:818 master]
942297
+ Feature Load (0.7ms) SELECT "features".* FROM "features" WHERE "features"."owner_id" = $1 AND "features"."owner_type" = $2 [["owner_id", 8180000000002321], ["owner_type", "User"]] [1:819 master]
942298
+  (0.1ms) ROLLBACK [1:819 master]
942299
+  (0.1ms) ROLLBACK [test:818 master]
942300
+  (0.1ms) BEGIN [test:817 master]
942301
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942302
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942303
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942304
+  (0.1ms) BEGIN [1:819 master]
942305
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942306
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942307
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942308
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942309
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942310
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942311
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942312
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942313
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942314
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942315
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2322]] [test:818 master]
942316
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 2322]] [test:818 master]
942317
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942318
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."id" = $1 LIMIT 1 [["id", 2146]] [test:818 master]
942319
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2322]] [test:818 master]
942320
+  (0.2ms) ROLLBACK [1:819 master]
942321
+  (0.1ms) ROLLBACK [test:818 master]
942322
+  (0.1ms) BEGIN [test:817 master]
942323
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942324
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942325
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942326
+  (0.1ms) BEGIN [1:819 master]
942327
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942328
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942329
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942330
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942331
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [1:819 master]
942332
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942333
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942334
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["user_id", 8190000000001869]] [test:818 master]
942335
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942336
+ Appendage Load (0.2ms) SELECT "appendages".* FROM "appendages" WHERE "appendages"."id" = $1 LIMIT 1 [["id", 2147]] [test:818 master]
942337
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1869]] [1:819 master]
942338
+  (0.2ms) ROLLBACK [1:819 master]
942339
+  (0.1ms) ROLLBACK [test:818 master]
942340
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
942341
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942342
+  (0.1ms) BEGIN [test:817 master]
942343
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942344
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942345
+  (0.3ms) COMMIT [test:817 master]
942346
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942347
+  (0.1ms) BEGIN [test:817 master]
942348
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942349
+  (0.4ms) COMMIT [test:817 master]
942350
+  (0.1ms) BEGIN [test:817 master]
942351
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942352
+  (0.3ms) COMMIT [test:817 master]
942353
+  (0.1ms) BEGIN [test:817 master]
942354
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942355
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942356
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942357
+  (0.1ms) BEGIN [1:819 master]
942358
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942359
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942360
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942361
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942362
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:818 master]
942363
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942364
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942365
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:44 UTC +00:00]] [test:817 master]
942366
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942367
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:818 master]
942368
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942369
+  (0.1ms) ROLLBACK [1:819 master]
942370
+  (0.1ms) ROLLBACK [test:817 master]
942371
+  (0.1ms) BEGIN [test:817 master]
942372
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942373
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942374
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942375
+  (0.1ms) BEGIN [1:819 master]
942376
+  (0.1ms) ROLLBACK [1:819 master]
942377
+  (0.1ms) ROLLBACK [test:817 master]
942378
+  (0.1ms) BEGIN [test:817 master]
942379
+ Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942380
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942381
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942382
+  (0.1ms) BEGIN [1:819 master]
942383
+  (0.1ms) ROLLBACK [1:819 master]
942384
+  (0.1ms) ROLLBACK [test:817 master]
942385
+  (0.1ms) BEGIN [test:817 master]
942386
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942387
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942388
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942389
+  (0.1ms) BEGIN [1:819 master]
942390
+  (0.1ms) ROLLBACK [1:819 master]
942391
+  (0.1ms) ROLLBACK [test:817 master]
942392
+  (0.1ms) BEGIN [test:817 master]
942393
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942394
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942395
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942396
+  (0.1ms) BEGIN [1:819 master]
942397
+  (0.1ms) ROLLBACK [1:819 master]
942398
+  (0.1ms) ROLLBACK [test:817 master]
942399
+  (0.1ms) BEGIN [test:817 master]
942400
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942401
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942402
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942403
+  (0.1ms) BEGIN [1:819 master]
942404
+  (0.1ms) ROLLBACK [1:819 master]
942405
+  (0.1ms) ROLLBACK [test:817 master]
942406
+  (0.1ms) BEGIN [test:817 master]
942407
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942408
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942409
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942410
+  (0.1ms) BEGIN [1:819 master]
942411
+  (0.1ms) ROLLBACK [1:819 master]
942412
+  (0.1ms) ROLLBACK [test:817 master]
942413
+  (0.1ms) BEGIN [test:817 master]
942414
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942415
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942416
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942417
+  (0.1ms) BEGIN [1:819 master]
942418
+  (0.1ms) ROLLBACK [1:819 master]
942419
+  (0.1ms) ROLLBACK [test:817 master]
942420
+  (0.1ms) BEGIN [test:817 master]
942421
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942422
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942423
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942424
+  (0.1ms) BEGIN [1:819 master]
942425
+ User Load (0.7ms) SELECT "users".* FROM "users" [test:817 master]
942426
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942427
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942428
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942429
+  (0.2ms) ROLLBACK [1:819 master]
942430
+  (0.1ms) ROLLBACK [test:817 master]
942431
+  (0.1ms) BEGIN [test:817 master]
942432
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942433
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942434
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942435
+  (0.1ms) BEGIN [1:819 master]
942436
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942437
+  (0.1ms) BEGIN [test:817 master]
942438
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942439
+  (1.1ms) COMMIT [test:817 master]
942440
+  (0.1ms) ROLLBACK [1:819 master]
942441
+  (0.1ms) ROLLBACK [test:817 master]
942442
+  (0.1ms) BEGIN [test:817 master]
942443
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942444
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942445
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942446
+  (0.1ms) BEGIN [1:819 master]
942447
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942448
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942449
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942450
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942451
+  (0.1ms) ROLLBACK [1:819 master]
942452
+  (0.2ms) ROLLBACK [test:817 master]
942453
+  (0.2ms) BEGIN [test:817 master]
942454
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942455
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942456
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942457
+  (0.1ms) BEGIN [1:819 master]
942458
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942459
+  (0.1ms) BEGIN [test:817 master]
942460
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942461
+  (0.4ms) COMMIT [test:817 master]
942462
+  (0.2ms) ROLLBACK [1:819 master]
942463
+  (0.1ms) ROLLBACK [test:817 master]
942464
+  (0.1ms) BEGIN [test:817 master]
942465
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942466
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942467
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942468
+  (0.1ms) BEGIN [1:819 master]
942469
+ User Load (0.2ms) SELECT "users".* FROM "users" FOR UPDATE [test:817 master]
942470
+  (0.1ms) ROLLBACK [1:819 master]
942471
+  (0.1ms) ROLLBACK [test:817 master]
942472
+  (0.1ms) BEGIN [test:817 master]
942473
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942474
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942475
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942476
+  (0.1ms) BEGIN [1:819 master]
942477
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942478
+  (0.1ms) ROLLBACK [1:819 master]
942479
+  (0.1ms) ROLLBACK [test:817 master]
942480
+  (0.1ms) BEGIN [test:817 master]
942481
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942482
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942483
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942484
+  (0.1ms) BEGIN [1:819 master]
942485
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942486
+  (0.1ms) ROLLBACK [1:819 master]
942487
+  (0.1ms) ROLLBACK [test:817 master]
942488
+  (0.1ms) BEGIN [test:817 master]
942489
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942490
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942491
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942492
+  (0.1ms) BEGIN [1:819 master]
942493
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942494
+  (0.1ms) ROLLBACK [1:819 master]
942495
+  (0.1ms) ROLLBACK [test:817 master]
942496
+  (0.1ms) BEGIN [test:817 master]
942497
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942498
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942499
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942500
+  (0.1ms) BEGIN [1:819 master]
942501
+  (0.1ms) ROLLBACK [1:819 master]
942502
+  (0.1ms) ROLLBACK [test:817 master]
942503
+  (0.1ms) BEGIN [test:817 master]
942504
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942505
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942506
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942507
+  (0.1ms) BEGIN [1:819 master]
942508
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
942509
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942510
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942511
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942512
+ SQL (0.2ms) UPDATE "users" SET "updated_at" = '2015-10-14 12:32:45.091528' [test:817 master]
942513
+  (0.2ms) ROLLBACK [1:819 master]
942514
+  (0.1ms) ROLLBACK [test:817 master]
942515
+  (0.1ms) BEGIN [test:817 master]
942516
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942517
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942518
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942519
+  (0.1ms) BEGIN [1:819 master]
942520
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942521
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942522
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942523
+ User Load (0.3ms) SELECT "users".* FROM "users" [test:817 master]
942524
+ SQL (0.2ms) UPDATE "users" SET "updated_at" = '2015-10-14 12:32:45.099035' [test:817 master]
942525
+  (0.2ms) ROLLBACK [1:819 master]
942526
+  (0.1ms) ROLLBACK [test:817 master]
942527
+  (0.2ms) BEGIN [test:817 master]
942528
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942529
+  (0.4ms) COMMIT [test:817 master]
942530
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942531
+ SQL (0.5ms) UPDATE "users" SET "updated_at" = '2015-10-14 12:32:45.103673' [test:817 master]
942532
+ SQL (0.4ms) DELETE FROM "users" [test:817 master]
942533
+  (0.1ms) BEGIN [test:817 master]
942534
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942535
+  (0.4ms) COMMIT [test:817 master]
942536
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942537
+ SQL (0.4ms) UPDATE "users" SET "updated_at" = '2015-10-14 12:32:45.108948' [test:817 master]
942538
+ SQL (0.4ms) DELETE FROM "users" [test:817 master]
942539
+  (0.1ms) BEGIN [test:817 master]
942540
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942541
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942542
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942543
+  (0.2ms) BEGIN [1:819 master]
942544
+  (0.1ms) ROLLBACK [1:819 master]
942545
+  (0.1ms) ROLLBACK [test:817 master]
942546
+  (0.1ms) BEGIN [test:817 master]
942547
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942548
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942549
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942550
+  (0.1ms) BEGIN [1:819 master]
942551
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942552
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942553
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942554
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942555
+ SQL (0.2ms) DELETE FROM "users" [test:817 master]
942556
+  (0.1ms) ROLLBACK [1:819 master]
942557
+  (0.1ms) ROLLBACK [test:817 master]
942558
+  (0.1ms) BEGIN [test:817 master]
942559
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942560
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942561
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942562
+  (0.1ms) BEGIN [1:819 master]
942563
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942564
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942565
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942566
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942567
+ SQL (0.2ms) DELETE FROM "users" [test:817 master]
942568
+  (0.1ms) ROLLBACK [1:819 master]
942569
+  (0.1ms) ROLLBACK [test:817 master]
942570
+  (0.1ms) BEGIN [test:817 master]
942571
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942572
+  (0.4ms) COMMIT [test:817 master]
942573
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942574
+ SQL (0.5ms) DELETE FROM "users" [test:817 master]
942575
+ SQL (0.2ms) DELETE FROM "users" [test:817 master]
942576
+  (0.1ms) BEGIN [test:817 master]
942577
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942578
+  (0.4ms) COMMIT [test:817 master]
942579
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:817 master]
942580
+ SQL (0.5ms) DELETE FROM "users" [test:817 master]
942581
+ SQL (0.2ms) DELETE FROM "users" [test:817 master]
942582
+  (0.1ms) BEGIN [test:817 master]
942583
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942584
+  (0.5ms) COMMIT [test:817 master]
942585
+  (0.1ms) BEGIN [test:817 master]
942586
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "a"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942587
+  (0.3ms) COMMIT [test:817 master]
942588
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1253]] [test:817 master]
942589
+ CACHE (0.0ms) 817::SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1253]]
942590
+ CACHE (0.0ms) 817::SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1253]]
942591
+  (0.1ms) BEGIN [test:817 master]
942592
+ SQL (0.4ms) UPDATE "users" SET "name" = $1, "updated_at" = $2 WHERE "users"."id" = 1253 [["name", "b"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942593
+  (0.4ms) COMMIT [test:817 master]
942594
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1253]] [test:817 master]
942595
+ CACHE (0.0ms) 817::SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1253]]
942596
+ SQL (0.5ms) DELETE FROM "users" [test:817 master]
942597
+  (0.1ms) BEGIN [test:817 master]
942598
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942599
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942600
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942601
+  (0.1ms) BEGIN [1:819 master]
942602
+  (0.1ms) ROLLBACK [1:819 master]
942603
+  (0.2ms) ROLLBACK [test:817 master]
942604
+  (0.1ms) BEGIN [test:817 master]
942605
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942606
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942607
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942608
+  (0.1ms) BEGIN [1:819 master]
942609
+  (0.1ms) ROLLBACK [1:819 master]
942610
+  (0.1ms) ROLLBACK [test:817 master]
942611
+  (0.1ms) BEGIN [test:817 master]
942612
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942613
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942614
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942615
+  (0.2ms) BEGIN [1:819 master]
942616
+  (0.1ms) ROLLBACK [1:819 master]
942617
+  (0.1ms) ROLLBACK [test:817 master]
942618
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
942619
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942620
+  (0.1ms) BEGIN [test:817 master]
942621
+  (0.1ms) ROLLBACK [test:817 master]
942622
+  (0.1ms) BEGIN [test:817 master]
942623
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942624
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942625
+  (0.3ms) COMMIT [test:817 master]
942626
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942627
+  (0.1ms) BEGIN [test:817 master]
942628
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942629
+  (0.3ms) COMMIT [test:817 master]
942630
+  (0.1ms) BEGIN [test:817 master]
942631
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942632
+  (0.3ms) COMMIT [test:817 master]
942633
+  (0.1ms) BEGIN [test:817 master]
942634
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942635
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942636
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942637
+  (0.1ms) BEGIN [1:819 master]
942638
+  (0.1ms) ROLLBACK [1:819 master]
942639
+  (0.1ms) ROLLBACK [test:817 master]
942640
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
942641
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942642
+  (0.1ms) BEGIN [test:817 master]
942643
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942644
+ SQL (0.6ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942645
+  (0.3ms) COMMIT [test:817 master]
942646
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942647
+  (0.1ms) BEGIN [test:817 master]
942648
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942649
+  (0.3ms) COMMIT [test:817 master]
942650
+  (0.1ms) BEGIN [test:817 master]
942651
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942652
+  (0.2ms) COMMIT [test:817 master]
942653
+  (0.1ms) BEGIN [test:817 master]
942654
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942655
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942656
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942657
+  (0.1ms) BEGIN [1:819 master]
942658
+  (0.1ms) ROLLBACK [1:819 master]
942659
+  (0.1ms) ROLLBACK [test:817 master]
942660
+  (0.1ms) BEGIN [test:817 master]
942661
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942662
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942663
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942664
+  (0.1ms) BEGIN [1:819 master]
942665
+  (0.1ms) ROLLBACK [1:819 master]
942666
+  (0.1ms) ROLLBACK [test:817 master]
942667
+  (0.1ms) BEGIN [test:817 master]
942668
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942669
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942670
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942671
+  (0.1ms) BEGIN [1:819 master]
942672
+  (0.1ms) ROLLBACK [1:819 master]
942673
+  (0.1ms) ROLLBACK [test:817 master]
942674
+  (0.1ms) BEGIN [test:817 master]
942675
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942676
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942677
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942678
+  (0.1ms) BEGIN [1:819 master]
942679
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id IN (818,819)) AND "switchman_shards"."id" IN (817, 818) [test:817 master]
942680
+  (0.1ms) ROLLBACK [1:819 master]
942681
+  (0.1ms) ROLLBACK [test:817 master]
942682
+  (0.1ms) BEGIN [test:817 master]
942683
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942684
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942685
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942686
+  (0.1ms) BEGIN [1:819 master]
942687
+  (0.1ms) ROLLBACK [1:819 master]
942688
+  (0.1ms) ROLLBACK [test:817 master]
942689
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
942690
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942691
+  (0.1ms) BEGIN [test:817 master]
942692
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942693
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942694
+  (0.4ms) COMMIT [test:817 master]
942695
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942696
+  (0.1ms) BEGIN [test:817 master]
942697
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942698
+  (0.3ms) COMMIT [test:817 master]
942699
+  (0.1ms) BEGIN [test:817 master]
942700
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942701
+  (0.3ms) COMMIT [test:817 master]
942702
+  (0.1ms) BEGIN [test:817 master]
942703
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942704
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942705
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942706
+  (0.1ms) BEGIN [1:819 master]
942707
+  (0.1ms) ROLLBACK [1:819 master]
942708
+  (0.1ms) ROLLBACK [test:817 master]
942709
+  (0.1ms) BEGIN [test:817 master]
942710
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942711
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942712
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942713
+  (0.1ms) BEGIN [1:819 master]
942714
+  (0.1ms) ROLLBACK [1:819 master]
942715
+  (0.1ms) ROLLBACK [test:817 master]
942716
+  (0.1ms) BEGIN [test:817 master]
942717
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942718
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942719
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942720
+  (0.1ms) BEGIN [1:819 master]
942721
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942722
+ SQL (3.2ms) INSERT INTO "mirror_users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942723
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942724
+ MirrorUser Load (0.3ms) SELECT "mirror_users".* FROM "mirror_users" WHERE "mirror_users"."id" = $1 LIMIT 1 [["id", 29]] [test:817 master]
942725
+ MirrorUser Load (0.2ms) SELECT "mirror_users".* FROM "mirror_users" WHERE "mirror_users"."id" = $1 LIMIT 1 [["id", 29]] [test:817 master]
942726
+ MirrorUser Load (1.3ms) SELECT "mirror_users".* FROM "mirror_users" WHERE "mirror_users"."id" = 29 ORDER BY "mirror_users"."id" ASC LIMIT 1 [test:818 master]
942727
+  (0.1ms) ROLLBACK [1:819 master]
942728
+  (0.1ms) ROLLBACK [test:818 master]
942729
+  (0.1ms) BEGIN [test:817 master]
942730
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942731
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942732
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942733
+  (0.1ms) BEGIN [1:819 master]
942734
+  (0.1ms) ROLLBACK [1:819 master]
942735
+  (0.1ms) ROLLBACK [test:817 master]
942736
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
942737
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942738
+  (0.1ms) BEGIN [test:817 master]
942739
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942740
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942741
+  (0.3ms) COMMIT [test:817 master]
942742
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942743
+  (0.1ms) BEGIN [test:817 master]
942744
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942745
+  (0.3ms) COMMIT [test:817 master]
942746
+  (0.1ms) BEGIN [test:817 master]
942747
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942748
+  (0.3ms) COMMIT [test:817 master]
942749
+  (0.1ms) BEGIN [test:817 master]
942750
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942751
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942752
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942753
+  (0.1ms) BEGIN [1:819 master]
942754
+  (0.0ms) SAVEPOINT active_record_1 [test:818 master]
942755
+ SQL (0.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:33:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:33:45 UTC +00:00]] [test:818 master]
942756
+  (0.0ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942757
+  (0.0ms) ROLLBACK [1:819 master]
942758
+  (0.1ms) ROLLBACK [test:818 master]
942759
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:817 master]
942760
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942761
+  (0.1ms) BEGIN [test:817 master]
942762
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942763
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942764
+  (0.3ms) COMMIT [test:817 master]
942765
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942766
+  (0.1ms) BEGIN [test:817 master]
942767
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942768
+  (0.3ms) COMMIT [test:817 master]
942769
+  (0.1ms) BEGIN [test:817 master]
942770
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942771
+  (0.3ms) COMMIT [test:817 master]
942772
+  (0.1ms) BEGIN [test:817 master]
942773
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942774
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942775
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942776
+  (0.1ms) BEGIN [1:819 master]
942777
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942778
+ SQL (1.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
942779
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942780
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942781
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [test:818 master]
942782
+  (0.2ms) ROLLBACK [1:819 master]
942783
+  (0.2ms) ROLLBACK [test:818 master]
942784
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
942785
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942786
+  (0.1ms) BEGIN [test:817 master]
942787
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942788
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942789
+  (0.3ms) COMMIT [test:817 master]
942790
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942791
+  (0.1ms) BEGIN [test:817 master]
942792
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942793
+  (0.3ms) COMMIT [test:817 master]
942794
+  (0.1ms) BEGIN [test:817 master]
942795
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942796
+  (0.3ms) COMMIT [test:817 master]
942797
+  (0.1ms) BEGIN [test:817 master]
942798
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942799
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942800
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942801
+  (0.1ms) BEGIN [1:819 master]
942802
+  (0.1ms) ROLLBACK [1:819 master]
942803
+  (0.1ms) ROLLBACK [test:817 master]
942804
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
942805
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942806
+  (0.1ms) BEGIN [test:817 master]
942807
+  (0.2ms) ROLLBACK [test:817 master]
942808
+  (0.1ms) BEGIN [test:817 master]
942809
+  (0.1ms) ROLLBACK [test:817 master]
942810
+  (0.1ms) BEGIN [test:817 master]
942811
+  (0.3ms) SELECT COUNT(*) FROM "switchman_shards" [test:817 master]
942812
+  (0.1ms) ROLLBACK [test:817 master]
942813
+  (0.1ms) BEGIN [test:817 master]
942814
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942815
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942816
+  (0.3ms) COMMIT [test:817 master]
942817
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942818
+  (0.1ms) BEGIN [test:817 master]
942819
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942820
+  (0.3ms) COMMIT [test:817 master]
942821
+  (0.1ms) BEGIN [test:817 master]
942822
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942823
+  (0.3ms) COMMIT [test:817 master]
942824
+  (0.1ms) BEGIN [1:819 master]
942825
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942826
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
942827
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942828
+  (0.1ms) BEGIN [test:817 master]
942829
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942830
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942831
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942832
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942833
+  (0.2ms) SELECT COUNT(*) FROM "users" [1:819 master]
942834
+  (0.1ms) SAVEPOINT active_record_2 [1:819 master]
942835
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
942836
+  (0.1ms) RELEASE SAVEPOINT active_record_2 [1:819 master]
942837
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [1:819 master]
942838
+  (0.1ms) ROLLBACK [test:817 master]
942839
+  (0.2ms) SELECT COUNT(*) FROM "users" [1:819 master]
942840
+  (0.1ms) ROLLBACK [1:819 master]
942841
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
942842
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942843
+  (0.1ms) BEGIN [test:817 master]
942844
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942845
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "8"]] [test:817 master]
942846
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942847
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942848
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "8"]] [test:817 master]
942849
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942850
+  (0.1ms) ROLLBACK [test:817 master]
942851
+  (0.1ms) BEGIN [test:817 master]
942852
+  (0.1ms) ROLLBACK [test:817 master]
942853
+  (0.1ms) BEGIN [test:817 master]
942854
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942855
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942856
+  (0.3ms) COMMIT [test:817 master]
942857
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942858
+  (0.1ms) BEGIN [test:817 master]
942859
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942860
+  (0.3ms) COMMIT [test:817 master]
942861
+  (0.1ms) BEGIN [test:817 master]
942862
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942863
+  (0.2ms) COMMIT [test:817 master]
942864
+  (0.1ms) BEGIN [test:817 master]
942865
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942866
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942867
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942868
+  (0.1ms) BEGIN [1:819 master]
942869
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942870
+ SQL (0.9ms) INSERT INTO "appendages" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942871
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942872
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 818 LIMIT 1 [test:817 master]
942873
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 819 LIMIT 1 [test:817 master]
942874
+  (0.2ms) ROLLBACK [1:819 master]
942875
+  (0.1ms) ROLLBACK [test:817 master]
942876
+  (0.1ms) BEGIN [test:817 master]
942877
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942878
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942879
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942880
+  (0.1ms) BEGIN [1:819 master]
942881
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942882
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942883
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942884
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942885
+ SQL (0.3ms) INSERT INTO "features" ("created_at", "owner_id", "owner_type", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["owner_id", 1254], ["owner_type", "User"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942886
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942887
+ Feature Load (0.3ms) SELECT owner_id FROM "features" WHERE "features"."id" = 52 ORDER BY "features"."id" ASC LIMIT 1 [test:817 master]
942888
+  (0.1ms) ROLLBACK [1:819 master]
942889
+  (0.1ms) ROLLBACK [test:817 master]
942890
+  (0.1ms) BEGIN [test:817 master]
942891
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942892
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942893
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942894
+  (0.1ms) BEGIN [1:819 master]
942895
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
942896
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
942897
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
942898
+  (0.1ms) ROLLBACK [1:819 master]
942899
+  (0.1ms) ROLLBACK [test:817 master]
942900
+  (0.1ms) BEGIN [test:817 master]
942901
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942902
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942903
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942904
+  (0.1ms) BEGIN [1:819 master]
942905
+  (0.1ms) ROLLBACK [1:819 master]
942906
+  (0.1ms) ROLLBACK [test:817 master]
942907
+ SQL (5.6ms) DELETE FROM "switchman_shards" [test:817 master]
942908
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942909
+  (0.1ms) BEGIN [test:817 master]
942910
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
942911
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
942912
+  (0.4ms) COMMIT [test:817 master]
942913
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942914
+  (0.1ms) BEGIN [test:817 master]
942915
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
942916
+  (0.3ms) COMMIT [test:817 master]
942917
+  (0.1ms) BEGIN [test:817 master]
942918
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
942919
+  (0.2ms) COMMIT [test:817 master]
942920
+  (0.1ms) BEGIN [test:817 master]
942921
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942922
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942923
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942924
+  (0.1ms) BEGIN [1:819 master]
942925
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942926
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
942927
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942928
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942929
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
942930
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942931
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942932
+ SQL (1.5ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2328], ["value", 1]] [test:818 master]
942933
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942934
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 819 LIMIT 1 [test:817 master]
942935
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942936
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8190000000001872], ["value", 3]] [test:818 master]
942937
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942938
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 818 LIMIT 1 [test:817 master]
942939
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942940
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8180000000002328], ["value", 2]] [1:819 master]
942941
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942942
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942943
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1872], ["value", 4]] [1:819 master]
942944
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942945
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942946
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1872], ["value", 5]] [1:819 master]
942947
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942948
+  (0.8ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
942949
+  (0.6ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
942950
+  (0.8ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
942951
+  (0.5ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
942952
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
942953
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
942954
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, user_id AS user_id FROM "appendages" GROUP BY user_id [test:818 master]
942955
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2328) [test:818 master]
942956
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1872) [1:819 master]
942957
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, user_id AS user_id FROM "appendages" GROUP BY user_id [1:819 master]
942958
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1872) [1:819 master]
942959
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2328) [test:818 master]
942960
+  (0.1ms) ROLLBACK [1:819 master]
942961
+  (0.1ms) ROLLBACK [test:818 master]
942962
+  (0.1ms) BEGIN [test:817 master]
942963
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
942964
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
942965
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
942966
+  (0.2ms) BEGIN [1:819 master]
942967
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942968
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
942969
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942970
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942971
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
942972
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942973
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942974
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2329], ["value", 1]] [test:818 master]
942975
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942976
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
942977
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8190000000001873], ["value", 3]] [test:818 master]
942978
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
942979
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942980
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8180000000002329], ["value", 2]] [1:819 master]
942981
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942982
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942983
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1873], ["value", 4]] [1:819 master]
942984
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942985
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
942986
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1873], ["value", 5]] [1:819 master]
942987
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
942988
+  (0.3ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
942989
+  (0.3ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
942990
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
942991
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
942992
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
942993
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
942994
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [test:818 master]
942995
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2329) [test:818 master]
942996
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1873) [1:819 master]
942997
+  (0.3ms) SELECT MAX("appendages"."value") AS maximum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [1:819 master]
942998
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1873) [1:819 master]
942999
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2329) [test:818 master]
943000
+  (0.1ms) ROLLBACK [1:819 master]
943001
+  (0.2ms) ROLLBACK [test:818 master]
943002
+  (0.1ms) BEGIN [test:817 master]
943003
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943004
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943005
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943006
+  (0.1ms) BEGIN [1:819 master]
943007
+  (0.2ms) SAVEPOINT active_record_1 [test:818 master]
943008
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943009
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943010
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943011
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943012
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943013
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943014
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2330], ["value", 1]] [test:818 master]
943015
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943016
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943017
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8190000000001874], ["value", 3]] [test:818 master]
943018
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943019
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943020
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8180000000002330], ["value", 2]] [1:819 master]
943021
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943022
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943023
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1874], ["value", 4]] [1:819 master]
943024
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943025
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943026
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1874], ["value", 5]] [1:819 master]
943027
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943028
+  (0.3ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
943029
+  (0.3ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
943030
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
943031
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
943032
+  (0.3ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
943033
+  (0.3ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
943034
+  (0.2ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY user_id [test:818 master]
943035
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2330) [test:818 master]
943036
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1874) [1:819 master]
943037
+  (0.2ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY user_id [1:819 master]
943038
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1874) [1:819 master]
943039
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2330) [test:818 master]
943040
+  (0.2ms) ROLLBACK [1:819 master]
943041
+  (0.1ms) ROLLBACK [test:818 master]
943042
+  (0.1ms) BEGIN [test:817 master]
943043
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943044
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943045
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943046
+  (0.1ms) BEGIN [1:819 master]
943047
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943048
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943049
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943050
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943051
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943052
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943053
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943054
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2331], ["value", 1]] [test:818 master]
943055
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943056
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943057
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8190000000001875], ["value", 3]] [test:818 master]
943058
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943059
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943060
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8180000000002331], ["value", 2]] [1:819 master]
943061
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943062
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943063
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1875], ["value", 4]] [1:819 master]
943064
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943065
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943066
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1875], ["value", 5]] [1:819 master]
943067
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943068
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943069
+ SQL (0.6ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2331]] [test:818 master]
943070
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943071
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943072
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943073
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943074
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943075
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2332]] [test:818 master]
943076
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943077
+  (0.3ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY user_id ORDER BY COUNT(*) DESC LIMIT 1 [test:818 master]
943078
+  (0.2ms) ROLLBACK [1:819 master]
943079
+  (0.1ms) ROLLBACK [test:818 master]
943080
+  (0.1ms) BEGIN [test:817 master]
943081
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943082
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943083
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943084
+  (0.1ms) BEGIN [1:819 master]
943085
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943086
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943087
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943088
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943089
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943090
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943091
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943092
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2333], ["value", 1]] [test:818 master]
943093
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943094
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943095
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8190000000001876], ["value", 3]] [test:818 master]
943096
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943097
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943098
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8180000000002333], ["value", 2]] [1:819 master]
943099
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943100
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943101
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1876], ["value", 4]] [1:819 master]
943102
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943103
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943104
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1876], ["value", 5]] [1:819 master]
943105
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943106
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
943107
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
943108
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
943109
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
943110
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
943111
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
943112
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [test:818 master]
943113
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2333) [test:818 master]
943114
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1876) [1:819 master]
943115
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [1:819 master]
943116
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1876) [1:819 master]
943117
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2333) [test:818 master]
943118
+  (0.2ms) ROLLBACK [1:819 master]
943119
+  (0.1ms) ROLLBACK [test:818 master]
943120
+  (0.1ms) BEGIN [test:817 master]
943121
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943122
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943123
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943124
+  (0.1ms) BEGIN [1:819 master]
943125
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943126
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943127
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943128
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943129
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943130
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943131
+  (0.2ms) SAVEPOINT active_record_1 [test:818 master]
943132
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2334], ["value", 1]] [test:818 master]
943133
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943134
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943135
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8190000000001877], ["value", 3]] [test:818 master]
943136
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943137
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943138
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 8180000000002334], ["value", 2]] [1:819 master]
943139
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943140
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943141
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1877], ["value", 4]] [1:819 master]
943142
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943143
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943144
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1877], ["value", 5]] [1:819 master]
943145
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943146
+  (0.7ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
943147
+  (0.3ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
943148
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
943149
+  (0.3ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
943150
+  (0.4ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:818 master]
943151
+  (0.3ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:819 master]
943152
+  (0.3ms) SELECT MIN("appendages"."value") AS minimum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [test:818 master]
943153
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2334) [test:818 master]
943154
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1877) [1:819 master]
943155
+  (0.3ms) SELECT MIN("appendages"."value") AS minimum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [1:819 master]
943156
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1877) [1:819 master]
943157
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2334) [test:818 master]
943158
+  (0.2ms) ROLLBACK [1:819 master]
943159
+  (0.2ms) ROLLBACK [test:818 master]
943160
+  (0.1ms) BEGIN [test:817 master]
943161
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943162
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943163
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943164
+  (0.2ms) BEGIN [1:819 master]
943165
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943166
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943167
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943168
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943169
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2335]] [test:818 master]
943170
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943171
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943172
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943173
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943174
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943175
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1878]] [1:819 master]
943176
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943177
+  (0.3ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2162 [test:818 master]
943178
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2296 [1:819 master]
943179
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2162 [test:818 master]
943180
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2296 [1:819 master]
943181
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2162 [test:818 master]
943182
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2296 [1:819 master]
943183
+  (0.1ms) ROLLBACK [1:819 master]
943184
+  (0.1ms) ROLLBACK [test:818 master]
943185
+  (0.1ms) BEGIN [test:817 master]
943186
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943187
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943188
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943189
+  (0.1ms) BEGIN [1:819 master]
943190
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943191
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943192
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943193
+  (0.2ms) SAVEPOINT active_record_1 [test:818 master]
943194
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2336]] [test:818 master]
943195
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943196
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943197
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943198
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943199
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943200
+ SQL (1.0ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1879]] [1:819 master]
943201
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943202
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
943203
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
943204
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943205
+  (0.4ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (1256) [test:817 master]
943206
+  (0.3ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (2336) [test:818 master]
943207
+  (1.0ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (1879) [1:819 master]
943208
+  (3.4ms) ROLLBACK [1:819 master]
943209
+  (0.3ms) ROLLBACK [test:818 master]
943210
+  (0.5ms) BEGIN [test:817 master]
943211
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943212
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943213
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943214
+  (0.1ms) BEGIN [1:819 master]
943215
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943216
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943217
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943218
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943219
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2337]] [test:818 master]
943220
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943221
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943222
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943223
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943224
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943225
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1880]] [1:819 master]
943226
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943227
+  (0.3ms) SELECT "users"."name" FROM "users" WHERE "users"."id" IN (2337) [test:818 master]
943228
+  (0.2ms) SELECT "users"."name" FROM "users" WHERE "users"."id" IN (1880) [1:819 master]
943229
+  (0.1ms) ROLLBACK [1:819 master]
943230
+  (0.1ms) ROLLBACK [test:818 master]
943231
+  (0.1ms) BEGIN [test:817 master]
943232
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943233
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943234
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943235
+  (0.1ms) BEGIN [1:819 master]
943236
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943237
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943238
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943239
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943240
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2338]] [test:818 master]
943241
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943242
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943243
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943244
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943245
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943246
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1881]] [1:819 master]
943247
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943248
+  (0.3ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2165 [test:818 master]
943249
+  (0.3ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2299 [1:819 master]
943250
+  (0.2ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2165 [test:818 master]
943251
+  (0.2ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2299 [1:819 master]
943252
+  (0.3ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2165 [test:818 master]
943253
+  (0.2ms) SELECT "appendages"."id", "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 2299 [1:819 master]
943254
+  (0.1ms) ROLLBACK [1:819 master]
943255
+  (0.1ms) ROLLBACK [test:818 master]
943256
+  (0.1ms) BEGIN [test:817 master]
943257
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943258
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943259
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943260
+  (0.1ms) BEGIN [1:819 master]
943261
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943262
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943263
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943264
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943265
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2339]] [test:818 master]
943266
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943267
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943268
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943269
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943270
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943271
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1882]] [1:819 master]
943272
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943273
+  (0.7ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2166 [test:818 master]
943274
+  (0.7ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2300 [1:819 master]
943275
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2166 [test:818 master]
943276
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2300 [1:819 master]
943277
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2166 [test:818 master]
943278
+  (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2300 [1:819 master]
943279
+  (0.1ms) ROLLBACK [1:819 master]
943280
+  (0.1ms) ROLLBACK [test:818 master]
943281
+  (0.1ms) BEGIN [test:817 master]
943282
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943283
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943284
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943285
+  (0.1ms) BEGIN [1:819 master]
943286
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943287
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943288
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943289
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943290
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2340]] [test:818 master]
943291
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943292
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943293
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943294
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943295
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943296
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1883]] [1:819 master]
943297
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943298
+  (0.2ms) SELECT "appendages"."user_id" FROM "appendages" [test:818 master]
943299
+  (0.1ms) ROLLBACK [1:819 master]
943300
+  (0.1ms) ROLLBACK [test:818 master]
943301
+  (0.1ms) BEGIN [test:817 master]
943302
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943303
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943304
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943305
+  (0.1ms) BEGIN [1:819 master]
943306
+  (0.2ms) SAVEPOINT active_record_1 [test:818 master]
943307
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943308
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943309
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943310
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2341], ["value", 1]] [test:818 master]
943311
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943312
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943313
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2341], ["value", 2]] [test:818 master]
943314
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943315
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943316
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943317
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943318
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943319
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1884], ["value", 3]] [1:819 master]
943320
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943321
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943322
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1884], ["value", 4]] [1:819 master]
943323
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943324
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943325
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1884], ["value", 5]] [1:819 master]
943326
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943327
+  (0.5ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 2341]] [test:818 master]
943328
+  (0.2ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" [test:818 master]
943329
+  (0.4ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 1884]] [1:819 master]
943330
+  (0.2ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" [1:819 master]
943331
+  (0.4ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."id" IN (2168, 2169) [test:818 master]
943332
+  (0.3ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."id" IN (2302, 2303, 2304) [1:819 master]
943333
+  (0.1ms) ROLLBACK [1:819 master]
943334
+  (0.1ms) ROLLBACK [test:818 master]
943335
+  (0.1ms) BEGIN [test:817 master]
943336
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943337
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943338
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943339
+  (0.1ms) BEGIN [1:819 master]
943340
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943341
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943342
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943343
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943344
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2342], ["value", 1]] [test:818 master]
943345
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943346
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943347
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2342], ["value", 2]] [test:818 master]
943348
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943349
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943350
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943351
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943352
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943353
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1885], ["value", 3]] [1:819 master]
943354
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943355
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943356
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1885], ["value", 4]] [1:819 master]
943357
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943358
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943359
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1885], ["value", 5]] [1:819 master]
943360
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943361
+  (0.5ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 2342]] [test:818 master]
943362
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" [test:818 master]
943363
+  (0.4ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 1885]] [1:819 master]
943364
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" [1:819 master]
943365
+  (0.3ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."id" IN (2170, 2171) [test:818 master]
943366
+  (0.3ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."id" IN (2305, 2306, 2307) [1:819 master]
943367
+  (0.1ms) ROLLBACK [1:819 master]
943368
+  (0.1ms) ROLLBACK [test:818 master]
943369
+  (0.1ms) BEGIN [test:817 master]
943370
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943371
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943372
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943373
+  (0.1ms) BEGIN [1:819 master]
943374
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943375
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943376
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943377
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943378
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2343], ["value", 1]] [test:818 master]
943379
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943380
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943381
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2343], ["value", 2]] [test:818 master]
943382
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943383
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943384
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943385
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943386
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943387
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1886], ["value", 3]] [1:819 master]
943388
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943389
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943390
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1886], ["value", 4]] [1:819 master]
943391
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943392
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943393
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1886], ["value", 5]] [1:819 master]
943394
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943395
+  (0.4ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 2343]] [test:818 master]
943396
+  (0.2ms) SELECT COUNT(*) FROM "appendages" [test:818 master]
943397
+  (0.3ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 1886]] [1:819 master]
943398
+  (0.2ms) SELECT COUNT(*) FROM "appendages" [1:819 master]
943399
+  (0.4ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."id" IN (2172, 2173) [test:818 master]
943400
+  (0.3ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."id" IN (2308, 2309, 2310) [1:819 master]
943401
+  (0.1ms) ROLLBACK [1:819 master]
943402
+  (0.1ms) ROLLBACK [test:818 master]
943403
+  (0.1ms) BEGIN [test:817 master]
943404
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943405
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943406
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943407
+  (0.1ms) BEGIN [1:819 master]
943408
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943409
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943410
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943411
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943412
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2344], ["value", 1]] [test:818 master]
943413
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943414
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943415
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2344], ["value", 2]] [test:818 master]
943416
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943417
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943418
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943419
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943420
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943421
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1887], ["value", 3]] [1:819 master]
943422
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943423
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943424
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1887], ["value", 4]] [1:819 master]
943425
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943426
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943427
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1887], ["value", 5]] [1:819 master]
943428
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943429
+  (1.1ms) SELECT MAX("appendages"."created_at") AS max_id FROM "appendages" WHERE "appendages"."id" IN (2174, 2175) [test:818 master]
943430
+  (0.4ms) SELECT MAX("appendages"."created_at") AS max_id FROM "appendages" WHERE "appendages"."id" IN (2311, 2312, 2313) [1:819 master]
943431
+  (0.1ms) ROLLBACK [1:819 master]
943432
+  (0.1ms) ROLLBACK [test:818 master]
943433
+  (0.2ms) BEGIN [test:817 master]
943434
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943435
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943436
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943437
+  (0.1ms) BEGIN [1:819 master]
943438
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943439
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943440
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943441
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943442
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2345], ["value", 1]] [test:818 master]
943443
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943444
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943445
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2345], ["value", 2]] [test:818 master]
943446
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943447
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943448
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943449
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943450
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943451
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1888], ["value", 3]] [1:819 master]
943452
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943453
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943454
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1888], ["value", 4]] [1:819 master]
943455
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943456
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943457
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1888], ["value", 5]] [1:819 master]
943458
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943459
+  (0.4ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 2345]] [test:818 master]
943460
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" [test:818 master]
943461
+  (0.4ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 1888]] [1:819 master]
943462
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" [1:819 master]
943463
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."id" IN (2176, 2177) [test:818 master]
943464
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."id" IN (2314, 2315, 2316) [1:819 master]
943465
+  (0.1ms) ROLLBACK [1:819 master]
943466
+  (0.1ms) ROLLBACK [test:818 master]
943467
+  (0.1ms) BEGIN [test:817 master]
943468
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943469
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943470
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943471
+  (0.1ms) BEGIN [1:819 master]
943472
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943473
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943474
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943475
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943476
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2346], ["value", 1]] [test:818 master]
943477
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943478
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943479
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 2346], ["value", 2]] [test:818 master]
943480
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943481
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943482
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [1:819 master]
943483
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943484
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943485
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1889], ["value", 3]] [1:819 master]
943486
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943487
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943488
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1889], ["value", 4]] [1:819 master]
943489
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943490
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943491
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["user_id", 1889], ["value", 5]] [1:819 master]
943492
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943493
+  (0.4ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 2346]] [test:818 master]
943494
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" [test:818 master]
943495
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = $1 [["user_id", 1889]] [1:819 master]
943496
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" [1:819 master]
943497
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."id" IN (2178, 2179) [test:818 master]
943498
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."id" IN (2317, 2318, 2319) [1:819 master]
943499
+  (0.1ms) ROLLBACK [1:819 master]
943500
+  (0.1ms) ROLLBACK [test:818 master]
943501
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
943502
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943503
+  (0.1ms) BEGIN [test:817 master]
943504
+  (0.1ms) ROLLBACK
943505
+  (0.1ms) BEGIN
943506
+  (0.1ms) ROLLBACK
943507
+  (0.1ms) BEGIN
943508
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
943509
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]]
943510
+  (0.4ms) COMMIT
943511
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
943512
+  (0.2ms) BEGIN
943513
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]]
943514
+  (0.3ms) COMMIT
943515
+  (0.1ms) BEGIN
943516
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]]
943517
+  (0.3ms) COMMIT
943518
+  (0.1ms) BEGIN
943519
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
943520
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]]
943521
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]]
943522
+  (0.1ms) BEGIN [1:819 master]
943523
+  (0.1ms) SAVEPOINT active_record_1
943524
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]]
943525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
943526
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943527
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943528
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943529
+ SQL (0.2ms) UPDATE "users" SET "name" = 'a' WHERE "users"."id" = 2347 [test:818 master]
943530
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1257]] [test:817 master]
943531
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 818 LIMIT 1 [test:817 master]
943532
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2347]] [test:818 master]
943533
+  (0.1ms) ROLLBACK [1:819 master]
943534
+  (0.1ms) ROLLBACK [test:818 master]
943535
+  (0.1ms) BEGIN
943536
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
943537
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]]
943538
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]]
943539
+  (0.1ms) BEGIN [1:819 master]
943540
+  (0.1ms) SAVEPOINT active_record_1
943541
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]]
943542
+  (0.1ms) RELEASE SAVEPOINT active_record_1
943543
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943544
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943545
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943546
+ SQL (0.3ms) UPDATE "users" SET "name" = 'a' WHERE "users"."id" IN (1258) [test:817 master]
943547
+ SQL (0.2ms) UPDATE "users" SET "name" = 'a' WHERE "users"."id" IN (2348) [test:818 master]
943548
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1258]] [test:817 master]
943549
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2348]] [test:818 master]
943550
+  (0.1ms) ROLLBACK [1:819 master]
943551
+  (0.1ms) ROLLBACK [test:818 master]
943552
+  (0.1ms) BEGIN [test:817 master]
943553
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943554
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943555
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943556
+  (0.1ms) BEGIN [1:819 master]
943557
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943558
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
943559
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943560
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943561
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943562
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943563
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1259) [test:817 master]
943564
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2349) [test:818 master]
943565
+  (0.2ms) ROLLBACK [1:819 master]
943566
+  (0.1ms) ROLLBACK [test:818 master]
943567
+  (0.1ms) BEGIN [test:817 master]
943568
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943569
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943570
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943571
+  (0.1ms) BEGIN [1:819 master]
943572
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943573
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
943574
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943575
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943576
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943577
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943578
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2350 ORDER BY "users"."id" ASC LIMIT 1 [test:818 master]
943579
+  (0.1ms) ROLLBACK [1:819 master]
943580
+  (0.1ms) ROLLBACK [test:818 master]
943581
+  (0.1ms) BEGIN [test:817 master]
943582
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943583
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943584
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943585
+  (0.1ms) BEGIN [1:819 master]
943586
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
943587
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user1"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:817 master]
943588
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943589
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943590
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00], ["name", "user2"], ["updated_at", Wed, 14 Oct 2015 12:32:45 UTC +00:00]] [test:818 master]
943591
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943592
+  (0.1ms) ROLLBACK [1:819 master]
943593
+  (0.2ms) ROLLBACK [test:818 master]
943594
+ SQL (0.5ms) DELETE FROM "switchman_shards" [test:817 master]
943595
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943596
+  (0.1ms) BEGIN [test:817 master]
943597
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
943598
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
943599
+  (0.4ms) COMMIT [test:817 master]
943600
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943601
+  (0.1ms) BEGIN [test:817 master]
943602
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
943603
+  (0.4ms) COMMIT [test:817 master]
943604
+  (0.1ms) BEGIN [test:817 master]
943605
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
943606
+  (0.3ms) COMMIT [test:817 master]
943607
+  (0.1ms) BEGIN [test:817 master]
943608
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943609
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943610
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943611
+  (0.1ms) BEGIN [1:819 master]
943612
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
943613
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "9"]] [test:817 master]
943614
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943615
+  (0.2ms) ROLLBACK [1:819 master]
943616
+  (0.2ms) ROLLBACK [test:817 master]
943617
+  (0.1ms) BEGIN [test:817 master]
943618
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943619
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943620
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943621
+  (0.1ms) BEGIN [1:819 master]
943622
+  (0.1ms) ROLLBACK [1:819 master]
943623
+  (0.1ms) ROLLBACK [test:817 master]
943624
+  (0.1ms) BEGIN [test:817 master]
943625
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943626
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943627
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943628
+  (0.1ms) BEGIN [1:819 master]
943629
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943630
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943631
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943632
+  (0.2ms) ROLLBACK [1:819 master]
943633
+  (0.2ms) ROLLBACK [test:817 master]
943634
+  (0.1ms) BEGIN [test:817 master]
943635
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943636
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943637
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943638
+  (0.2ms) BEGIN [1:819 master]
943639
+  (0.1ms) ROLLBACK [1:819 master]
943640
+  (0.1ms) ROLLBACK [test:817 master]
943641
+  (0.1ms) BEGIN [test:817 master]
943642
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943643
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943644
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943645
+  (0.1ms) BEGIN [1:819 master]
943646
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943647
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "10"]] [test:817 master]
943648
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943649
+  (0.2ms) ROLLBACK [1:819 master]
943650
+  (0.1ms) ROLLBACK [test:817 master]
943651
+  (0.2ms) BEGIN [test:817 master]
943652
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943653
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943654
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943655
+  (0.1ms) BEGIN [1:819 master]
943656
+  (0.1ms) ROLLBACK [1:819 master]
943657
+  (0.1ms) ROLLBACK [test:817 master]
943658
+  (0.1ms) BEGIN [test:817 master]
943659
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943660
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943661
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943662
+  (0.1ms) BEGIN [1:819 master]
943663
+  (0.1ms) ROLLBACK [1:819 master]
943664
+  (0.2ms) ROLLBACK [test:817 master]
943665
+ SQL (1.9ms) DELETE FROM "switchman_shards" [test:817 master]
943666
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943667
+  (0.1ms) BEGIN [test:817 master]
943668
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
943669
+ SQL (0.5ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
943670
+  (0.3ms) COMMIT [test:817 master]
943671
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943672
+  (0.1ms) BEGIN [test:817 master]
943673
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
943674
+  (0.3ms) COMMIT [test:817 master]
943675
+  (0.1ms) BEGIN [test:817 master]
943676
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
943677
+  (0.3ms) COMMIT [test:817 master]
943678
+  (0.1ms) BEGIN [test:817 master]
943679
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943680
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943681
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943682
+  (0.1ms) BEGIN [1:819 master]
943683
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943684
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943685
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943686
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943687
+ SQL (1.0ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1263]] [test:817 master]
943688
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943689
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943690
+ SQL (1.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943691
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943692
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943693
+ SQL (1.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2352]] [test:818 master]
943694
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943695
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943696
+ SQL (1.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943697
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943698
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943699
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943700
+ SQL (1.1ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1890]] [1:819 master]
943701
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943702
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943703
+  (0.1ms) ROLLBACK [1:819 master]
943704
+  (0.1ms) ROLLBACK [test:817 master]
943705
+  (0.1ms) BEGIN [test:817 master]
943706
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943707
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943708
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943709
+  (0.1ms) BEGIN [1:819 master]
943710
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943711
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943712
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943713
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943714
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1264]] [test:817 master]
943715
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943716
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943717
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943718
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943719
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943720
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2353]] [test:818 master]
943721
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943722
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943723
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943724
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943725
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943726
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943727
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1891]] [1:819 master]
943728
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943729
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943730
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 818 LIMIT 1 [test:817 master]
943731
+  (0.1ms) ROLLBACK [1:819 master]
943732
+  (0.1ms) ROLLBACK [test:817 master]
943733
+  (0.1ms) BEGIN [test:817 master]
943734
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943735
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943736
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943737
+  (0.1ms) BEGIN [1:819 master]
943738
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943739
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943740
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943741
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943742
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1265]] [test:817 master]
943743
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943744
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943745
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943746
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943747
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943748
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2354]] [test:818 master]
943749
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943750
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943751
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943752
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943753
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943754
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943755
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1892]] [1:819 master]
943756
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943757
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943758
+  (0.1ms) ROLLBACK [1:819 master]
943759
+  (0.1ms) ROLLBACK [test:817 master]
943760
+  (0.1ms) BEGIN [test:817 master]
943761
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943762
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943763
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943764
+  (0.1ms) BEGIN [1:819 master]
943765
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943766
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943767
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943768
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943769
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1266]] [test:817 master]
943770
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943771
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943772
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943773
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943774
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943775
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2355]] [test:818 master]
943776
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943777
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943778
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943779
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943780
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943781
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943782
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1893]] [1:819 master]
943783
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943784
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943785
+  (0.1ms) ROLLBACK [1:819 master]
943786
+  (0.2ms) ROLLBACK [test:817 master]
943787
+  (0.1ms) BEGIN [test:817 master]
943788
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943789
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943790
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943791
+  (0.1ms) BEGIN [1:819 master]
943792
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
943793
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943794
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943795
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943796
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1267]] [test:817 master]
943797
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943798
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943799
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943800
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943801
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943802
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2356]] [test:818 master]
943803
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943804
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943805
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943806
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943807
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943808
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943809
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1894]] [1:819 master]
943810
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943811
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943812
+  (0.2ms) ROLLBACK [1:819 master]
943813
+  (0.1ms) ROLLBACK [test:817 master]
943814
+  (0.2ms) BEGIN [test:817 master]
943815
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943816
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943817
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943818
+  (0.1ms) BEGIN [1:819 master]
943819
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943820
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943821
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943822
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943823
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1268]] [test:817 master]
943824
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943825
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943826
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943827
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943828
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943829
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2357]] [test:818 master]
943830
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943831
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943832
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943833
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943834
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943835
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943836
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1895]] [1:819 master]
943837
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943838
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943839
+  (0.1ms) ROLLBACK [1:819 master]
943840
+  (0.1ms) ROLLBACK [test:817 master]
943841
+  (0.1ms) BEGIN [test:817 master]
943842
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943843
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943844
+ Switchman::Shard Load (5.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943845
+  (0.1ms) BEGIN [1:819 master]
943846
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943847
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943848
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943849
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943850
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1269]] [test:817 master]
943851
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943852
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943853
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943854
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943855
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943856
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2358]] [test:818 master]
943857
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943858
+  (0.2ms) SAVEPOINT active_record_1 [1:819 master]
943859
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943860
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943861
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943862
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943863
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1896]] [1:819 master]
943864
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943865
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943866
+  (0.1ms) ROLLBACK [1:819 master]
943867
+  (0.1ms) ROLLBACK [test:817 master]
943868
+  (0.1ms) BEGIN [test:817 master]
943869
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943870
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943871
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943872
+  (0.2ms) BEGIN [1:819 master]
943873
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943874
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943875
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943876
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943877
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1270]] [test:817 master]
943878
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943879
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943880
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943881
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943882
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943883
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2359]] [test:818 master]
943884
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943885
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943886
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943887
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943888
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943889
+  (0.2ms) SAVEPOINT active_record_1 [1:819 master]
943890
+ SQL (0.5ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1897]] [1:819 master]
943891
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943892
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943893
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943894
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "parent_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["parent_id", 1270], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943895
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943896
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943897
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "parent_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["parent_id", 1271], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943898
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943899
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1271]] [test:817 master]
943900
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1270]] [test:817 master]
943901
+ User Load (0.5ms) 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", 1270]] [test:817 master]
943902
+  (0.1ms) ROLLBACK [1:819 master]
943903
+  (0.1ms) ROLLBACK [test:817 master]
943904
+  (0.1ms) BEGIN [test:817 master]
943905
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943906
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943907
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943908
+  (0.1ms) BEGIN [1:819 master]
943909
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943910
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943911
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943912
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943913
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1273]] [test:817 master]
943914
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943915
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943916
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943917
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943918
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943919
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2360]] [test:818 master]
943920
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943921
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943922
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943923
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943924
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943925
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943926
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1898]] [1:819 master]
943927
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943928
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943929
+  (0.1ms) ROLLBACK [1:819 master]
943930
+  (0.2ms) ROLLBACK [test:817 master]
943931
+  (0.1ms) BEGIN [test:817 master]
943932
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943933
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943934
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943935
+  (0.1ms) BEGIN [1:819 master]
943936
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
943937
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943938
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943939
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
943940
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1274]] [test:817 master]
943941
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943942
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943943
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943944
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943945
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943946
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2361]] [test:818 master]
943947
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943948
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943949
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943950
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943951
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943952
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943953
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1899]] [1:819 master]
943954
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943955
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943956
+  (0.1ms) ROLLBACK [1:819 master]
943957
+  (0.2ms) ROLLBACK [test:817 master]
943958
+  (0.1ms) BEGIN [test:817 master]
943959
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943960
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943961
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943962
+  (0.1ms) BEGIN [1:819 master]
943963
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943964
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943965
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943966
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943967
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1275]] [test:817 master]
943968
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943969
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943970
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943971
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943972
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943973
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2362]] [test:818 master]
943974
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943975
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943976
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
943977
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943978
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943979
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
943980
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1900]] [1:819 master]
943981
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
943982
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943983
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
943984
+ SQL (0.8ms) INSERT INTO "mirror_users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
943985
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
943986
+  (0.1ms) ROLLBACK [1:819 master]
943987
+  (0.1ms) ROLLBACK [test:818 master]
943988
+  (0.1ms) BEGIN [test:817 master]
943989
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
943990
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
943991
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
943992
+  (0.1ms) BEGIN [1:819 master]
943993
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943994
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
943995
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943996
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
943997
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1276]] [test:817 master]
943998
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
943999
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944000
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
944001
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944002
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944003
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2363]] [test:818 master]
944004
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944005
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944006
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
944007
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944008
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944009
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944010
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1901]] [1:819 master]
944011
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944012
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944013
+  (0.1ms) ROLLBACK [1:819 master]
944014
+  (0.1ms) ROLLBACK [test:817 master]
944015
+  (0.1ms) BEGIN [test:817 master]
944016
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944017
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944018
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944019
+  (0.1ms) BEGIN [1:819 master]
944020
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944021
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
944022
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944023
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944024
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1277]] [test:817 master]
944025
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944026
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944027
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
944028
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944029
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944030
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2364]] [test:818 master]
944031
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944032
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944033
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
944034
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944035
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944036
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944037
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1902]] [1:819 master]
944038
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944039
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944040
+  (0.1ms) ROLLBACK [1:819 master]
944041
+  (0.1ms) ROLLBACK [test:817 master]
944042
+  (0.1ms) BEGIN [test:817 master]
944043
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944044
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944045
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944046
+  (0.1ms) BEGIN [1:819 master]
944047
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944048
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
944049
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944050
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944051
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1278]] [test:817 master]
944052
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944053
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944054
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
944055
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944056
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944057
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2365]] [test:818 master]
944058
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944059
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944060
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
944061
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944062
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944063
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944064
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1903]] [1:819 master]
944065
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944066
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944067
+  (0.1ms) ROLLBACK [1:819 master]
944068
+  (0.1ms) ROLLBACK [test:817 master]
944069
+  (0.1ms) BEGIN [test:817 master]
944070
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944071
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944072
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944073
+  (0.1ms) BEGIN [1:819 master]
944074
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944075
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
944076
+  (0.6ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944077
+  (1.0ms) SAVEPOINT active_record_1 [test:817 master]
944078
+ SQL (0.8ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1279]] [test:817 master]
944079
+  (0.3ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944080
+  (1.4ms) SAVEPOINT active_record_1 [test:818 master]
944081
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
944082
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944083
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944084
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2366]] [test:818 master]
944085
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944086
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944087
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
944088
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944089
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944090
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944091
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1904]] [1:819 master]
944092
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944093
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944094
+  (0.1ms) ROLLBACK [1:819 master]
944095
+  (0.2ms) ROLLBACK [test:817 master]
944096
+  (0.1ms) BEGIN [test:817 master]
944097
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944098
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944099
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944100
+  (0.1ms) BEGIN [1:819 master]
944101
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
944102
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:817 master]
944103
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944104
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944105
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1280]] [test:817 master]
944106
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944107
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944108
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [test:818 master]
944109
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944110
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944111
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 2367]] [test:818 master]
944112
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944113
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944114
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00]] [1:819 master]
944115
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944116
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944117
+  (0.1ms) SAVEPOINT active_record_1 [1:819 master]
944118
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:46 UTC +00:00], ["user_id", 1905]] [1:819 master]
944119
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944120
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944121
+  (0.1ms) ROLLBACK [1:819 master]
944122
+  (0.1ms) ROLLBACK [test:817 master]
944123
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
944124
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944125
+  (0.1ms) BEGIN [test:817 master]
944126
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
944127
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
944128
+  (0.3ms) COMMIT [test:817 master]
944129
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944130
+  (0.1ms) BEGIN [test:817 master]
944131
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
944132
+  (0.3ms) COMMIT [test:817 master]
944133
+  (0.1ms) BEGIN [test:817 master]
944134
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
944135
+  (0.3ms) COMMIT [test:817 master]
944136
+  (0.1ms) BEGIN [test:817 master]
944137
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944138
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944139
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944140
+  (0.1ms) BEGIN [1:819 master]
944141
+  (0.1ms) ROLLBACK [1:819 master]
944142
+  (0.1ms) ROLLBACK [test:817 master]
944143
+  (0.1ms) BEGIN [test:817 master]
944144
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944145
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944146
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944147
+  (0.1ms) BEGIN [1:819 master]
944148
+  (0.1ms) ROLLBACK [1:819 master]
944149
+  (0.1ms) ROLLBACK [test:817 master]
944150
+  (0.1ms) BEGIN [test:817 master]
944151
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944152
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944153
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944154
+  (0.1ms) BEGIN [1:819 master]
944155
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944156
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "11"]] [test:817 master]
944157
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944158
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944159
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "11"]] [test:817 master]
944160
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944161
+  (0.1ms) ROLLBACK [1:819 master]
944162
+  (0.2ms) ROLLBACK [test:817 master]
944163
+  (0.1ms) BEGIN [test:817 master]
944164
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944165
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944166
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944167
+  (0.1ms) BEGIN [1:819 master]
944168
+  (0.1ms) ROLLBACK [1:819 master]
944169
+  (0.1ms) ROLLBACK [test:817 master]
944170
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:817 master]
944171
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944172
+  (0.1ms) BEGIN [test:817 master]
944173
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
944174
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
944175
+  (0.2ms) COMMIT [test:817 master]
944176
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944177
+  (0.1ms) BEGIN [test:817 master]
944178
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
944179
+  (0.3ms) COMMIT [test:817 master]
944180
+  (0.1ms) BEGIN [test:817 master]
944181
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
944182
+  (0.2ms) COMMIT [test:817 master]
944183
+  (0.1ms) BEGIN [test:817 master]
944184
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944185
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944186
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944187
+  (0.1ms) BEGIN [1:819 master]
944188
+  (0.1ms) ROLLBACK [1:819 master]
944189
+  (0.1ms) ROLLBACK [test:817 master]
944190
+  (0.1ms) BEGIN [test:817 master]
944191
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944192
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944193
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944194
+  (0.1ms) BEGIN [1:819 master]
944195
+  (0.1ms) ROLLBACK [1:819 master]
944196
+  (0.1ms) ROLLBACK [test:817 master]
944197
+  (0.1ms) BEGIN [test:817 master]
944198
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944199
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944200
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944201
+  (0.1ms) BEGIN [1:819 master]
944202
+  (0.1ms) ROLLBACK [1:819 master]
944203
+  (0.1ms) ROLLBACK [test:817 master]
944204
+  (0.1ms) BEGIN [test:817 master]
944205
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944206
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944207
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944208
+  (0.1ms) BEGIN [1:819 master]
944209
+  (0.1ms) ROLLBACK [1:819 master]
944210
+  (0.1ms) ROLLBACK [test:817 master]
944211
+  (0.1ms) BEGIN [test:817 master]
944212
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944213
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944214
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944215
+  (0.1ms) BEGIN [1:819 master]
944216
+  (0.1ms) ROLLBACK [1:819 master]
944217
+  (0.1ms) ROLLBACK [test:817 master]
944218
+  (0.1ms) BEGIN [test:817 master]
944219
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944220
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944221
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944222
+  (0.1ms) BEGIN [1:819 master]
944223
+  (0.1ms) ROLLBACK [1:819 master]
944224
+  (0.1ms) ROLLBACK [test:817 master]
944225
+ SQL (5.0ms) DELETE FROM "switchman_shards" [test:817 master]
944226
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944227
+  (0.2ms) BEGIN [test:817 master]
944228
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
944229
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
944230
+  (0.4ms) COMMIT [test:817 master]
944231
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944232
+  (0.1ms) BEGIN [test:817 master]
944233
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
944234
+  (0.4ms) COMMIT [test:817 master]
944235
+  (0.1ms) BEGIN [test:817 master]
944236
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
944237
+  (0.3ms) COMMIT [test:817 master]
944238
+  (0.1ms) BEGIN [test:817 master]
944239
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944240
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944241
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944242
+  (0.1ms) BEGIN [1:819 master]
944243
+  (0.1ms) ROLLBACK [1:819 master]
944244
+  (0.1ms) ROLLBACK [test:817 master]
944245
+  (0.1ms) BEGIN [test:817 master]
944246
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944247
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944248
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944249
+  (0.1ms) BEGIN [1:819 master]
944250
+  (0.1ms) ROLLBACK [1:819 master]
944251
+  (0.1ms) ROLLBACK [test:817 master]
944252
+  (0.1ms) BEGIN [test:817 master]
944253
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944254
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944255
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944256
+  (0.1ms) BEGIN [1:819 master]
944257
+  (0.1ms) ROLLBACK [1:819 master]
944258
+  (0.1ms) ROLLBACK [test:817 master]
944259
+  (0.1ms) BEGIN [test:817 master]
944260
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944261
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944262
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944263
+  (0.1ms) BEGIN [1:819 master]
944264
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 818 LIMIT 1 [test:817 master]
944265
+  (0.3ms) ROLLBACK [1:819 master]
944266
+  (0.1ms) ROLLBACK [test:817 master]
944267
+  (0.1ms) BEGIN [test:817 master]
944268
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944269
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944270
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944271
+  (0.1ms) BEGIN [1:819 master]
944272
+  (0.1ms) ROLLBACK [1:819 master]
944273
+  (0.1ms) ROLLBACK [test:817 master]
944274
+  (0.1ms) BEGIN [test:817 master]
944275
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944276
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944277
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944278
+  (0.1ms) BEGIN [1:819 master]
944279
+  (0.2ms) ROLLBACK [1:819 master]
944280
+  (0.1ms) ROLLBACK [test:817 master]
944281
+  (0.2ms) BEGIN [test:817 master]
944282
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944283
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944284
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944285
+  (0.1ms) BEGIN [1:819 master]
944286
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944287
+ SQL (0.2ms) INSERT INTO "switchman_shards" DEFAULT VALUES RETURNING "id" [test:817 master]
944288
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944289
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944290
+ SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 829]] [test:817 master]
944291
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944292
+  (0.1ms) ROLLBACK [1:819 master]
944293
+  (0.2ms) ROLLBACK [test:817 master]
944294
+  (0.2ms) BEGIN [test:817 master]
944295
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944296
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944297
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944298
+  (0.1ms) BEGIN [1:819 master]
944299
+  (0.1ms) ROLLBACK [1:819 master]
944300
+  (0.1ms) ROLLBACK [test:817 master]
944301
+  (0.1ms) BEGIN [test:817 master]
944302
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944303
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944304
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944305
+  (0.1ms) BEGIN [1:819 master]
944306
+  (0.1ms) ROLLBACK [1:819 master]
944307
+  (0.1ms) ROLLBACK [test:817 master]
944308
+  (0.1ms) BEGIN [test:817 master]
944309
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944310
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944311
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944312
+  (0.1ms) BEGIN [1:819 master]
944313
+  (0.1ms) ROLLBACK [1:819 master]
944314
+  (0.1ms) ROLLBACK [test:817 master]
944315
+  (0.1ms) BEGIN [test:817 master]
944316
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944317
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944318
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944319
+  (0.1ms) BEGIN [1:819 master]
944320
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944321
+ SQL (0.2ms) INSERT INTO "switchman_shards" DEFAULT VALUES RETURNING "id" [test:817 master]
944322
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944323
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944324
+ SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 830]] [test:817 master]
944325
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944326
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 830 LIMIT 1 [test:817 master]
944327
+  (0.2ms) ROLLBACK [1:819 master]
944328
+  (0.2ms) ROLLBACK [test:817 master]
944329
+  (0.1ms) BEGIN [test:817 master]
944330
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944331
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944332
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944333
+  (0.1ms) BEGIN [1:819 master]
944334
+  (0.1ms) ROLLBACK [1:819 master]
944335
+  (0.1ms) ROLLBACK [test:817 master]
944336
+  (0.1ms) BEGIN [test:817 master]
944337
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944338
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944339
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944340
+  (0.1ms) BEGIN [1:819 master]
944341
+  (0.1ms) ROLLBACK [1:819 master]
944342
+  (0.1ms) ROLLBACK [test:817 master]
944343
+  (0.1ms) BEGIN [test:817 master]
944344
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944345
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944346
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944347
+  (0.1ms) BEGIN [1:819 master]
944348
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:817 master]
944349
+  (0.1ms) ROLLBACK [1:819 master]
944350
+  (0.1ms) ROLLBACK [test:818 master]
944351
+  (0.1ms) BEGIN [test:817 master]
944352
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944353
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944354
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944355
+  (0.1ms) BEGIN [1:819 master]
944356
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:817 master]
944357
+  (0.1ms) ROLLBACK [1:819 master]
944358
+  (0.1ms) ROLLBACK [test:818 master]
944359
+  (0.1ms) BEGIN [test:817 master]
944360
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944361
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944362
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944363
+  (0.1ms) BEGIN [1:819 master]
944364
+  (0.1ms) ROLLBACK [1:819 master]
944365
+  (0.1ms) ROLLBACK [test:817 master]
944366
+  (0.1ms) BEGIN [test:817 master]
944367
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944368
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944369
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944370
+  (0.1ms) BEGIN [1:819 master]
944371
+  (0.1ms) ROLLBACK [1:819 master]
944372
+  (0.1ms) ROLLBACK [test:817 master]
944373
+  (0.1ms) BEGIN [test:817 master]
944374
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944375
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944376
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944377
+  (0.1ms) BEGIN [1:819 master]
944378
+  (0.2ms) ROLLBACK [1:819 master]
944379
+  (0.1ms) ROLLBACK [test:817 master]
944380
+  (0.1ms) BEGIN [test:817 master]
944381
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944382
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944383
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944384
+  (0.1ms) BEGIN [1:819 master]
944385
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '12' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944386
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944387
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "12"], ["name", "public"]] [test:817 master]
944388
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944389
+  (1.9ms) CREATE SCHEMA switchman_dummy_test_shard_831 [12:831 deploy]
944390
+  (0.1ms) BEGIN [12:831 deploy]
944391
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [12:831 deploy]
944392
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [12:831 deploy]
944393
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations" [12:831 deploy]
944394
+ Migrating to CreateSwitchmanShards (20130328212039)
944395
+  (5.1ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL) [12:831 deploy]
944396
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [12:831 deploy]
944397
+ Migrating to CreateDefaultShard (20130328224244)
944398
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [12:831 deploy]
944399
+ Migrating to CreateUsers (20130403132607)
944400
+  (2.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [12:831 deploy]
944401
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [12:831 deploy]
944402
+ Migrating to CreateAppendages (20130411202442)
944403
+  (2.5ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [12:831 deploy]
944404
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [12:831 deploy]
944405
+ Migrating to CreateMirrorUsers (20130411202551)
944406
+  (3.5ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [12:831 deploy]
944407
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [12:831 deploy]
944408
+ Migrating to CreateDigits (20131022202028)
944409
+  (2.9ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [12:831 deploy]
944410
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [12:831 deploy]
944411
+ Migrating to CreateFeatures (20131206172923)
944412
+  (3.0ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [12:831 deploy]
944413
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [12:831 deploy]
944414
+ Migrating to AddParentIdToUsers (20140123154135)
944415
+  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [12:831 deploy]
944416
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [12:831 deploy]
944417
+ Migrating to CreateRoots (20140219183820)
944418
+  (2.7ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [12:831 deploy]
944419
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [12:831 deploy]
944420
+ Migrating to AddDummyForeignKey (20150618035859)
944421
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [12:831 deploy]
944422
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [12:831 deploy]
944423
+  (0.8ms) COMMIT [12:831 deploy]
944424
+  (0.2ms) SAVEPOINT active_record_1 [test:817 master]
944425
+ SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 831 [["name", "switchman_dummy_test_shard_831"]] [test:817 master]
944426
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944427
+  (0.2ms) BEGIN [12:831 master]
944428
+ SQL (1.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00]] [12:831 master]
944429
+  (0.4ms) COMMIT [12:831 master]
944430
+  (0.7ms) SELECT COUNT(*) FROM "users" [12:831 master]
944431
+  (14.4ms) DROP SCHEMA switchman_dummy_test_shard_831 CASCADE [12:831 deploy]
944432
+  (0.5ms) SELECT COUNT(*) FROM "users" [12:831 master]
944433
+ PG::UndefinedTable: ERROR: relation "users" does not exist
944434
+ LINE 1: SELECT COUNT(*) FROM "users"
944435
+ ^
944436
+ : SELECT COUNT(*) FROM "users"
944437
+  (0.2ms) ROLLBACK [1:819 master]
944438
+  (0.2ms) ROLLBACK [test:817 master]
944439
+  (0.1ms) BEGIN [test:817 master]
944440
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944441
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944442
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944443
+  (0.1ms) BEGIN [1:819 master]
944444
+  (0.2ms) ROLLBACK [1:819 master]
944445
+  (0.2ms) ROLLBACK [test:817 master]
944446
+  (0.1ms) BEGIN [test:817 master]
944447
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944448
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944449
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944450
+  (0.1ms) BEGIN [1:819 master]
944451
+  (0.1ms) ROLLBACK [1:819 master]
944452
+  (0.1ms) ROLLBACK [test:817 master]
944453
+  (0.1ms) BEGIN [test:817 master]
944454
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944455
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944456
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944457
+  (0.1ms) BEGIN [1:819 master]
944458
+  (0.1ms) ROLLBACK [1:819 master]
944459
+  (0.1ms) ROLLBACK [test:817 master]
944460
+  (0.1ms) BEGIN [test:817 master]
944461
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944462
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944463
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944464
+  (0.2ms) BEGIN [1:819 master]
944465
+  (0.1ms) ROLLBACK [1:819 master]
944466
+  (0.2ms) ROLLBACK [test:817 master]
944467
+  (0.1ms) BEGIN [test:817 master]
944468
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944469
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944470
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944471
+  (0.1ms) BEGIN [1:819 master]
944472
+  (0.1ms) ROLLBACK [1:819 master]
944473
+  (0.1ms) ROLLBACK [test:817 master]
944474
+  (0.1ms) BEGIN [test:817 master]
944475
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944476
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944477
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944478
+  (0.1ms) BEGIN [1:819 master]
944479
+  (0.1ms) ROLLBACK [1:819 master]
944480
+  (0.1ms) ROLLBACK [test:817 master]
944481
+  (0.1ms) BEGIN [test:817 master]
944482
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944483
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944484
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944485
+  (0.1ms) BEGIN [1:819 master]
944486
+  (0.1ms) ROLLBACK [1:819 master]
944487
+  (0.1ms) ROLLBACK [test:817 master]
944488
+  (0.1ms) BEGIN [test:817 master]
944489
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944490
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944491
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944492
+  (0.1ms) BEGIN [1:819 master]
944493
+  (0.1ms) ROLLBACK [1:819 master]
944494
+  (0.1ms) ROLLBACK [test:817 master]
944495
+  (0.1ms) BEGIN [test:817 master]
944496
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944497
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944498
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944499
+  (0.1ms) BEGIN [1:819 master]
944500
+  (0.1ms) ROLLBACK [1:819 master]
944501
+  (0.1ms) ROLLBACK [test:817 master]
944502
+  (0.1ms) BEGIN [test:817 master]
944503
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944504
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944505
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944506
+  (0.1ms) BEGIN [1:819 master]
944507
+  (0.1ms) ROLLBACK [1:819 master]
944508
+  (0.1ms) ROLLBACK [test:817 master]
944509
+  (0.1ms) BEGIN [test:817 master]
944510
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944511
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944512
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944513
+  (0.1ms) BEGIN [1:819 master]
944514
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 817 [test:817 master]
944515
+  (0.1ms) ROLLBACK [1:819 master]
944516
+  (0.1ms) ROLLBACK [test:817 master]
944517
+  (0.1ms) BEGIN [test:817 master]
944518
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944519
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944520
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944521
+  (0.1ms) BEGIN [1:819 master]
944522
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY "switchman_shards"."id" ASC [test:817 master]
944523
+  (0.1ms) ROLLBACK [1:819 master]
944524
+  (0.1ms) ROLLBACK [test:818 master]
944525
+  (0.1ms) BEGIN [test:817 master]
944526
+ Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944527
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944528
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944529
+  (0.1ms) BEGIN [1:819 master]
944530
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:817 master]
944531
+  (0.1ms) ROLLBACK [1:819 master]
944532
+  (0.1ms) ROLLBACK [test:818 master]
944533
+  (0.1ms) BEGIN [test:817 master]
944534
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944535
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944536
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944537
+  (0.1ms) BEGIN [1:819 master]
944538
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:817 master]
944539
+  (0.1ms) ROLLBACK [1:819 master]
944540
+  (0.1ms) ROLLBACK [test:818 master]
944541
+  (0.1ms) BEGIN [test:817 master]
944542
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944543
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944544
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944545
+  (0.1ms) BEGIN [1:819 master]
944546
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:817 master]
944547
+  (0.1ms) ROLLBACK [1:819 master]
944548
+  (0.1ms) ROLLBACK [test:817 master]
944549
+  (0.1ms) BEGIN [test:817 master]
944550
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944551
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944552
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944553
+  (0.1ms) BEGIN [1:819 master]
944554
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:817 master]
944555
+  (0.1ms) ROLLBACK [1:819 master]
944556
+  (0.1ms) ROLLBACK [test:818 master]
944557
+  (0.1ms) BEGIN [test:817 master]
944558
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944559
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944560
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944561
+  (0.1ms) BEGIN [1:819 master]
944562
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 10819 LIMIT 1 [test:817 master]
944563
+  (0.1ms) ROLLBACK [1:819 master]
944564
+  (0.1ms) ROLLBACK [test:817 master]
944565
+  (0.1ms) BEGIN [test:817 master]
944566
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944567
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944568
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944569
+  (0.1ms) BEGIN [1:819 master]
944570
+  (0.1ms) ROLLBACK [1:819 master]
944571
+  (0.1ms) ROLLBACK [test:817 master]
944572
+  (0.1ms) BEGIN [test:817 master]
944573
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944574
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944575
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944576
+  (0.1ms) BEGIN [1:819 master]
944577
+  (0.1ms) ROLLBACK [1:819 master]
944578
+  (0.1ms) ROLLBACK [test:817 master]
944579
+  (0.1ms) BEGIN [test:817 master]
944580
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944581
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944582
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944583
+  (0.1ms) BEGIN [1:819 master]
944584
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 819 LIMIT 1 [test:817 master]
944585
+  (0.1ms) ROLLBACK [1:819 master]
944586
+  (0.1ms) ROLLBACK [test:817 master]
944587
+  (0.1ms) BEGIN [test:817 master]
944588
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944589
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944590
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944591
+  (0.1ms) BEGIN [1:819 master]
944592
+  (0.1ms) ROLLBACK [1:819 master]
944593
+  (0.1ms) ROLLBACK [test:817 master]
944594
+  (0.1ms) BEGIN [test:817 master]
944595
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944596
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944597
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944598
+  (0.1ms) BEGIN [1:819 master]
944599
+  (0.1ms) ROLLBACK [1:819 master]
944600
+  (0.1ms) ROLLBACK [test:817 master]
944601
+  (0.1ms) BEGIN [test:817 master]
944602
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944603
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944604
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944605
+  (0.1ms) BEGIN [1:819 master]
944606
+  (0.1ms) ROLLBACK [1:819 master]
944607
+  (0.1ms) ROLLBACK [test:817 master]
944608
+  (0.1ms) BEGIN [test:817 master]
944609
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944610
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944611
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944612
+  (0.1ms) BEGIN [1:819 master]
944613
+  (0.1ms) ROLLBACK [1:819 master]
944614
+  (0.1ms) ROLLBACK [test:817 master]
944615
+  (0.1ms) BEGIN [test:817 master]
944616
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944617
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944618
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944619
+  (0.1ms) BEGIN [1:819 master]
944620
+  (0.1ms) ROLLBACK [1:819 master]
944621
+  (0.1ms) ROLLBACK [test:817 master]
944622
+  (0.1ms) BEGIN [test:817 master]
944623
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944624
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944625
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944626
+  (0.1ms) BEGIN [1:819 master]
944627
+  (0.1ms) ROLLBACK [1:819 master]
944628
+  (0.1ms) ROLLBACK [test:817 master]
944629
+  (0.1ms) BEGIN [test:817 master]
944630
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944631
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944632
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944633
+  (0.1ms) BEGIN [1:819 master]
944634
+  (0.1ms) ROLLBACK [1:819 master]
944635
+  (0.1ms) ROLLBACK [test:817 master]
944636
+ SQL (1.0ms) DELETE FROM "switchman_shards" [test:817 master]
944637
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944638
+  (0.1ms) BEGIN [test:817 master]
944639
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
944640
+ SQL (0.5ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
944641
+  (0.3ms) COMMIT [test:817 master]
944642
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944643
+  (0.1ms) BEGIN [test:817 master]
944644
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
944645
+  (0.4ms) COMMIT [test:817 master]
944646
+  (0.1ms) BEGIN [test:817 master]
944647
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
944648
+  (0.3ms) COMMIT [test:817 master]
944649
+  (0.1ms) BEGIN [test:817 master]
944650
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944651
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944652
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944653
+  (0.1ms) BEGIN [1:819 master]
944654
+ Switchman::Shard Load (1.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=817 AND id<818) OR (id>=819 AND id<820)) ORDER BY "switchman_shards"."id" ASC [test:817 master]
944655
+  (0.2ms) ROLLBACK [1:819 master]
944656
+  (0.1ms) ROLLBACK [test:817 master]
944657
+  (0.1ms) BEGIN [test:817 master]
944658
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944659
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944660
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944661
+  (0.1ms) BEGIN [1:819 master]
944662
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id NOT IN (817)) [test:817 master]
944663
+  (0.1ms) ROLLBACK [1:819 master]
944664
+  (0.1ms) ROLLBACK [test:817 master]
944665
+  (0.1ms) BEGIN [test:817 master]
944666
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944667
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944668
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944669
+  (0.1ms) BEGIN [1:819 master]
944670
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=817 AND id<=818)) AND (id NOT IN (817)) [test:817 master]
944671
+  (0.1ms) ROLLBACK [1:819 master]
944672
+  (0.1ms) ROLLBACK [test:817 master]
944673
+  (0.1ms) BEGIN [test:817 master]
944674
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944675
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944676
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944677
+  (0.1ms) BEGIN [1:819 master]
944678
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id<=818)) ORDER BY "switchman_shards"."id" ASC [test:817 master]
944679
+  (0.1ms) ROLLBACK [1:819 master]
944680
+  (0.1ms) ROLLBACK [test:817 master]
944681
+  (0.1ms) BEGIN [test:817 master]
944682
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944683
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944684
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944685
+  (0.1ms) BEGIN [1:819 master]
944686
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=818)) ORDER BY "switchman_shards"."id" ASC [test:817 master]
944687
+  (0.1ms) ROLLBACK [1:819 master]
944688
+  (0.1ms) ROLLBACK [test:817 master]
944689
+  (0.1ms) BEGIN [test:817 master]
944690
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944691
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944692
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944693
+  (0.1ms) BEGIN [1:819 master]
944694
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=817 AND id<=818)) ORDER BY "switchman_shards"."id" ASC [test:817 master]
944695
+  (0.1ms) ROLLBACK [1:819 master]
944696
+  (0.1ms) ROLLBACK [test:817 master]
944697
+  (0.1ms) BEGIN [test:817 master]
944698
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944699
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944700
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944701
+  (0.1ms) BEGIN [1:819 master]
944702
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id IN (817)) [test:817 master]
944703
+  (0.2ms) ROLLBACK [1:819 master]
944704
+  (0.1ms) ROLLBACK [test:817 master]
944705
+  (0.1ms) BEGIN [test:817 master]
944706
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944707
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944708
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944709
+  (0.1ms) BEGIN [1:819 master]
944710
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=817 AND id<818)) [test:817 master]
944711
+  (0.1ms) ROLLBACK [1:819 master]
944712
+  (0.1ms) ROLLBACK [test:817 master]
944713
+  (0.1ms) BEGIN [test:817 master]
944714
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944715
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944716
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944717
+  (0.1ms) BEGIN [1:819 master]
944718
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=818 AND id<=818)) AND (id NOT IN (817)) [test:817 master]
944719
+  (0.1ms) ROLLBACK [1:819 master]
944720
+  (0.1ms) ROLLBACK [test:817 master]
944721
+  (0.1ms) BEGIN [test:817 master]
944722
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944723
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944724
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944725
+  (0.1ms) BEGIN [1:819 master]
944726
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id NOT IN (817)) [test:817 master]
944727
+  (0.2ms) SELECT COUNT(*) FROM "switchman_shards" [test:817 master]
944728
+  (0.1ms) ROLLBACK [1:819 master]
944729
+  (0.1ms) ROLLBACK [test:817 master]
944730
+  (0.1ms) BEGIN [test:817 master]
944731
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944732
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944733
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944734
+  (0.1ms) BEGIN [1:819 master]
944735
+  (0.1ms) ROLLBACK [1:819 master]
944736
+  (0.2ms) ROLLBACK [test:817 master]
944737
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:817 master]
944738
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944739
+  (0.1ms) BEGIN [test:817 master]
944740
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:817 master]
944741
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 817]] [test:817 master]
944742
+  (0.3ms) COMMIT [test:817 master]
944743
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944744
+  (0.1ms) BEGIN [test:817 master]
944745
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("id", "name") VALUES ($1, $2) RETURNING "id" [["id", 818], ["name", "shard1"]] [test:817 master]
944746
+  (0.3ms) COMMIT [test:817 master]
944747
+  (0.1ms) BEGIN [test:817 master]
944748
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 819], ["name", "shard2"]] [test:817 master]
944749
+  (0.3ms) COMMIT [test:817 master]
944750
+  (0.1ms) BEGIN [test:817 master]
944751
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944752
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944753
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944754
+  (0.1ms) BEGIN [1:819 master]
944755
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944756
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00]] [test:818 master]
944757
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944758
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 818 LIMIT 1 [test:817 master]
944759
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (2368) LIMIT 1 [test:818 master]
944760
+  (0.1ms) ROLLBACK [1:819 master]
944761
+  (0.1ms) ROLLBACK [test:818 master]
944762
+  (0.1ms) BEGIN [test:817 master]
944763
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944764
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944765
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944766
+  (0.1ms) BEGIN [1:819 master]
944767
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944768
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00]] [test:818 master]
944769
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944770
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2369 LIMIT 1 [test:818 master]
944771
+  (0.2ms) ROLLBACK [1:819 master]
944772
+  (0.1ms) ROLLBACK [test:818 master]
944773
+  (0.1ms) BEGIN [test:817 master]
944774
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944775
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944776
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944777
+  (0.1ms) BEGIN [1:819 master]
944778
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944779
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00]] [test:818 master]
944780
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944781
+  (0.2ms) SAVEPOINT active_record_1 [1:819 master]
944782
+ SQL (1.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00], ["name", "multi-shard exists"], ["updated_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00]] [1:819 master]
944783
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:819 master]
944784
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:817 master]
944785
+ User Exists (0.9ms) SELECT 1 AS one FROM "users" WHERE "users"."name" = 'multi-shard exists' LIMIT 1 [test:817 master]
944786
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."name" = 'multi-shard exists' LIMIT 1 [test:818 master]
944787
+ User Exists (0.6ms) SELECT 1 AS one FROM "users" WHERE "users"."name" = 'multi-shard exists' LIMIT 1 [1:819 master]
944788
+  (0.2ms) ROLLBACK [1:819 master]
944789
+  (0.2ms) ROLLBACK [test:818 master]
944790
+  (0.1ms) BEGIN [test:817 master]
944791
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944792
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944793
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944794
+  (0.1ms) BEGIN [1:819 master]
944795
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944796
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00]] [test:818 master]
944797
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944798
+ User Exists (0.9ms) SELECT 1 AS one FROM "users" WHERE "users"."id" = 2371 LIMIT 1 [test:818 master]
944799
+  (0.1ms) ROLLBACK [1:819 master]
944800
+  (0.2ms) ROLLBACK [test:818 master]
944801
+  (0.1ms) BEGIN [test:817 master]
944802
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944803
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944804
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944805
+  (0.1ms) BEGIN [1:819 master]
944806
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944807
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00]] [test:818 master]
944808
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944809
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2372]] [test:818 master]
944810
+  (0.1ms) ROLLBACK [1:819 master]
944811
+  (0.1ms) ROLLBACK [test:818 master]
944812
+  (0.1ms) BEGIN [test:817 master]
944813
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944814
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 818]] [test:817 master]
944815
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 819]] [test:817 master]
944816
+  (0.1ms) BEGIN [1:819 master]
944817
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944818
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00], ["updated_at", Wed, 14 Oct 2015 12:32:47 UTC +00:00]] [test:818 master]
944819
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944820
+  (0.1ms) SAVEPOINT active_record_1 [test:818 master]
944821
+ SQL (0.4ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 2373]] [test:818 master]
944822
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:818 master]
944823
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 8180000000002373 ORDER BY "users"."id" ASC LIMIT 1 [test:818 master]
944824
+  (0.1ms) ROLLBACK [1:819 master]
944825
+  (0.1ms) ROLLBACK [test:818 master]
944826
+ SQL (0.5ms) DELETE FROM "switchman_shards" [test:817 master]
944827
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:817 master]
944828
+  (0.1ms) BEGIN [test:817 master]
944829
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944830
+ SQL (0.5ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "14"], ["name", "non_existent_shard"]] [test:817 master]
944831
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944832
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944833
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "14"]] [test:817 master]
944834
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944835
+  (0.3ms) SELECT COUNT(*) FROM "users" [14:832 master]
944836
+ PG::UndefinedTable: ERROR: relation "users" does not exist
944837
+ LINE 1: SELECT COUNT(*) FROM "users"
944838
+ ^
944839
+ : SELECT COUNT(*) FROM "users"
944840
+  (0.8ms) SELECT COUNT(*) FROM "users" [14:833 master]
944841
+  (0.1ms) ROLLBACK [test:817 master]
944842
+  (0.1ms) BEGIN [test:817 master]
944843
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944844
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "15"]] [test:817 master]
944845
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944846
+  (0.2ms) ROLLBACK [test:817 master]
944847
+  (0.1ms) BEGIN [test:817 master]
944848
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944849
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "16"]] [test:817 master]
944850
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944851
+  (0.1ms) ROLLBACK [test:817 master]
944852
+  (0.1ms) BEGIN [test:817 master]
944853
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944854
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "17"]] [test:817 master]
944855
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944856
+  (0.2ms) ROLLBACK [test:817 master]
944857
+  (0.1ms) BEGIN [test:817 master]
944858
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944859
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "18"]] [test:817 master]
944860
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944861
+  (0.2ms) ROLLBACK [test:817 master]
944862
+  (0.1ms) BEGIN [test:817 master]
944863
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944864
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "19"]] [test:817 master]
944865
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944866
+  (0.1ms) ROLLBACK [test:817 master]
944867
+  (0.1ms) BEGIN [test:817 master]
944868
+  (0.1ms) SAVEPOINT active_record_1 [test:817 master]
944869
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "20"]] [test:817 master]
944870
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:817 master]
944871
+  (0.2ms) ROLLBACK [test:817 master]
944872
+  (0.1ms) BEGIN [test:817 master]
944873
+  (0.1ms) ROLLBACK [test:817 master]