switchman 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/switchman/shard.rb +7 -0
  3. data/lib/switchman/active_record/model_schema.rb +12 -0
  4. data/lib/switchman/engine.rb +2 -0
  5. data/lib/switchman/version.rb +1 -1
  6. data/spec/dummy/db/shard_1006.sqlite3 +0 -0
  7. data/spec/dummy/db/shard_887.sqlite3 +0 -0
  8. data/spec/dummy/db/shard_923.sqlite3 +0 -0
  9. data/spec/dummy/db/shard_948.sqlite3 +0 -0
  10. data/spec/dummy/db/shard_955.sqlite3 +0 -0
  11. data/spec/dummy/db/shard_989.sqlite3 +0 -0
  12. data/spec/dummy/log/test.log +22475 -0
  13. data/spec/dummy/tmp/cache/{358/040/shard%2F996 → 350/F30/shard%2F907} +1 -1
  14. data/spec/dummy/tmp/cache/351/F60/shard%2F926 +0 -0
  15. data/spec/dummy/tmp/cache/351/F70/shard%2F935 +1 -1
  16. data/spec/dummy/tmp/cache/{354/FD0/shard%2F965 → 351/FB0/shard%2F971} +1 -1
  17. data/spec/dummy/tmp/cache/352/F70/shard%2F927 +0 -0
  18. data/spec/dummy/tmp/cache/{355/FD0/shard%2F957 → 354/FF0/shard%2F983} +1 -1
  19. data/spec/dummy/tmp/cache/{377/4D0/shard%2F1024 → 357/FF0/shard%2F878} +1 -1
  20. data/spec/dummy/tmp/cache/374/490/shard%2F1012 +1 -0
  21. data/spec/dummy/tmp/cache/3A7/EF0/shard%2F11005 +1 -0
  22. data/spec/dummy/tmp/cache/3AB/020/shard%2F10901 +1 -0
  23. data/spec/dummy/tmp/cache/3B2/0E0/shard%2F10953 +1 -0
  24. data/spec/dummy/tmp/cache/3B3/0C0/shard%2F10927 +1 -0
  25. data/spec/dummy/tmp/cache/3B5/110/shard%2F10875 +1 -0
  26. data/spec/dummy/tmp/cache/3BA/180/shard%2F10979 +1 -0
  27. data/spec/lib/active_record/model_schema_spec.rb +25 -0
  28. data/spec/models/shard_spec.rb +18 -0
  29. metadata +44 -19
  30. data/spec/dummy/tmp/cache/350/F40/shard%2F916 +0 -0
  31. data/spec/dummy/tmp/cache/356/010/shard%2F985 +0 -0
  32. data/spec/dummy/tmp/cache/379/4D0/shard%2F1008 +0 -0
  33. data/spec/dummy/tmp/cache/37A/4E0/shard%2F1009 +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5e68964a27c3bb568b993f3f805bf535d47b07c
4
- data.tar.gz: f81555977d5f3d15fe368f087d74df37bac9b71b
3
+ metadata.gz: 746fbf37c5142ff690f7641e15191b0d1ed6c1cc
4
+ data.tar.gz: 1a1f1d4cced641aec4980dcbfb41616ea0212bc5
5
5
  SHA512:
6
- metadata.gz: 5fdd2f11675cf9e2152bfaeb954c6efed7f405c083bd53a9aa59017b7226201a6e0163a493ec6cbe5b03d84725a5652e4c20f6e25dedd69e3e04a2f9d1d6de41
7
- data.tar.gz: 71b491d5fe6420f0e96c2cae70b849019167232be1cdca6a6d7f3c5d3002b36a61002a5d7ae1f238d508bda9e5ae0fc0b8f2b6594ce8be6f17cd5b0f7e2b8139
6
+ metadata.gz: def9f78de55963797ea0afdab709727d5a6bc88a4c11d9acc6de5bd076da4f5a53f6dfddff986b5a0bfaea1e7c358ac554fb5b82f5e54489b21d16333da60745
7
+ data.tar.gz: 76e372029e0ae7586a37c8aa4808e02b9329fe0608be7be5fce93117ee8d63e092953bd5be6566d924b3cfd02d86f6fb2d0d25dd4e0851e36f24cbbc5a6ed349
@@ -530,7 +530,9 @@ module Switchman
530
530
  end
531
531
 
532
532
  def drop_database
533
+ raise("Cannot drop the database of the default shard") if self.default?
533
534
  return unless read_attribute(:name)
535
+
534
536
  begin
535
537
  adapter = self.database_server.config[:adapter]
536
538
  sharding_config = Switchman.config || {}
@@ -591,6 +593,11 @@ module Switchman
591
593
  id.hash
592
594
  end
593
595
 
596
+ def destroy
597
+ raise("Cannot destroy the default shard") if self.default?
598
+ super
599
+ end
600
+
594
601
  private
595
602
 
596
603
  def clear_cache
@@ -0,0 +1,12 @@
1
+ module Switchman
2
+ module ActiveRecord
3
+ module ModelSchema
4
+ module ClassMethods
5
+ def quoted_table_name
6
+ @quoted_table_name ||= {}
7
+ @quoted_table_name[Shard.current.id] ||= connection.quote_table_name(table_name)
8
+ end
9
+ end
10
+ end
11
+ end
12
+ end
@@ -76,6 +76,7 @@ module Switchman
76
76
  require "switchman/active_record/connection_pool"
77
77
  require "switchman/active_record/finder_methods"
78
78
  require "switchman/active_record/log_subscriber"
79
+ require "switchman/active_record/model_schema"
79
80
  require "switchman/active_record/persistence"
80
81
  require "switchman/active_record/query_cache"
81
82
  require "switchman/active_record/query_methods"
@@ -86,6 +87,7 @@ module Switchman
86
87
  include ActiveRecord::Base
87
88
  include ActiveRecord::AttributeMethods
88
89
  include ActiveRecord::Persistence
90
+ singleton_class.prepend ActiveRecord::ModelSchema::ClassMethods
89
91
  ::ActiveRecord::Associations::Association.send(:include, ActiveRecord::Association)
90
92
  ::ActiveRecord::Associations::BelongsToAssociation.send(:include, ActiveRecord::BelongsToAssociation)
91
93
  ::ActiveRecord::Associations::CollectionProxy.send(:include, ActiveRecord::CollectionProxy)
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.3.6"
2
+ VERSION = "1.3.7"
3
3
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -334300,3 +334300,22478 @@ Migrating to AddDummyForeignKey (20150618035859)
334300
334300
   (0.2ms) BEGIN
334301
334301
  SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 849]]
334302
334302
   (0.1ms) COMMIT
334303
+ Connecting to database specified by database.yml
334304
+  (0.7ms) SELECT * FROM unnest(current_schemas(false))
334305
+ Switchman::Shard Load (6.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
334306
+ SQL (0.7ms) DELETE FROM "switchman_shards"
334307
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
334308
+  (0.1ms) BEGIN
334309
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
334310
+ SQL (0.8ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", nil], ["default", true], ["name", nil]]
334311
+  (5.7ms) COMMIT
334312
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
334313
+ Switchman::Shard Load (0.9ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY id LIMIT 1
334314
+  (0.1ms) BEGIN
334315
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["default", false], ["name", "public"]]
334316
+  (0.5ms) CREATE SCHEMA switchman_test_shard_874 [test:874 deploy]
334317
+  (0.1ms) SAVEPOINT active_record_1 [test:874 deploy]
334318
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [test:874 deploy]
334319
+  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:874 deploy]
334320
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  [test:874 deploy]
334321
+ Migrating to CreateSwitchmanShards (20130328212039)
334322
+  (14.7ms) 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:874 deploy]
334323
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328212039') [test:874 deploy]
334324
+ Migrating to CreateDefaultShard (20130328224244)
334325
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328224244') [test:874 deploy]
334326
+ Migrating to CreateUsers (20130403132607)
334327
+  (7.5ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [test:874 deploy]
334328
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130403132607') [test:874 deploy]
334329
+ Migrating to CreateAppendages (20130411202442)
334330
+  (18.3ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [test:874 deploy]
334331
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202442') [test:874 deploy]
334332
+ Migrating to CreateMirrorUsers (20130411202551)
334333
+  (19.3ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [test:874 deploy]
334334
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202551') [test:874 deploy]
334335
+ Migrating to CreateDigits (20131022202028)
334336
+  (13.4ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [test:874 deploy]
334337
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131022202028') [test:874 deploy]
334338
+ Migrating to CreateFeatures (20131206172923)
334339
+  (13.4ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [test:874 deploy]
334340
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131206172923') [test:874 deploy]
334341
+ Migrating to AddParentIdToUsers (20140123154135)
334342
+  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [test:874 deploy]
334343
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140123154135') [test:874 deploy]
334344
+ Migrating to CreateRoots (20140219183820)
334345
+  (7.6ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [test:874 deploy]
334346
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140219183820') [test:874 deploy]
334347
+ Migrating to AddDummyForeignKey (20150618035859)
334348
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [test:874 deploy]
334349
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150618035859') [test:874 deploy]
334350
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 deploy]
334351
+  (0.3ms) UPDATE "switchman_shards" SET "name" = 'switchman_test_shard_874' WHERE "switchman_shards"."id" = 874 [test:873 master]
334352
+  (7.2ms) COMMIT [test:873 master]
334353
+ Switchman::Shard Load (10.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '1' AND (name<>':memory:' OR name IS NULL) ORDER BY id LIMIT 1 [test:873 master]
334354
+  (0.1ms) BEGIN [test:873 master]
334355
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["default", false], ["name", "public"]] [test:873 master]
334356
+  (0.3ms) COMMIT [test:873 master]
334357
+  (0.7ms) CREATE SCHEMA switchman_test_shard_875 [1:875 deploy]
334358
+  (0.1ms) BEGIN [1:875 deploy]
334359
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [1:875 deploy]
334360
+  (6.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1:875 deploy]
334361
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" [1:875 deploy]
334362
+ Migrating to CreateSwitchmanShards (20130328212039)
334363
+  (14.6ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL)  [1:875 deploy]
334364
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328212039') [1:875 deploy]
334365
+ Migrating to CreateDefaultShard (20130328224244)
334366
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328224244') [1:875 deploy]
334367
+ Migrating to CreateUsers (20130403132607)
334368
+  (6.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [1:875 deploy]
334369
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130403132607') [1:875 deploy]
334370
+ Migrating to CreateAppendages (20130411202442)
334371
+  (1.8ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [1:875 deploy]
334372
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202442') [1:875 deploy]
334373
+ Migrating to CreateMirrorUsers (20130411202551)
334374
+  (1.9ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [1:875 deploy]
334375
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202551') [1:875 deploy]
334376
+ Migrating to CreateDigits (20131022202028)
334377
+  (1.8ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [1:875 deploy]
334378
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131022202028') [1:875 deploy]
334379
+ Migrating to CreateFeatures (20131206172923)
334380
+  (1.7ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [1:875 deploy]
334381
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131206172923') [1:875 deploy]
334382
+ Migrating to AddParentIdToUsers (20140123154135)
334383
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [1:875 deploy]
334384
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140123154135') [1:875 deploy]
334385
+ Migrating to CreateRoots (20140219183820)
334386
+  (2.0ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [1:875 deploy]
334387
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140219183820') [1:875 deploy]
334388
+ Migrating to AddDummyForeignKey (20150618035859)
334389
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [1:875 deploy]
334390
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150618035859') [1:875 deploy]
334391
+  (0.8ms) COMMIT [1:875 deploy]
334392
+  (0.1ms) BEGIN [test:873 master]
334393
+  (0.2ms) UPDATE "switchman_shards" SET "name" = 'switchman_test_shard_875' WHERE "switchman_shards"."id" = 875 [test:873 master]
334394
+  (0.2ms) COMMIT [test:873 master]
334395
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:873 master]
334396
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334397
+  (0.1ms) BEGIN [test:873 master]
334398
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334399
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
334400
+  (0.2ms) COMMIT [test:873 master]
334401
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334402
+  (0.1ms) BEGIN [test:873 master]
334403
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
334404
+  (0.2ms) COMMIT [test:873 master]
334405
+  (0.1ms) BEGIN [test:873 master]
334406
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
334407
+  (0.2ms) COMMIT [test:873 master]
334408
+  (0.1ms) BEGIN [test:873 master]
334409
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334410
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334411
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334412
+  (0.1ms) BEGIN [1:875 master]
334413
+  (0.1ms) ROLLBACK [1:875 master]
334414
+  (0.1ms) ROLLBACK [test:873 master]
334415
+  (0.0ms) BEGIN [test:873 master]
334416
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334417
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334418
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334419
+  (0.0ms) BEGIN [1:875 master]
334420
+  (0.0ms) ROLLBACK [1:875 master]
334421
+  (0.1ms) ROLLBACK [test:873 master]
334422
+  (0.1ms) BEGIN [test:873 master]
334423
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334424
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334425
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334426
+  (0.0ms) BEGIN [1:875 master]
334427
+  (0.0ms) ROLLBACK [1:875 master]
334428
+  (0.1ms) ROLLBACK [test:873 master]
334429
+  (0.0ms) BEGIN [test:873 master]
334430
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334431
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334432
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334433
+  (0.0ms) BEGIN [1:875 master]
334434
+  (0.0ms) ROLLBACK [1:875 master]
334435
+  (0.1ms) ROLLBACK [test:873 master]
334436
+  (0.0ms) BEGIN [test:873 master]
334437
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334438
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334439
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334440
+  (0.0ms) BEGIN [1:875 master]
334441
+  (0.0ms) ROLLBACK [1:875 master]
334442
+  (0.1ms) ROLLBACK [test:873 master]
334443
+  (0.1ms) BEGIN [test:873 master]
334444
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334445
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334446
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334447
+  (0.1ms) BEGIN [1:875 master]
334448
+  (0.1ms) ROLLBACK [1:875 master]
334449
+  (0.1ms) ROLLBACK [test:873 master]
334450
+  (0.0ms) BEGIN [test:873 master]
334451
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334452
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334453
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334454
+  (0.1ms) BEGIN [1:875 master]
334455
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 10875 LIMIT 1 [test:873 master]
334456
+  (0.1ms) ROLLBACK [1:875 master]
334457
+  (0.1ms) ROLLBACK [test:873 master]
334458
+  (0.1ms) BEGIN [test:873 master]
334459
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334460
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334461
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334462
+  (0.0ms) BEGIN [1:875 master]
334463
+  (0.1ms) ROLLBACK [1:875 master]
334464
+  (1.6ms) ROLLBACK [test:873 master]
334465
+  (0.1ms) BEGIN [test:873 master]
334466
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334467
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334468
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334469
+  (0.1ms) BEGIN [1:875 master]
334470
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 874 LIMIT 1 [test:873 master]
334471
+  (0.1ms) ROLLBACK [1:875 master]
334472
+  (0.1ms) ROLLBACK [test:873 master]
334473
+  (0.1ms) BEGIN [test:873 master]
334474
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334475
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334476
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334477
+  (0.0ms) BEGIN [1:875 master]
334478
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 875 LIMIT 1 [test:873 master]
334479
+  (0.1ms) ROLLBACK [1:875 master]
334480
+  (0.1ms) ROLLBACK [test:873 master]
334481
+  (0.1ms) BEGIN [test:873 master]
334482
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334483
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334484
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334485
+  (0.1ms) BEGIN [1:875 master]
334486
+  (0.1ms) ROLLBACK [1:875 master]
334487
+  (0.1ms) ROLLBACK [test:873 master]
334488
+  (0.1ms) BEGIN [test:873 master]
334489
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334490
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334491
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334492
+  (0.1ms) BEGIN [1:875 master]
334493
+  (0.2ms) ROLLBACK [1:875 master]
334494
+  (0.1ms) ROLLBACK [test:873 master]
334495
+  (0.1ms) BEGIN [test:873 master]
334496
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334497
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334498
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334499
+  (0.1ms) BEGIN [1:875 master]
334500
+  (0.1ms) ROLLBACK [1:875 master]
334501
+  (0.1ms) ROLLBACK [test:873 master]
334502
+  (0.1ms) BEGIN [test:873 master]
334503
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334504
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334505
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334506
+  (0.0ms) BEGIN [1:875 master]
334507
+  (0.1ms) ROLLBACK [1:875 master]
334508
+  (0.1ms) ROLLBACK [test:873 master]
334509
+  (0.1ms) BEGIN [test:873 master]
334510
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334511
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334512
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334513
+  (0.1ms) BEGIN [1:875 master]
334514
+  (0.1ms) ROLLBACK [1:875 master]
334515
+  (0.1ms) ROLLBACK [test:873 master]
334516
+  (0.0ms) BEGIN [test:873 master]
334517
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334518
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334519
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334520
+  (0.1ms) BEGIN [1:875 master]
334521
+  (0.1ms) ROLLBACK [1:875 master]
334522
+  (0.1ms) ROLLBACK [test:873 master]
334523
+  (0.0ms) BEGIN [test:873 master]
334524
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334525
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334526
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334527
+  (0.0ms) BEGIN [1:875 master]
334528
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY id LIMIT 1 [test:873 master]
334529
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
334530
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "2"], ["default", false], ["name", "public"]] [test:873 master]
334531
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334532
+  (5.2ms) CREATE SCHEMA switchman_test_shard_876 [2:876 deploy]
334533
+  (0.1ms) BEGIN [2:876 deploy]
334534
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [2:876 deploy]
334535
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [2:876 deploy]
334536
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  [2:876 deploy]
334537
+ Migrating to CreateSwitchmanShards (20130328212039)
334538
+  (3.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) [2:876 deploy]
334539
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328212039') [2:876 deploy]
334540
+ Migrating to CreateDefaultShard (20130328224244)
334541
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328224244') [2:876 deploy]
334542
+ Migrating to CreateUsers (20130403132607)
334543
+  (2.5ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [2:876 deploy]
334544
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130403132607') [2:876 deploy]
334545
+ Migrating to CreateAppendages (20130411202442)
334546
+  (1.8ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [2:876 deploy]
334547
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202442') [2:876 deploy]
334548
+ Migrating to CreateMirrorUsers (20130411202551)
334549
+  (1.6ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [2:876 deploy]
334550
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202551') [2:876 deploy]
334551
+ Migrating to CreateDigits (20131022202028)
334552
+  (1.8ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [2:876 deploy]
334553
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131022202028') [2:876 deploy]
334554
+ Migrating to CreateFeatures (20131206172923)
334555
+  (2.2ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [2:876 deploy]
334556
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131206172923') [2:876 deploy]
334557
+ Migrating to AddParentIdToUsers (20140123154135)
334558
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [2:876 deploy]
334559
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140123154135') [2:876 deploy]
334560
+ Migrating to CreateRoots (20140219183820)
334561
+  (1.7ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [2:876 deploy]
334562
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140219183820') [2:876 deploy]
334563
+ Migrating to AddDummyForeignKey (20150618035859)
334564
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [2:876 deploy]
334565
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20150618035859') [2:876 deploy]
334566
+  (0.8ms) COMMIT [2:876 deploy]
334567
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
334568
+  (0.2ms) UPDATE "switchman_shards" SET "name" = 'switchman_test_shard_876' WHERE "switchman_shards"."id" = 876 [test:873 master]
334569
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334570
+  (0.1ms) BEGIN [2:876 master]
334571
+ SQL (2.1ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:40 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:40 UTC +00:00]] [2:876 master]
334572
+  (5.6ms) COMMIT [2:876 master]
334573
+  (0.4ms) SELECT COUNT(*) FROM "users" [2:876 master]
334574
+  (31.3ms) DROP SCHEMA switchman_test_shard_876 CASCADE [2:876 deploy]
334575
+  (0.5ms) SELECT COUNT(*) FROM "users" [2:876 master]
334576
+ PG::UndefinedTable: ERROR: relation "users" does not exist
334577
+ LINE 1: SELECT COUNT(*) FROM "users"
334578
+ ^
334579
+ : SELECT COUNT(*) FROM "users"
334580
+  (0.1ms) ROLLBACK [1:875 master]
334581
+  (0.1ms) ROLLBACK [test:873 master]
334582
+  (0.1ms) BEGIN [test:873 master]
334583
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334584
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334585
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334586
+  (0.1ms) BEGIN [1:875 master]
334587
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:873 master]
334588
+  (0.1ms) ROLLBACK [1:875 master]
334589
+  (0.1ms) ROLLBACK [test:873 master]
334590
+  (0.1ms) BEGIN [test:873 master]
334591
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334592
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334593
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334594
+  (0.1ms) BEGIN [1:875 master]
334595
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:873 master]
334596
+  (0.1ms) ROLLBACK [1:875 master]
334597
+  (0.1ms) ROLLBACK [test:873 master]
334598
+  (0.0ms) BEGIN [test:873 master]
334599
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334600
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334601
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334602
+  (0.0ms) BEGIN [1:875 master]
334603
+  (0.1ms) ROLLBACK [1:875 master]
334604
+  (0.1ms) ROLLBACK [test:873 master]
334605
+  (0.0ms) BEGIN [test:873 master]
334606
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334607
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334608
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334609
+  (0.0ms) BEGIN [1:875 master]
334610
+  (0.0ms) ROLLBACK [1:875 master]
334611
+  (0.1ms) ROLLBACK [test:873 master]
334612
+  (0.0ms) BEGIN [test:873 master]
334613
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334614
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334615
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334616
+  (0.0ms) BEGIN [1:875 master]
334617
+  (0.0ms) ROLLBACK [1:875 master]
334618
+  (0.1ms) ROLLBACK [test:873 master]
334619
+  (0.0ms) BEGIN [test:873 master]
334620
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334621
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334622
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334623
+  (0.0ms) BEGIN [1:875 master]
334624
+  (0.0ms) SAVEPOINT active_record_1 [test:873 master]
334625
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", nil], ["default", false], ["name", nil]] [test:873 master]
334626
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334627
+  (0.0ms) SAVEPOINT active_record_1 [test:873 master]
334628
+ SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 877]] [test:873 master]
334629
+  (0.0ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334630
+  (0.1ms) ROLLBACK [1:875 master]
334631
+  (0.1ms) ROLLBACK [test:873 master]
334632
+  (0.0ms) BEGIN [test:873 master]
334633
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334634
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334635
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334636
+  (0.0ms) BEGIN [1:875 master]
334637
+  (0.0ms) ROLLBACK [1:875 master]
334638
+  (0.1ms) ROLLBACK [test:873 master]
334639
+  (0.0ms) BEGIN [test:873 master]
334640
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334641
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334642
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334643
+  (0.1ms) BEGIN [1:875 master]
334644
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
334645
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", nil], ["default", false], ["name", nil]] [test:873 master]
334646
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334647
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
334648
+ SQL (0.1ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 878]] [test:873 master]
334649
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334650
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 878 LIMIT 1 [test:873 master]
334651
+  (0.1ms) ROLLBACK [1:875 master]
334652
+  (0.1ms) ROLLBACK [test:873 master]
334653
+  (0.0ms) BEGIN [test:873 master]
334654
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334655
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334656
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334657
+  (0.1ms) BEGIN [1:875 master]
334658
+  (0.0ms) ROLLBACK [1:875 master]
334659
+  (0.1ms) ROLLBACK [test:873 master]
334660
+  (0.0ms) BEGIN [test:873 master]
334661
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334662
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334663
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334664
+  (0.1ms) BEGIN [1:875 master]
334665
+  (0.0ms) ROLLBACK [1:875 master]
334666
+  (0.0ms) ROLLBACK [test:873 master]
334667
+  (0.0ms) BEGIN [test:873 master]
334668
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334669
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334670
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334671
+  (0.0ms) BEGIN [1:875 master]
334672
+  (0.0ms) ROLLBACK [1:875 master]
334673
+  (0.0ms) ROLLBACK [test:873 master]
334674
+  (0.0ms) BEGIN [test:873 master]
334675
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334676
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334677
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334678
+  (0.0ms) BEGIN [1:875 master]
334679
+  (0.0ms) ROLLBACK [1:875 master]
334680
+  (0.1ms) ROLLBACK [test:873 master]
334681
+  (0.0ms) BEGIN [test:873 master]
334682
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334683
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334684
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334685
+  (0.0ms) BEGIN [1:875 master]
334686
+  (0.0ms) ROLLBACK [1:875 master]
334687
+  (0.1ms) ROLLBACK [test:873 master]
334688
+  (0.1ms) BEGIN [test:873 master]
334689
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334690
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334691
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334692
+  (0.0ms) BEGIN [1:875 master]
334693
+  (0.0ms) ROLLBACK [1:875 master]
334694
+  (0.0ms) ROLLBACK [test:873 master]
334695
+  (0.0ms) BEGIN [test:873 master]
334696
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334697
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334698
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334699
+  (0.1ms) BEGIN [1:875 master]
334700
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY id [test:873 master]
334701
+  (0.1ms) ROLLBACK [1:875 master]
334702
+  (0.1ms) ROLLBACK [test:874 master]
334703
+  (0.0ms) BEGIN [test:873 master]
334704
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334705
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334706
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334707
+  (0.1ms) BEGIN [1:875 master]
334708
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 873 [test:873 master]
334709
+  (0.1ms) ROLLBACK [1:875 master]
334710
+  (0.1ms) ROLLBACK [test:873 master]
334711
+  (0.1ms) BEGIN [test:873 master]
334712
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334713
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334714
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334715
+  (0.1ms) BEGIN [1:875 master]
334716
+ Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:873 master]
334717
+  (0.1ms) ROLLBACK [1:875 master]
334718
+  (0.1ms) ROLLBACK [test:873 master]
334719
+  (0.1ms) BEGIN [test:873 master]
334720
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334721
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334722
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334723
+  (0.0ms) BEGIN [1:875 master]
334724
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:873 master]
334725
+  (0.1ms) ROLLBACK [1:875 master]
334726
+  (0.1ms) ROLLBACK [test:873 master]
334727
+  (0.1ms) BEGIN [test:873 master]
334728
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334729
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334730
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334731
+  (0.1ms) BEGIN [1:875 master]
334732
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:873 master]
334733
+  (0.1ms) ROLLBACK [1:875 master]
334734
+  (0.1ms) ROLLBACK [test:873 master]
334735
+  (0.1ms) BEGIN [test:873 master]
334736
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334737
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334738
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334739
+  (0.1ms) BEGIN [1:875 master]
334740
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:873 master]
334741
+  (0.1ms) ROLLBACK [1:875 master]
334742
+  (0.1ms) ROLLBACK [test:873 master]
334743
+  (0.0ms) BEGIN [test:873 master]
334744
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334745
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334746
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334747
+  (0.0ms) BEGIN [1:875 master]
334748
+  (0.0ms) ROLLBACK [1:875 master]
334749
+  (0.0ms) ROLLBACK [test:873 master]
334750
+  (0.1ms) BEGIN [test:873 master]
334751
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334752
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334753
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334754
+  (0.1ms) BEGIN [1:875 master]
334755
+  (0.1ms) ROLLBACK [1:875 master]
334756
+  (0.1ms) ROLLBACK [test:873 master]
334757
+  (0.1ms) BEGIN [test:873 master]
334758
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334759
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334760
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334761
+  (0.1ms) BEGIN [1:875 master]
334762
+  (0.1ms) ROLLBACK [1:875 master]
334763
+  (0.1ms) ROLLBACK [test:873 master]
334764
+  (0.1ms) BEGIN [test:873 master]
334765
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334766
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334767
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334768
+  (0.1ms) BEGIN [1:875 master]
334769
+  (0.1ms) ROLLBACK [1:875 master]
334770
+  (0.1ms) ROLLBACK [test:873 master]
334771
+  (0.1ms) BEGIN [test:873 master]
334772
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334773
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334774
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334775
+  (0.0ms) BEGIN [1:875 master]
334776
+  (0.1ms) ROLLBACK [1:875 master]
334777
+  (0.1ms) ROLLBACK [test:873 master]
334778
+  (0.0ms) BEGIN [test:873 master]
334779
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334780
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334781
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334782
+  (0.0ms) BEGIN [1:875 master]
334783
+  (0.0ms) ROLLBACK [1:875 master]
334784
+  (0.0ms) ROLLBACK [test:873 master]
334785
+  (0.0ms) BEGIN [test:873 master]
334786
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334787
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334788
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334789
+  (0.1ms) BEGIN [1:875 master]
334790
+  (0.1ms) ROLLBACK [1:875 master]
334791
+  (0.1ms) ROLLBACK [test:873 master]
334792
+  (0.0ms) BEGIN [test:873 master]
334793
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334794
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334795
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334796
+  (0.0ms) BEGIN [1:875 master]
334797
+  (0.0ms) ROLLBACK [1:875 master]
334798
+  (0.1ms) ROLLBACK [test:873 master]
334799
+  (0.0ms) BEGIN [test:873 master]
334800
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334801
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334802
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334803
+  (0.0ms) BEGIN [1:875 master]
334804
+  (0.1ms) ROLLBACK [1:875 master]
334805
+  (0.1ms) ROLLBACK [test:873 master]
334806
+ SQL (0.5ms) DELETE FROM "switchman_shards" [test:873 master]
334807
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334808
+  (0.1ms) BEGIN [test:873 master]
334809
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334810
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
334811
+  (0.3ms) COMMIT [test:873 master]
334812
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334813
+  (0.0ms) BEGIN [test:873 master]
334814
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
334815
+  (0.3ms) COMMIT [test:873 master]
334816
+  (0.1ms) BEGIN [test:873 master]
334817
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
334818
+  (0.3ms) COMMIT [test:873 master]
334819
+  (0.1ms) BEGIN [test:873 master]
334820
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334821
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334822
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334823
+  (0.1ms) BEGIN [1:875 master]
334824
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
334825
+ SQL (0.7ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:873 master]
334826
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334827
+  (0.1ms) ROLLBACK [1:875 master]
334828
+  (0.1ms) ROLLBACK [test:873 master]
334829
+  (0.0ms) BEGIN [test:873 master]
334830
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334831
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334832
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334833
+  (0.1ms) BEGIN [1:875 master]
334834
+  (0.0ms) ROLLBACK [1:875 master]
334835
+  (0.1ms) ROLLBACK [test:873 master]
334836
+  (0.0ms) BEGIN [test:873 master]
334837
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334838
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334839
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334840
+  (0.0ms) BEGIN [1:875 master]
334841
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
334842
+ SQL (0.7ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
334843
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
334844
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 874 LIMIT 1 [test:873 master]
334845
+  (0.1ms) ROLLBACK [1:875 master]
334846
+  (0.1ms) ROLLBACK [test:873 master]
334847
+  (0.0ms) BEGIN [test:873 master]
334848
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334849
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334850
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334851
+  (0.0ms) BEGIN [1:875 master]
334852
+  (0.0ms) ROLLBACK [1:875 master]
334853
+  (0.1ms) ROLLBACK [test:873 master]
334854
+  (0.0ms) BEGIN [test:873 master]
334855
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334856
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334857
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334858
+  (0.1ms) BEGIN [1:875 master]
334859
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
334860
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:873 master]
334861
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334862
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
334863
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
334864
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
334865
+  (0.1ms) ROLLBACK [1:875 master]
334866
+  (0.1ms) ROLLBACK [test:874 master]
334867
+  (0.1ms) BEGIN [test:873 master]
334868
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334869
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334870
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334871
+  (0.0ms) BEGIN [1:875 master]
334872
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
334873
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
334874
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
334875
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
334876
+ SQL (0.7ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", nil], ["value", nil]] [test:874 master]
334877
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
334878
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
334879
+ SQL (1.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", nil], ["value", nil]] [1:875 master]
334880
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
334881
+  (0.1ms) ROLLBACK [1:875 master]
334882
+  (0.1ms) ROLLBACK [test:874 master]
334883
+  (0.0ms) BEGIN [test:873 master]
334884
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334885
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334886
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334887
+  (0.0ms) BEGIN [1:875 master]
334888
+  (0.1ms) ROLLBACK [1:875 master]
334889
+  (0.1ms) ROLLBACK [test:873 master]
334890
+  (0.0ms) BEGIN [test:873 master]
334891
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334892
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334893
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334894
+  (0.0ms) BEGIN [1:875 master]
334895
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
334896
+ SQL (0.7ms) INSERT INTO "roots" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", nil]] [test:873 master]
334897
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334898
+  (0.1ms) ROLLBACK [1:875 master]
334899
+  (0.1ms) ROLLBACK [test:873 master]
334900
+ SQL (4.4ms) DELETE FROM "switchman_shards" [test:873 master]
334901
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334902
+  (0.1ms) BEGIN [test:873 master]
334903
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334904
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
334905
+  (5.5ms) COMMIT [test:873 master]
334906
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334907
+  (0.1ms) BEGIN [test:873 master]
334908
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
334909
+  (5.3ms) COMMIT [test:873 master]
334910
+  (0.1ms) BEGIN [test:873 master]
334911
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
334912
+  (5.7ms) COMMIT [test:873 master]
334913
+  (0.1ms) BEGIN [test:873 master]
334914
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334915
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334916
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334917
+  (0.0ms) BEGIN [1:875 master]
334918
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
334919
+ SQL (0.6ms) INSERT INTO "mirror_users" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", nil]] [test:873 master]
334920
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
334921
+ MirrorUser Load (0.5ms) SELECT "mirror_users".* FROM "mirror_users" WHERE "mirror_users"."id" = $1 LIMIT 1 [["id", 29]] [test:873 master]
334922
+ MirrorUser Load (0.2ms) SELECT "mirror_users".* FROM "mirror_users" WHERE "mirror_users"."id" = $1 LIMIT 1 [["id", 29]] [test:873 master]
334923
+ MirrorUser Load (0.4ms) SELECT "mirror_users".* FROM "mirror_users" WHERE "mirror_users"."id" = 29 LIMIT 1 [test:874 master]
334924
+  (0.1ms) ROLLBACK [1:875 master]
334925
+  (0.1ms) ROLLBACK [test:874 master]
334926
+  (0.1ms) BEGIN [test:873 master]
334927
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334928
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334929
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334930
+  (0.1ms) BEGIN [1:875 master]
334931
+  (0.1ms) ROLLBACK [1:875 master]
334932
+  (0.1ms) ROLLBACK [test:873 master]
334933
+  (0.0ms) BEGIN [test:873 master]
334934
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334935
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334936
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334937
+  (0.1ms) BEGIN [1:875 master]
334938
+  (0.1ms) ROLLBACK [1:875 master]
334939
+  (0.1ms) ROLLBACK [test:873 master]
334940
+  (0.0ms) BEGIN [test:873 master]
334941
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334942
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334943
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334944
+  (0.1ms) BEGIN [1:875 master]
334945
+  (0.1ms) ROLLBACK [1:875 master]
334946
+  (0.1ms) ROLLBACK [test:873 master]
334947
+ SQL (5.5ms) DELETE FROM "switchman_shards" [test:873 master]
334948
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334949
+  (0.1ms) BEGIN [test:873 master]
334950
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334951
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
334952
+  (5.7ms) COMMIT [test:873 master]
334953
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334954
+  (0.1ms) BEGIN [test:873 master]
334955
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
334956
+  (5.8ms) COMMIT [test:873 master]
334957
+  (0.1ms) BEGIN [test:873 master]
334958
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
334959
+  (5.9ms) COMMIT [test:873 master]
334960
+  (0.1ms) BEGIN [test:873 master]
334961
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334962
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334963
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334964
+  (0.1ms) BEGIN [1:875 master]
334965
+  (0.1ms) ROLLBACK [1:875 master]
334966
+  (0.1ms) ROLLBACK [test:873 master]
334967
+  (0.1ms) BEGIN [test:873 master]
334968
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334969
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334970
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334971
+  (0.1ms) BEGIN [1:875 master]
334972
+  (0.1ms) ROLLBACK [1:875 master]
334973
+  (0.1ms) ROLLBACK [test:873 master]
334974
+  (0.0ms) BEGIN [test:873 master]
334975
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334976
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334977
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334978
+  (0.1ms) BEGIN [1:875 master]
334979
+  (0.1ms) ROLLBACK [1:875 master]
334980
+  (0.1ms) ROLLBACK [test:873 master]
334981
+  (0.0ms) BEGIN [test:873 master]
334982
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334983
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334984
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334985
+  (0.0ms) BEGIN [1:875 master]
334986
+  (0.0ms) ROLLBACK [1:875 master]
334987
+  (0.1ms) ROLLBACK [test:873 master]
334988
+  (0.0ms) BEGIN [test:873 master]
334989
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334990
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334991
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334992
+  (0.0ms) BEGIN [1:875 master]
334993
+  (0.1ms) ROLLBACK [1:875 master]
334994
+  (0.0ms) ROLLBACK [test:873 master]
334995
+  (0.0ms) BEGIN [test:873 master]
334996
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
334997
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
334998
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
334999
+  (0.1ms) BEGIN [1:875 master]
335000
+  (0.1ms) ROLLBACK [1:875 master]
335001
+  (0.1ms) ROLLBACK [test:873 master]
335002
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:873 master]
335003
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335004
+  (0.0ms) BEGIN [test:873 master]
335005
+ Switchman::Shard Exists (0.1ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335006
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
335007
+  (0.3ms) COMMIT [test:873 master]
335008
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335009
+  (0.0ms) BEGIN [test:873 master]
335010
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
335011
+  (0.3ms) COMMIT [test:873 master]
335012
+  (0.1ms) BEGIN [test:873 master]
335013
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
335014
+  (0.3ms) COMMIT [test:873 master]
335015
+  (0.0ms) BEGIN [test:873 master]
335016
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335017
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335018
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335019
+  (0.1ms) BEGIN [1:875 master]
335020
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335021
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335022
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335023
+  (0.1ms) ROLLBACK [1:875 master]
335024
+  (0.1ms) ROLLBACK [test:874 master]
335025
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:873 master]
335026
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335027
+  (0.1ms) BEGIN [test:873 master]
335028
+ Switchman::Shard Exists (0.1ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335029
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
335030
+  (0.3ms) COMMIT [test:873 master]
335031
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335032
+  (0.1ms) BEGIN [test:873 master]
335033
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
335034
+  (0.2ms) COMMIT [test:873 master]
335035
+  (0.1ms) BEGIN [test:873 master]
335036
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
335037
+  (0.2ms) COMMIT [test:873 master]
335038
+  (0.1ms) BEGIN [test:873 master]
335039
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335040
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335041
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335042
+  (0.0ms) BEGIN [1:875 master]
335043
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ('f') [test:873 master]
335044
+  (0.1ms) ROLLBACK [1:875 master]
335045
+  (0.0ms) ROLLBACK [test:873 master]
335046
+  (0.1ms) BEGIN [test:873 master]
335047
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335048
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335049
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335050
+  (0.0ms) BEGIN [1:875 master]
335051
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id IN (873)) [test:873 master]
335052
+  (0.1ms) ROLLBACK [1:875 master]
335053
+  (0.1ms) ROLLBACK [test:873 master]
335054
+  (0.1ms) BEGIN [test:873 master]
335055
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335056
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335057
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335058
+  (0.1ms) BEGIN [1:875 master]
335059
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=873 AND id<874)) [test:873 master]
335060
+  (0.1ms) ROLLBACK [1:875 master]
335061
+  (0.1ms) ROLLBACK [test:873 master]
335062
+  (0.1ms) BEGIN [test:873 master]
335063
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335064
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335065
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335066
+  (0.1ms) BEGIN [1:875 master]
335067
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=874 AND id<=874)) AND (id NOT IN (873)) [test:873 master]
335068
+  (0.1ms) ROLLBACK [1:875 master]
335069
+  (0.0ms) ROLLBACK [test:873 master]
335070
+  (0.0ms) BEGIN [test:873 master]
335071
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335072
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335073
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335074
+  (0.0ms) BEGIN [1:875 master]
335075
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=873 AND id<=874)) ORDER BY id [test:873 master]
335076
+  (0.0ms) ROLLBACK [1:875 master]
335077
+  (0.0ms) ROLLBACK [test:873 master]
335078
+  (0.0ms) BEGIN [test:873 master]
335079
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335080
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335081
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335082
+  (0.1ms) BEGIN [1:875 master]
335083
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=873 AND id<=874)) AND (id NOT IN (873)) [test:873 master]
335084
+  (0.1ms) ROLLBACK [1:875 master]
335085
+  (0.1ms) ROLLBACK [test:873 master]
335086
+  (0.0ms) BEGIN [test:873 master]
335087
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335088
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335089
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335090
+  (0.1ms) BEGIN [1:875 master]
335091
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id NOT IN (873)) [test:873 master]
335092
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards"  [test:873 master]
335093
+  (0.1ms) ROLLBACK [1:875 master]
335094
+  (0.0ms) ROLLBACK [test:873 master]
335095
+  (0.0ms) BEGIN [test:873 master]
335096
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335097
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335098
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335099
+  (0.0ms) BEGIN [1:875 master]
335100
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id<=874)) ORDER BY id [test:873 master]
335101
+  (0.0ms) ROLLBACK [1:875 master]
335102
+  (0.0ms) ROLLBACK [test:873 master]
335103
+  (0.0ms) BEGIN [test:873 master]
335104
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335105
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335106
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335107
+  (0.1ms) BEGIN [1:875 master]
335108
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
335109
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", nil], ["default", false], ["name", nil]] [test:873 master]
335110
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335111
+  (0.0ms) SAVEPOINT active_record_1 [test:873 master]
335112
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", nil], ["default", false], ["name", nil]] [test:873 master]
335113
+  (0.0ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335114
+  (0.0ms) SAVEPOINT active_record_1 [test:873 master]
335115
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", nil], ["default", false], ["name", nil]] [test:873 master]
335116
+  (0.0ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335117
+  (0.0ms) SAVEPOINT active_record_1 [test:873 master]
335118
+ SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 880]] [test:873 master]
335119
+  (0.0ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335120
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards"  [test:873 master]
335121
+ Switchman::Shard Load (0.5ms) SELECT MAX(id) AS max_id FROM (SELECT id FROM "switchman_shards" ORDER BY id LIMIT 2) subquery [test:873 master]
335122
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id<=874) [test:873 master]
335123
+  (0.2ms) SELECT COUNT(*) FROM "switchman_shards" [test:873 master]
335124
+ Switchman::Shard Load (0.3ms) SELECT MIN(id) AS min_id, MAX(id) AS max_id FROM (SELECT id FROM "switchman_shards" ORDER BY id LIMIT 2 OFFSET 2) subquery  [test:873 master]
335125
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=875 AND id<=879)) [test:873 master]
335126
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards"  [test:873 master]
335127
+ Switchman::Shard Load (0.2ms) SELECT MIN(id) AS min_id FROM (SELECT id FROM "switchman_shards" ORDER BY id OFFSET 4) subquery [test:873 master]
335128
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id>=881) [test:873 master]
335129
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards" [test:873 master]
335130
+ Switchman::Shard Load (0.2ms) SELECT MAX(id) AS max_id FROM (SELECT id FROM "switchman_shards" ORDER BY id LIMIT 1) subquery  [test:873 master]
335131
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id<=873) [test:873 master]
335132
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards"  [test:873 master]
335133
+ Switchman::Shard Load (0.2ms) SELECT MIN(id) AS min_id, MAX(id) AS max_id FROM (SELECT id FROM "switchman_shards" ORDER BY id LIMIT 1 OFFSET 1) subquery [test:873 master]
335134
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=874 AND id<=874)) [test:873 master]
335135
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards" [test:873 master]
335136
+ Switchman::Shard Load (0.1ms) SELECT MIN(id) AS min_id, MAX(id) AS max_id FROM (SELECT id FROM "switchman_shards" ORDER BY id LIMIT 1 OFFSET 2) subquery  [test:873 master]
335137
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=875 AND id<=875)) [test:873 master]
335138
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards"  [test:873 master]
335139
+ Switchman::Shard Load (0.2ms) SELECT MIN(id) AS min_id, MAX(id) AS max_id FROM (SELECT id FROM "switchman_shards" ORDER BY id LIMIT 1 OFFSET 3) subquery [test:873 master]
335140
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=879 AND id<=879)) [test:873 master]
335141
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards" [test:873 master]
335142
+ Switchman::Shard Load (0.1ms) SELECT MIN(id) AS min_id, MAX(id) AS max_id FROM (SELECT id FROM "switchman_shards" ORDER BY id LIMIT 1 OFFSET 4) subquery  [test:873 master]
335143
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=881 AND id<=881)) [test:873 master]
335144
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards"  [test:873 master]
335145
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ('f') [test:873 master]
335146
+  (0.1ms) SELECT COUNT(*) FROM "switchman_shards"  [test:873 master]
335147
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ('f') [test:873 master]
335148
+  (0.1ms) ROLLBACK [1:875 master]
335149
+  (0.1ms) ROLLBACK [test:873 master]
335150
+  (0.0ms) BEGIN [test:873 master]
335151
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335152
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335153
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335154
+  (0.1ms) BEGIN [1:875 master]
335155
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=874)) ORDER BY id [test:873 master]
335156
+  (0.1ms) ROLLBACK [1:875 master]
335157
+  (0.1ms) ROLLBACK [test:873 master]
335158
+  (0.1ms) BEGIN [test:873 master]
335159
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335160
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335161
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335162
+  (0.1ms) BEGIN [1:875 master]
335163
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE ((id>=873 AND id<874) OR (id>=875 AND id<876)) ORDER BY id [test:873 master]
335164
+  (0.1ms) ROLLBACK [1:875 master]
335165
+  (0.1ms) ROLLBACK [test:873 master]
335166
+  (0.0ms) BEGIN [test:873 master]
335167
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335168
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335169
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335170
+  (0.0ms) BEGIN [1:875 master]
335171
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id NOT IN (873)) [test:873 master]
335172
+  (0.1ms) ROLLBACK [1:875 master]
335173
+  (0.0ms) ROLLBACK [test:873 master]
335174
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:873 master]
335175
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335176
+  (0.1ms) BEGIN [test:873 master]
335177
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335178
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
335179
+  (0.2ms) COMMIT [test:873 master]
335180
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335181
+  (0.0ms) BEGIN [test:873 master]
335182
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
335183
+  (0.3ms) COMMIT [test:873 master]
335184
+  (0.1ms) BEGIN [test:873 master]
335185
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
335186
+  (0.2ms) COMMIT [test:873 master]
335187
+  (0.1ms) BEGIN [test:873 master]
335188
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335189
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335190
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335191
+  (0.1ms) BEGIN [1:875 master]
335192
+  (0.1ms) ROLLBACK [1:875 master]
335193
+  (0.1ms) ROLLBACK [test:873 master]
335194
+  (0.1ms) BEGIN [test:873 master]
335195
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335196
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335197
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335198
+  (0.1ms) BEGIN [1:875 master]
335199
+  (0.1ms) ROLLBACK [1:875 master]
335200
+  (0.1ms) ROLLBACK [test:873 master]
335201
+  (0.0ms) BEGIN [test:873 master]
335202
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335203
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335204
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335205
+  (0.0ms) BEGIN [1:875 master]
335206
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
335207
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "4"], ["default", false], ["name", nil]] [test:873 master]
335208
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335209
+  (0.1ms) ROLLBACK [1:875 master]
335210
+  (0.1ms) ROLLBACK [test:873 master]
335211
+  (0.1ms) BEGIN [test:873 master]
335212
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335213
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335214
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335215
+  (0.1ms) BEGIN [1:875 master]
335216
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
335217
+ SQL (0.4ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:873 master]
335218
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335219
+  (0.1ms) ROLLBACK [1:875 master]
335220
+  (0.1ms) ROLLBACK [test:873 master]
335221
+  (0.0ms) BEGIN [test:873 master]
335222
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335223
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335224
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335225
+  (0.0ms) BEGIN [1:875 master]
335226
+  (0.1ms) ROLLBACK [1:875 master]
335227
+  (0.1ms) ROLLBACK [test:873 master]
335228
+  (0.1ms) BEGIN [test:873 master]
335229
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335230
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335231
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335232
+  (0.1ms) BEGIN [1:875 master]
335233
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
335234
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "5"], ["default", false], ["name", nil]] [test:873 master]
335235
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335236
+  (0.1ms) ROLLBACK [1:875 master]
335237
+  (0.1ms) ROLLBACK [test:873 master]
335238
+  (0.1ms) BEGIN [test:873 master]
335239
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335240
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335241
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335242
+  (0.0ms) BEGIN [1:875 master]
335243
+  (0.1ms) ROLLBACK [1:875 master]
335244
+  (0.1ms) ROLLBACK [test:873 master]
335245
+ SQL (0.8ms) DELETE FROM "switchman_shards" [test:873 master]
335246
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335247
+  (0.1ms) BEGIN [test:873 master]
335248
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335249
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
335250
+  (0.3ms) COMMIT [test:873 master]
335251
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335252
+  (0.1ms) BEGIN [test:873 master]
335253
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
335254
+  (0.3ms) COMMIT [test:873 master]
335255
+  (0.1ms) BEGIN [test:873 master]
335256
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
335257
+  (0.3ms) COMMIT [test:873 master]
335258
+  (0.1ms) BEGIN [test:873 master]
335259
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335260
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335261
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335262
+  (0.0ms) BEGIN [1:875 master]
335263
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335264
+ SQL (0.7ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335265
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335266
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335267
+ SQL (0.7ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 5], ["value", nil]] [test:874 master]
335268
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335269
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335270
+ SQL (1.0ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335271
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335272
+  (0.0ms) SAVEPOINT active_record_1 [1:875 master]
335273
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 1], ["value", nil]] [1:875 master]
335274
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335275
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 874 LIMIT 1 [test:873 master]
335276
+ SQL (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2 [test:874 master]
335277
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 875 LIMIT 1 [test:873 master]
335278
+ SQL (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2 [1:875 master]
335279
+ SQL (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2 [test:874 master]
335280
+ SQL (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2 [1:875 master]
335281
+ SQL (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2 [test:874 master]
335282
+ SQL (0.2ms) SELECT "appendages"."id" FROM "appendages" WHERE "appendages"."id" = 2 [1:875 master]
335283
+  (0.1ms) ROLLBACK [1:875 master]
335284
+  (0.1ms) ROLLBACK [test:874 master]
335285
+  (0.0ms) BEGIN [test:873 master]
335286
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335287
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335288
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335289
+  (0.1ms) BEGIN [1:875 master]
335290
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335291
+ SQL (0.4ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335292
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335293
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335294
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 6], ["value", nil]] [test:874 master]
335295
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335296
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335297
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335298
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335299
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335300
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 2], ["value", nil]] [1:875 master]
335301
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335302
+ SQL (0.2ms) SELECT "users"."name" FROM "users" WHERE "users"."id" IN (6) [test:874 master]
335303
+ SQL (0.2ms) SELECT "users"."name" FROM "users" WHERE "users"."id" IN (2) [1:875 master]
335304
+  (0.1ms) ROLLBACK [1:875 master]
335305
+  (0.1ms) ROLLBACK [test:874 master]
335306
+  (0.1ms) BEGIN [test:873 master]
335307
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335308
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335309
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335310
+  (0.1ms) BEGIN [1:875 master]
335311
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335312
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335313
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335314
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335315
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 7], ["value", nil]] [test:874 master]
335316
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335317
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335318
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335319
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335320
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335321
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 3], ["value", nil]] [1:875 master]
335322
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335323
+  (0.1ms) ROLLBACK [1:875 master]
335324
+  (0.1ms) ROLLBACK [test:874 master]
335325
+  (0.1ms) BEGIN [test:873 master]
335326
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335327
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335328
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335329
+  (0.1ms) BEGIN [1:875 master]
335330
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335331
+ SQL (0.4ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335332
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335333
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335334
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8], ["value", nil]] [test:874 master]
335335
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335336
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335337
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335338
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335339
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335340
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 4], ["value", nil]] [1:875 master]
335341
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335342
+ SQL (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 5 [test:874 master]
335343
+ SQL (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 5 [1:875 master]
335344
+ SQL (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 5 [test:874 master]
335345
+ SQL (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 5 [1:875 master]
335346
+ SQL (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 5 [test:874 master]
335347
+ SQL (0.2ms) SELECT "appendages"."user_id" FROM "appendages" WHERE "appendages"."id" = 5 [1:875 master]
335348
+  (0.1ms) ROLLBACK [1:875 master]
335349
+  (0.2ms) ROLLBACK [test:874 master]
335350
+  (0.1ms) BEGIN [test:873 master]
335351
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335352
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335353
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335354
+  (0.1ms) BEGIN [1:875 master]
335355
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335356
+ SQL (0.4ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335357
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335358
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335359
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 9], ["value", nil]] [test:874 master]
335360
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335361
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335362
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335363
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335364
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335365
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 5], ["value", nil]] [1:875 master]
335366
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335367
+ SQL (0.2ms) SELECT "appendages"."user_id" FROM "appendages" [test:874 master]
335368
+  (0.1ms) ROLLBACK [1:875 master]
335369
+  (0.1ms) ROLLBACK [test:874 master]
335370
+  (0.1ms) BEGIN [test:873 master]
335371
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335372
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335373
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335374
+  (0.1ms) BEGIN [1:875 master]
335375
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335376
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335377
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335378
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335379
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 10], ["value", nil]] [test:874 master]
335380
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335381
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335382
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335383
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335384
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335385
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 6], ["value", nil]] [1:875 master]
335386
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335387
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
335388
+ SQL (0.7ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:873 master]
335389
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335390
+ SQL (0.8ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (1258) [test:873 master]
335391
+ SQL (0.2ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (10) [test:874 master]
335392
+ SQL (0.6ms) SELECT DISTINCT "users"."name" FROM "users" WHERE "users"."id" IN (6) [1:875 master]
335393
+  (0.1ms) ROLLBACK [1:875 master]
335394
+  (0.1ms) ROLLBACK [test:874 master]
335395
+  (0.1ms) BEGIN [test:873 master]
335396
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335397
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335398
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335399
+  (0.1ms) BEGIN [1:875 master]
335400
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335401
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335402
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335403
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335404
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 11], ["value", 1]] [test:874 master]
335405
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335406
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335407
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 11], ["value", 2]] [test:874 master]
335408
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335409
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335410
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335411
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335412
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335413
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 7], ["value", 3]] [1:875 master]
335414
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335415
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335416
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 7], ["value", 4]] [1:875 master]
335417
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335418
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335419
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 7], ["value", 5]] [1:875 master]
335420
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335421
+  (0.6ms) SELECT MAX("appendages"."created_at") AS max_id FROM "appendages" WHERE "appendages"."id" IN (8, 9) [test:874 master]
335422
+  (0.5ms) SELECT MAX("appendages"."created_at") AS max_id FROM "appendages" WHERE "appendages"."id" IN (8, 9, 10) [1:875 master]
335423
+  (0.1ms) ROLLBACK [1:875 master]
335424
+  (0.1ms) ROLLBACK [test:874 master]
335425
+  (0.0ms) BEGIN [test:873 master]
335426
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335427
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335428
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335429
+  (0.1ms) BEGIN [1:875 master]
335430
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335431
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335432
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335433
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335434
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 12], ["value", 1]] [test:874 master]
335435
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335436
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335437
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 12], ["value", 2]] [test:874 master]
335438
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335439
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335440
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335441
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335442
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335443
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8], ["value", 3]] [1:875 master]
335444
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335445
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335446
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8], ["value", 4]] [1:875 master]
335447
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335448
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335449
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8], ["value", 5]] [1:875 master]
335450
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335451
+  (0.3ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."user_id" = 12 [test:874 master]
335452
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages"  [test:874 master]
335453
+  (0.3ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."user_id" = 8 [1:875 master]
335454
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages"  [1:875 master]
335455
+  (0.3ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."id" IN (10, 11) [test:874 master]
335456
+  (0.2ms) SELECT MAX("appendages"."value") AS max_id FROM "appendages" WHERE "appendages"."id" IN (11, 12, 13) [1:875 master]
335457
+  (0.1ms) ROLLBACK [1:875 master]
335458
+  (0.1ms) ROLLBACK [test:874 master]
335459
+  (0.1ms) BEGIN [test:873 master]
335460
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335461
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335462
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335463
+  (0.1ms) BEGIN [1:875 master]
335464
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335465
+ SQL (0.4ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335466
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335467
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335468
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 13], ["value", 1]] [test:874 master]
335469
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335470
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335471
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 13], ["value", 2]] [test:874 master]
335472
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335473
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335474
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335475
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335476
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335477
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 9], ["value", 3]] [1:875 master]
335478
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335479
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335480
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 9], ["value", 4]] [1:875 master]
335481
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335482
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335483
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 9], ["value", 5]] [1:875 master]
335484
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335485
+  (0.5ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."user_id" = 13 [test:874 master]
335486
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages"  [test:874 master]
335487
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."user_id" = 9 [1:875 master]
335488
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages"  [1:875 master]
335489
+  (0.3ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."id" IN (12, 13) [test:874 master]
335490
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count FROM "appendages" WHERE "appendages"."id" IN (14, 15, 16) [1:875 master]
335491
+  (0.1ms) ROLLBACK [1:875 master]
335492
+  (0.1ms) ROLLBACK [test:874 master]
335493
+  (0.0ms) BEGIN [test:873 master]
335494
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335495
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335496
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335497
+  (0.0ms) BEGIN [1:875 master]
335498
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335499
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335500
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335501
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335502
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 14], ["value", 1]] [test:874 master]
335503
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335504
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335505
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 14], ["value", 2]] [test:874 master]
335506
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335507
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335508
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335509
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335510
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335511
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 10], ["value", 3]] [1:875 master]
335512
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335513
+  (0.0ms) SAVEPOINT active_record_1 [1:875 master]
335514
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 10], ["value", 4]] [1:875 master]
335515
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335516
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335517
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 10], ["value", 5]] [1:875 master]
335518
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335519
+  (0.4ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."user_id" = 14 [test:874 master]
335520
+  (0.2ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages"  [test:874 master]
335521
+  (0.3ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."user_id" = 10 [1:875 master]
335522
+  (0.2ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages"  [1:875 master]
335523
+  (0.3ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."id" IN (14, 15) [test:874 master]
335524
+  (0.2ms) SELECT MIN("appendages"."value") AS min_id FROM "appendages" WHERE "appendages"."id" IN (17, 18, 19) [1:875 master]
335525
+  (0.1ms) ROLLBACK [1:875 master]
335526
+  (0.1ms) ROLLBACK [test:874 master]
335527
+  (0.0ms) BEGIN [test:873 master]
335528
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335529
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335530
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335531
+  (0.0ms) BEGIN [1:875 master]
335532
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335533
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335534
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335535
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335536
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 15], ["value", 1]] [test:874 master]
335537
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335538
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335539
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 15], ["value", 2]] [test:874 master]
335540
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335541
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335542
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335543
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335544
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335545
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 11], ["value", 3]] [1:875 master]
335546
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335547
+  (0.0ms) SAVEPOINT active_record_1 [1:875 master]
335548
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 11], ["value", 4]] [1:875 master]
335549
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335550
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335551
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 11], ["value", 5]] [1:875 master]
335552
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335553
+  (0.3ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = 15 [test:874 master]
335554
+  (0.2ms) SELECT COUNT(*) FROM "appendages"  [test:874 master]
335555
+  (0.2ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."user_id" = 11 [1:875 master]
335556
+  (0.1ms) SELECT COUNT(*) FROM "appendages"  [1:875 master]
335557
+  (0.3ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."id" IN (16, 17) [test:874 master]
335558
+  (0.3ms) SELECT COUNT(*) FROM "appendages" WHERE "appendages"."id" IN (20, 21, 22) [1:875 master]
335559
+  (0.1ms) ROLLBACK [1:875 master]
335560
+  (0.1ms) ROLLBACK [test:874 master]
335561
+  (0.1ms) BEGIN [test:873 master]
335562
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335563
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335564
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335565
+  (0.1ms) BEGIN [1:875 master]
335566
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335567
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335568
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335569
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335570
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 16], ["value", 1]] [test:874 master]
335571
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335572
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335573
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 16], ["value", 2]] [test:874 master]
335574
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335575
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335576
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335577
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335578
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335579
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 12], ["value", 3]] [1:875 master]
335580
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335581
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335582
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 12], ["value", 4]] [1:875 master]
335583
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335584
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335585
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 12], ["value", 5]] [1:875 master]
335586
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335587
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = 16 [test:874 master]
335588
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages"  [test:874 master]
335589
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."user_id" = 12 [1:875 master]
335590
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages"  [1:875 master]
335591
+  (0.3ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."id" IN (18, 19) [test:874 master]
335592
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_id FROM "appendages" WHERE "appendages"."id" IN (23, 24, 25) [1:875 master]
335593
+  (0.1ms) ROLLBACK [1:875 master]
335594
+  (0.1ms) ROLLBACK [test:874 master]
335595
+  (0.1ms) BEGIN [test:873 master]
335596
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335597
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335598
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335599
+  (0.0ms) BEGIN [1:875 master]
335600
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335601
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335602
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335603
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335604
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335605
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335606
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335607
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 17], ["value", 1]] [test:874 master]
335608
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335609
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335610
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8750000000000013], ["value", 3]] [test:874 master]
335611
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335612
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335613
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8740000000000017], ["value", 2]] [1:875 master]
335614
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335615
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335616
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 13], ["value", 4]] [1:875 master]
335617
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335618
+  (0.0ms) SAVEPOINT active_record_1 [1:875 master]
335619
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 13], ["value", 5]] [1:875 master]
335620
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335621
+  (0.1ms) SHOW max_identifier_length [test:873 master]
335622
+  (0.4ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335623
+  (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:875 master]
335624
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335625
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335626
+  (0.1ms) SHOW max_identifier_length [1:875 master]
335627
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335628
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335629
+  (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:874 master]
335630
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (17) [test:874 master]
335631
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (13) [1:875 master]
335632
+  (0.2ms) SELECT AVG("appendages"."value") AS average, COUNT("appendages"."value") AS count, user_id AS user_id FROM "appendages" GROUP BY user_id [1:875 master]
335633
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (13) [1:875 master]
335634
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (17) [test:874 master]
335635
+  (0.1ms) ROLLBACK [1:875 master]
335636
+  (0.1ms) ROLLBACK [test:874 master]
335637
+  (0.1ms) BEGIN [test:873 master]
335638
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335639
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335640
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335641
+  (0.1ms) BEGIN [1:875 master]
335642
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335643
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335644
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335645
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335646
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335647
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335648
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335649
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 18], ["value", 1]] [test:874 master]
335650
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335651
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335652
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8750000000000014], ["value", 3]] [test:874 master]
335653
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335654
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335655
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8740000000000018], ["value", 2]] [1:875 master]
335656
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335657
+  (0.0ms) SAVEPOINT active_record_1 [1:875 master]
335658
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 14], ["value", 4]] [1:875 master]
335659
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335660
+  (0.0ms) SAVEPOINT active_record_1 [1:875 master]
335661
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 14], ["value", 5]] [1:875 master]
335662
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335663
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335664
+  (0.1ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335665
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335666
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335667
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335668
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335669
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [test:874 master]
335670
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (18) [test:874 master]
335671
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (14) [1:875 master]
335672
+  (0.2ms) SELECT SUM("appendages"."value") AS sum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [1:875 master]
335673
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (14) [1:875 master]
335674
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (18) [test:874 master]
335675
+  (0.1ms) ROLLBACK [1:875 master]
335676
+  (0.1ms) ROLLBACK [test:874 master]
335677
+  (0.0ms) BEGIN [test:873 master]
335678
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335679
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335680
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335681
+  (0.1ms) BEGIN [1:875 master]
335682
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335683
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335684
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335685
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335686
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335687
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335688
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335689
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 19], ["value", 1]] [test:874 master]
335690
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335691
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335692
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8750000000000015], ["value", 3]] [test:874 master]
335693
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335694
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335695
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8740000000000019], ["value", 2]] [1:875 master]
335696
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335697
+  (0.0ms) SAVEPOINT active_record_1 [1:875 master]
335698
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 15], ["value", 4]] [1:875 master]
335699
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335700
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335701
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 15], ["value", 5]] [1:875 master]
335702
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335703
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335704
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335705
+  (0.1ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335706
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335707
+  (0.1ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335708
+  (0.2ms) SELECT COUNT(*) AS count_all, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335709
+  (0.2ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY user_id [test:874 master]
335710
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (19) [test:874 master]
335711
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (15) [1:875 master]
335712
+  (0.1ms) SELECT COUNT(*) AS count_all, user_id AS user_id FROM "appendages" GROUP BY user_id [1:875 master]
335713
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (15) [1:875 master]
335714
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (19) [test:874 master]
335715
+  (0.1ms) ROLLBACK [1:875 master]
335716
+  (0.1ms) ROLLBACK [test:874 master]
335717
+  (0.1ms) BEGIN [test:873 master]
335718
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335719
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335720
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335721
+  (0.0ms) BEGIN [1:875 master]
335722
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335723
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335724
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335725
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335726
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335727
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335728
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335729
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 20], ["value", 1]] [test:874 master]
335730
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335731
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335732
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8750000000000016], ["value", 3]] [test:874 master]
335733
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335734
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335735
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8740000000000020], ["value", 2]] [1:875 master]
335736
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335737
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335738
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 16], ["value", 4]] [1:875 master]
335739
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335740
+  (0.0ms) SAVEPOINT active_record_1 [1:875 master]
335741
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 16], ["value", 5]] [1:875 master]
335742
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335743
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335744
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 20], ["value", nil]] [test:874 master]
335745
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335746
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335747
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335748
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335749
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335750
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 21], ["value", nil]] [test:874 master]
335751
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335752
+  (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:874 master]
335753
+  (0.1ms) ROLLBACK [1:875 master]
335754
+  (0.1ms) ROLLBACK [test:874 master]
335755
+  (0.0ms) BEGIN [test:873 master]
335756
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335757
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335758
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335759
+  (0.0ms) BEGIN [1:875 master]
335760
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335761
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335762
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335763
+  (0.0ms) SAVEPOINT active_record_1 [1:875 master]
335764
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335765
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335766
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335767
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 22], ["value", 1]] [test:874 master]
335768
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335769
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335770
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8750000000000017], ["value", 3]] [test:874 master]
335771
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335772
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335773
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8740000000000022], ["value", 2]] [1:875 master]
335774
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335775
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335776
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 17], ["value", 4]] [1:875 master]
335777
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335778
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335779
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 17], ["value", 5]] [1:875 master]
335780
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335781
+  (0.3ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335782
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335783
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335784
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335785
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335786
+  (0.2ms) SELECT MIN("appendages"."value") AS minimum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335787
+  (0.1ms) SELECT MIN("appendages"."value") AS minimum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [test:874 master]
335788
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (22) [test:874 master]
335789
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (17) [1:875 master]
335790
+  (0.3ms) SELECT MIN("appendages"."value") AS minimum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [1:875 master]
335791
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (17) [1:875 master]
335792
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (22) [test:874 master]
335793
+  (0.1ms) ROLLBACK [1:875 master]
335794
+  (0.1ms) ROLLBACK [test:874 master]
335795
+  (0.1ms) BEGIN [test:873 master]
335796
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335797
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335798
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335799
+  (0.1ms) BEGIN [1:875 master]
335800
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335801
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [test:874 master]
335802
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335803
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335804
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00]] [1:875 master]
335805
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335806
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335807
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 23], ["value", 1]] [test:874 master]
335808
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335809
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335810
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8750000000000018], ["value", 3]] [test:874 master]
335811
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335812
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335813
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 8740000000000023], ["value", 2]] [1:875 master]
335814
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335815
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335816
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 18], ["value", 4]] [1:875 master]
335817
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335818
+  (0.1ms) SAVEPOINT active_record_1 [1:875 master]
335819
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["updated_at", Thu, 22 Oct 2015 21:40:41 UTC +00:00], ["user_id", 18], ["value", 5]] [1:875 master]
335820
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:875 master]
335821
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335822
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335823
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335824
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335825
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [test:874 master]
335826
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, appendages.user_id AS appendages_user_id FROM "appendages" GROUP BY appendages.user_id [1:875 master]
335827
+  (0.2ms) SELECT MAX("appendages"."value") AS maximum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [test:874 master]
335828
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (23) [test:874 master]
335829
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (18) [1:875 master]
335830
+  (0.1ms) SELECT MAX("appendages"."value") AS maximum_value, user_id AS user_id FROM "appendages" GROUP BY user_id [1:875 master]
335831
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (18) [1:875 master]
335832
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (23) [test:874 master]
335833
+  (0.1ms) ROLLBACK [1:875 master]
335834
+  (0.1ms) ROLLBACK [test:874 master]
335835
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:873 master]
335836
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335837
+  (0.0ms) BEGIN [test:873 master]
335838
+ Switchman::Shard Exists (0.1ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335839
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
335840
+  (0.3ms) COMMIT [test:873 master]
335841
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335842
+  (0.1ms) BEGIN [test:873 master]
335843
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
335844
+  (0.2ms) COMMIT [test:873 master]
335845
+  (0.1ms) BEGIN [test:873 master]
335846
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
335847
+  (0.3ms) COMMIT [test:873 master]
335848
+  (0.1ms) BEGIN [test:873 master]
335849
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335850
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335851
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335852
+  (0.1ms) BEGIN [1:875 master]
335853
+  (0.0ms) SAVEPOINT active_record_1 [test:874 master]
335854
+ SQL (0.0ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:41:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:41:42 UTC +00:00]] [test:874 master]
335855
+  (0.0ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335856
+  (0.0ms) ROLLBACK [1:875 master]
335857
+  (0.0ms) ROLLBACK [test:874 master]
335858
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:873 master]
335859
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335860
+  (0.1ms) BEGIN [test:873 master]
335861
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335862
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", nil], ["default", true], ["id", 873], ["name", nil]] [test:873 master]
335863
+  (0.2ms) COMMIT [test:873 master]
335864
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335865
+  (0.1ms) BEGIN [test:873 master]
335866
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "test"], ["default", false], ["id", 874], ["name", "switchman_test_shard_874"]] [test:873 master]
335867
+  (0.3ms) COMMIT [test:873 master]
335868
+  (0.0ms) BEGIN [test:873 master]
335869
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "id", "name") VALUES ($1, $2, $3, $4) RETURNING "id" [["database_server_id", "1"], ["default", false], ["id", 875], ["name", "switchman_test_shard_875"]] [test:873 master]
335870
+  (0.2ms) COMMIT [test:873 master]
335871
+  (0.0ms) BEGIN [test:873 master]
335872
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335873
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335874
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335875
+  (0.0ms) BEGIN [1:875 master]
335876
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335877
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:874 master]
335878
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335879
+  (0.1ms) SAVEPOINT active_record_1 [test:874 master]
335880
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:874 master]
335881
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:874 master]
335882
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
335883
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
335884
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335885
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:874 master]
335886
+ User Load (0.2ms) SELECT "users".* FROM "users"  [test:873 master]
335887
+  (0.1ms) ROLLBACK [1:875 master]
335888
+  (0.1ms) ROLLBACK [test:873 master]
335889
+  (0.0ms) BEGIN [test:873 master]
335890
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335891
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335892
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335893
+  (0.1ms) BEGIN [1:875 master]
335894
+ User Load (0.2ms) SELECT "users".* FROM "users"  [test:873 master]
335895
+  (0.1ms) ROLLBACK [1:875 master]
335896
+  (0.1ms) ROLLBACK [test:873 master]
335897
+  (0.1ms) BEGIN [test:873 master]
335898
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335899
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335900
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335901
+  (0.1ms) BEGIN [1:875 master]
335902
+ User Load (0.2ms) SELECT "users".* FROM "users"  [test:873 master]
335903
+  (0.1ms) ROLLBACK [1:875 master]
335904
+  (0.1ms) ROLLBACK [test:873 master]
335905
+  (0.1ms) BEGIN [test:873 master]
335906
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335907
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335908
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335909
+  (0.1ms) BEGIN [1:875 master]
335910
+ User Load (0.2ms) SELECT "users".* FROM "users" FOR UPDATE [test:873 master]
335911
+  (0.1ms) ROLLBACK [1:875 master]
335912
+  (0.1ms) ROLLBACK [test:873 master]
335913
+  (0.1ms) BEGIN [test:873 master]
335914
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335915
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335916
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335917
+  (0.1ms) BEGIN [1:875 master]
335918
+ User Load (0.2ms) SELECT "users".* FROM "users"  [test:873 master]
335919
+  (0.1ms) ROLLBACK [1:875 master]
335920
+  (0.1ms) ROLLBACK [test:873 master]
335921
+  (0.0ms) BEGIN [test:873 master]
335922
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335923
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335924
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335925
+  (0.0ms) BEGIN [1:875 master]
335926
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
335927
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
335928
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335929
+ User Load (0.1ms) SELECT "users".* FROM "users" [test:873 master]
335930
+ SQL (0.1ms) DELETE FROM "users" [test:873 master]
335931
+  (0.1ms) ROLLBACK [1:875 master]
335932
+  (0.1ms) ROLLBACK [test:873 master]
335933
+  (0.1ms) BEGIN [test:873 master]
335934
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335935
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335936
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335937
+  (0.1ms) BEGIN [1:875 master]
335938
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
335939
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
335940
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335941
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:873 master]
335942
+ SQL (0.1ms) DELETE FROM "users" [test:873 master]
335943
+  (0.1ms) ROLLBACK [1:875 master]
335944
+  (0.1ms) ROLLBACK [test:873 master]
335945
+  (0.1ms) BEGIN [test:873 master]
335946
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
335947
+  (0.4ms) COMMIT [test:873 master]
335948
+ User Load (0.2ms) SELECT "users".* FROM "users"  [test:873 master]
335949
+ SQL (0.8ms) DELETE FROM "users" [test:873 master]
335950
+ SQL (0.1ms) DELETE FROM "users" [test:873 master]
335951
+  (0.1ms) BEGIN [test:873 master]
335952
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
335953
+  (0.3ms) COMMIT [test:873 master]
335954
+  (0.1ms) BEGIN [test:873 master]
335955
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", "a"], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
335956
+  (0.2ms) COMMIT [test:873 master]
335957
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1264]] [test:873 master]
335958
+ CACHE (0.0ms) 873::SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1264]]
335959
+ CACHE (0.0ms) 873::SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1264]]
335960
+  (0.1ms) BEGIN [test:873 master]
335961
+  (0.2ms) UPDATE "users" SET "name" = 'b', "updated_at" = '2015-10-22 21:40:42.077600' WHERE "users"."id" = 1264 [test:873 master]
335962
+  (0.3ms) COMMIT [test:873 master]
335963
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1264]] [test:873 master]
335964
+ CACHE (0.0ms) 873::SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1264]]
335965
+ SQL (0.3ms) DELETE FROM "users" [test:873 master]
335966
+  (0.1ms) BEGIN [test:873 master]
335967
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
335968
+  (0.2ms) COMMIT [test:873 master]
335969
+ User Load (0.1ms) SELECT "users".* FROM "users" [test:873 master]
335970
+ SQL (0.3ms) DELETE FROM "users" [test:873 master]
335971
+ SQL (0.1ms) DELETE FROM "users" [test:873 master]
335972
+  (0.0ms) BEGIN [test:873 master]
335973
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335974
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335975
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335976
+  (0.0ms) BEGIN [1:875 master]
335977
+ User Load (0.1ms) SELECT "users".* FROM "users" [test:873 master]
335978
+  (0.1ms) BEGIN [test:873 master]
335979
+ SQL (0.8ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
335980
+  (0.2ms) COMMIT [test:873 master]
335981
+  (0.2ms) ROLLBACK [1:875 master]
335982
+  (0.1ms) ROLLBACK [test:873 master]
335983
+  (0.0ms) BEGIN [test:873 master]
335984
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335985
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335986
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335987
+  (0.0ms) BEGIN [1:875 master]
335988
+ User Load (0.1ms) SELECT "users".* FROM "users"  [test:873 master]
335989
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
335990
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
335991
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
335992
+  (0.1ms) ROLLBACK [1:875 master]
335993
+  (0.1ms) ROLLBACK [test:873 master]
335994
+  (0.0ms) BEGIN [test:873 master]
335995
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
335996
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
335997
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
335998
+  (0.1ms) BEGIN [1:875 master]
335999
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:873 master]
336000
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
336001
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
336002
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
336003
+  (0.1ms) ROLLBACK [1:875 master]
336004
+  (0.1ms) ROLLBACK [test:873 master]
336005
+  (0.1ms) BEGIN [test:873 master]
336006
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336007
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336008
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336009
+  (0.1ms) BEGIN [1:875 master]
336010
+ User Load (0.1ms) SELECT "users".* FROM "users"  [test:873 master]
336011
+  (0.0ms) BEGIN [test:873 master]
336012
+ SQL (0.3ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
336013
+  (0.4ms) COMMIT [test:873 master]
336014
+  (0.1ms) ROLLBACK [1:875 master]
336015
+  (0.1ms) ROLLBACK [test:873 master]
336016
+  (0.0ms) BEGIN [test:873 master]
336017
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336018
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336019
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336020
+  (0.0ms) BEGIN [1:875 master]
336021
+  (0.0ms) ROLLBACK [1:875 master]
336022
+  (0.1ms) ROLLBACK [test:873 master]
336023
+  (0.0ms) BEGIN [test:873 master]
336024
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336025
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336026
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336027
+  (0.0ms) BEGIN [1:875 master]
336028
+  (0.1ms) ROLLBACK [1:875 master]
336029
+  (0.1ms) ROLLBACK [test:873 master]
336030
+  (0.0ms) BEGIN [test:873 master]
336031
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336032
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336033
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336034
+  (0.0ms) BEGIN [1:875 master]
336035
+  (0.0ms) ROLLBACK [1:875 master]
336036
+  (0.1ms) ROLLBACK [test:873 master]
336037
+  (0.1ms) BEGIN [test:873 master]
336038
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336039
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336040
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336041
+  (0.0ms) BEGIN [1:875 master]
336042
+  (0.1ms) ROLLBACK [1:875 master]
336043
+  (0.1ms) ROLLBACK [test:873 master]
336044
+  (0.1ms) BEGIN [test:873 master]
336045
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336046
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336047
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336048
+  (0.1ms) BEGIN [1:875 master]
336049
+  (0.1ms) ROLLBACK [1:875 master]
336050
+  (0.1ms) ROLLBACK [test:873 master]
336051
+  (0.0ms) BEGIN [test:873 master]
336052
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336053
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336054
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336055
+  (0.0ms) BEGIN [1:875 master]
336056
+  (0.1ms) ROLLBACK [1:875 master]
336057
+  (0.1ms) ROLLBACK [test:873 master]
336058
+  (0.1ms) BEGIN [test:873 master]
336059
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336060
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336061
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336062
+  (0.0ms) BEGIN [1:875 master]
336063
+  (0.0ms) ROLLBACK [1:875 master]
336064
+  (0.0ms) ROLLBACK [test:873 master]
336065
+  (0.1ms) BEGIN [test:873 master]
336066
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336067
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336068
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336069
+  (0.0ms) BEGIN [1:875 master]
336070
+  (0.1ms) ROLLBACK [1:875 master]
336071
+  (0.1ms) ROLLBACK [test:873 master]
336072
+  (0.0ms) BEGIN [test:873 master]
336073
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336074
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336075
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336076
+  (0.0ms) BEGIN [1:875 master]
336077
+  (0.0ms) ROLLBACK [1:875 master]
336078
+  (0.0ms) ROLLBACK [test:873 master]
336079
+  (0.0ms) BEGIN [test:873 master]
336080
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336081
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336082
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336083
+  (0.0ms) BEGIN [1:875 master]
336084
+  (0.0ms) SAVEPOINT active_record_1 [test:873 master]
336085
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
336086
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:873 master]
336087
+ User Load (0.2ms) SELECT "users".* FROM "users" [test:873 master]
336088
+ SQL (0.2ms) UPDATE "users" SET "updated_at" = '2015-10-22 21:40:42.143097' [test:873 master]
336089
+  (0.1ms) ROLLBACK [1:875 master]
336090
+  (0.1ms) ROLLBACK [test:873 master]
336091
+  (0.0ms) BEGIN [test:873 master]
336092
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [test:873 master]
336093
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 874]] [test:873 master]
336094
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 875]] [test:873 master]
336095
+  (0.1ms) BEGIN [1:875 master]
336096
+  (0.1ms) SAVEPOINT active_record_1 [test:873 master]
336097
+ SQL (0.2ms) INSERT INTO "users" ("broken_id", "created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["broken_id", nil], ["created_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Thu, 22 Oct 2015 21:40:42 UTC +00:00]] [test:873 master]
336098
+  (0.1m