switchman 1.2.15 → 1.2.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/switchman/shard.rb +6 -2
  3. data/lib/switchman/version.rb +1 -1
  4. data/spec/dummy/log/test.log +0 -147389
  5. data/spec/models/shard_spec.rb +14 -0
  6. metadata +4 -317
  7. data/spec/dummy/config/database.yml +0 -21
  8. data/spec/dummy/db/development.sqlite3 +0 -0
  9. data/spec/dummy/db/schema.rb +0 -67
  10. data/spec/dummy/db/shard_1020.sqlite3 +0 -0
  11. data/spec/dummy/db/shard_1051.sqlite3 +0 -0
  12. data/spec/dummy/db/shard_1067.sqlite3 +0 -0
  13. data/spec/dummy/db/shard_1088.sqlite3 +0 -0
  14. data/spec/dummy/db/shard_1119.sqlite3 +0 -0
  15. data/spec/dummy/db/shard_1126.sqlite3 +0 -0
  16. data/spec/dummy/db/shard_1156.sqlite3 +0 -0
  17. data/spec/dummy/db/shard_120.sqlite3 +0 -0
  18. data/spec/dummy/db/shard_156.sqlite3 +0 -0
  19. data/spec/dummy/db/shard_193.sqlite3 +0 -0
  20. data/spec/dummy/db/shard_23.sqlite3 +0 -0
  21. data/spec/dummy/db/shard_234.sqlite3 +0 -0
  22. data/spec/dummy/db/shard_257.sqlite3 +0 -0
  23. data/spec/dummy/db/shard_277.sqlite3 +0 -0
  24. data/spec/dummy/db/shard_311.sqlite3 +0 -0
  25. data/spec/dummy/db/shard_324.sqlite3 +0 -0
  26. data/spec/dummy/db/shard_342.sqlite3 +0 -0
  27. data/spec/dummy/db/shard_375.sqlite3 +0 -0
  28. data/spec/dummy/db/shard_389.sqlite3 +0 -0
  29. data/spec/dummy/db/shard_428.sqlite3 +0 -0
  30. data/spec/dummy/db/shard_452.sqlite3 +0 -0
  31. data/spec/dummy/db/shard_462.sqlite3 +0 -0
  32. data/spec/dummy/db/shard_483.sqlite3 +0 -0
  33. data/spec/dummy/db/shard_508.sqlite3 +0 -0
  34. data/spec/dummy/db/shard_531.sqlite3 +0 -0
  35. data/spec/dummy/db/shard_554.sqlite3 +0 -0
  36. data/spec/dummy/db/shard_577.sqlite3 +0 -0
  37. data/spec/dummy/db/shard_58.sqlite3 +0 -0
  38. data/spec/dummy/db/shard_600.sqlite3 +0 -0
  39. data/spec/dummy/db/shard_623.sqlite3 +0 -0
  40. data/spec/dummy/db/shard_646.sqlite3 +0 -0
  41. data/spec/dummy/db/shard_668.sqlite3 +0 -0
  42. data/spec/dummy/db/shard_680.sqlite3 +0 -0
  43. data/spec/dummy/db/shard_708.sqlite3 +0 -0
  44. data/spec/dummy/db/shard_735.sqlite3 +0 -0
  45. data/spec/dummy/db/shard_753.sqlite3 +0 -0
  46. data/spec/dummy/db/shard_76.sqlite3 +0 -0
  47. data/spec/dummy/db/shard_802.sqlite3 +0 -0
  48. data/spec/dummy/db/shard_895.sqlite3 +0 -0
  49. data/spec/dummy/db/shard_930.sqlite3 +0 -0
  50. data/spec/dummy/db/shard_953.sqlite3 +0 -0
  51. data/spec/dummy/db/shard_982.sqlite3 +0 -0
  52. data/spec/dummy/db/shard_988.sqlite3 +0 -0
  53. data/spec/dummy/db/test.sqlite3 +0 -0
  54. data/spec/dummy/log/development.log +0 -101
  55. data/spec/dummy/tmp/cache/313/970/shard%2F30 +0 -1
  56. data/spec/dummy/tmp/cache/316/980/shard%2F15 +0 -1
  57. data/spec/dummy/tmp/cache/317/9D0/shard%2F52 +0 -1
  58. data/spec/dummy/tmp/cache/31C/A40/shard%2F75 +0 -1
  59. data/spec/dummy/tmp/cache/345/E00/shard%2F500 +0 -1
  60. data/spec/dummy/tmp/cache/346/DF0/shard%2F321 +0 -1
  61. data/spec/dummy/tmp/cache/349/DE0/shard%2F126 +0 -1
  62. data/spec/dummy/tmp/cache/349/E10/shard%2F153 +0 -0
  63. data/spec/dummy/tmp/cache/349/E20/shard%2F243 +0 -1
  64. data/spec/dummy/tmp/cache/34A/E20/shard%2F154 +0 -0
  65. data/spec/dummy/tmp/cache/34A/E40/shard%2F172 +0 -1
  66. data/spec/dummy/tmp/cache/34A/E70/shard%2F523 +0 -1
  67. data/spec/dummy/tmp/cache/34A/EB0/shard%2F721 +0 -1
  68. data/spec/dummy/tmp/cache/34A/EC0/shard%2F730 +0 -1
  69. data/spec/dummy/tmp/cache/34B/E40/shard%2F245 +0 -0
  70. data/spec/dummy/tmp/cache/34B/E60/shard%2F425 +0 -1
  71. data/spec/dummy/tmp/cache/34B/EC0/shard%2F722 +0 -1
  72. data/spec/dummy/tmp/cache/34C/E50/shard%2F246 +0 -0
  73. data/spec/dummy/tmp/cache/34C/E80/shard%2F273 +0 -1
  74. data/spec/dummy/tmp/cache/34C/E90/shard%2F363 +0 -0
  75. data/spec/dummy/tmp/cache/34C/E90/shard%2F444 +0 -1
  76. data/spec/dummy/tmp/cache/34C/EA0/shard%2F615 +0 -1
  77. data/spec/dummy/tmp/cache/34C/F00/shard%2F750 +0 -1
  78. data/spec/dummy/tmp/cache/34D/E80/shard%2F265 +0 -1
  79. data/spec/dummy/tmp/cache/34D/ED0/shard%2F391 +0 -1
  80. data/spec/dummy/tmp/cache/34D/EE0/shard%2F724 +0 -1
  81. data/spec/dummy/tmp/cache/34E/ED0/shard%2F383 +0 -1
  82. data/spec/dummy/tmp/cache/34E/EF0/shard%2F725 +0 -1
  83. data/spec/dummy/tmp/cache/34E/F00/shard%2F653 +0 -1
  84. data/spec/dummy/tmp/cache/34F/EE0/shard%2F546 +0 -1
  85. data/spec/dummy/tmp/cache/34F/F00/shard%2F807 +0 -1
  86. data/spec/dummy/tmp/cache/34F/F30/shard%2F672 +0 -1
  87. data/spec/dummy/tmp/cache/350/EA0/shard%2F178 +0 -1
  88. data/spec/dummy/tmp/cache/350/EB0/shard%2F349 +0 -1
  89. data/spec/dummy/tmp/cache/350/F00/shard%2F718 +0 -0
  90. data/spec/dummy/tmp/cache/350/F40/shard%2F592 +0 -1
  91. data/spec/dummy/tmp/cache/350/F40/shard%2F916 +0 -0
  92. data/spec/dummy/tmp/cache/351/F00/shard%2F386 +0 -0
  93. data/spec/dummy/tmp/cache/351/F10/shard%2F638 +0 -1
  94. data/spec/dummy/tmp/cache/351/F10/shard%2F719 +0 -0
  95. data/spec/dummy/tmp/cache/351/F50/shard%2F917 +0 -0
  96. data/spec/dummy/tmp/cache/351/F70/shard%2F935 +0 -1
  97. data/spec/dummy/tmp/cache/352/F10/shard%2F387 +0 -0
  98. data/spec/dummy/tmp/cache/352/F10/shard%2F468 +0 -1
  99. data/spec/dummy/tmp/cache/352/F30/shard%2F729 +0 -1
  100. data/spec/dummy/tmp/cache/353/F10/shard%2F298 +0 -1
  101. data/spec/dummy/tmp/cache/353/F50/shard%2F739 +0 -1
  102. data/spec/dummy/tmp/cache/354/F50/shard%2F569 +0 -1
  103. data/spec/dummy/tmp/cache/354/F80/shard%2F677 +0 -1
  104. data/spec/dummy/tmp/cache/354/F90/shard%2F767 +0 -1
  105. data/spec/dummy/tmp/cache/354/FD0/shard%2F965 +0 -1
  106. data/spec/dummy/tmp/cache/355/FD0/shard%2F957 +0 -1
  107. data/spec/dummy/tmp/cache/356/010/shard%2F985 +0 -0
  108. data/spec/dummy/tmp/cache/358/040/shard%2F996 +0 -1
  109. data/spec/dummy/tmp/cache/358/FE0/shard%2F699 +0 -1
  110. data/spec/dummy/tmp/cache/377/4D0/shard%2F1024 +0 -1
  111. data/spec/dummy/tmp/cache/378/530/shard%2F1151 +0 -1
  112. data/spec/dummy/tmp/cache/379/4D0/shard%2F1008 +0 -0
  113. data/spec/dummy/tmp/cache/379/500/shard%2F1116 +0 -1
  114. data/spec/dummy/tmp/cache/37A/4E0/shard%2F1009 +0 -0
  115. data/spec/dummy/tmp/cache/37A/510/shard%2F1036 +0 -1
  116. data/spec/dummy/tmp/cache/37C/560/shard%2F1065 +0 -1
  117. data/spec/dummy/tmp/cache/37E/570/shard%2F1139 +0 -1
  118. data/spec/dummy/tmp/cache/37F/5A0/shard%2F1077 +0 -1
  119. data/spec/dummy/tmp/cache/380/5B0/shard%2F1078 +0 -1
  120. data/spec/dummy/tmp/cache/381/5E0/shard%2F1097 +0 -1
  121. data/spec/dummy/tmp/cache/3A4/EE0/shard%2F11101 +0 -1
  122. data/spec/dummy/tmp/cache/3A5/EA0/shard%2F10004 +0 -1
  123. data/spec/dummy/tmp/cache/3A6/F40/shard%2F10410 +0 -1
  124. data/spec/dummy/tmp/cache/3A7/F20/shard%2F11032 +0 -1
  125. data/spec/dummy/tmp/cache/3A7/F30/shard%2F10231 +0 -1
  126. data/spec/dummy/tmp/cache/3A8/F90/shard%2F10520 +0 -1
  127. data/spec/dummy/tmp/cache/3A9/F40/shard%2F10062 +0 -1
  128. data/spec/dummy/tmp/cache/3A9/F50/shard%2F11124 +0 -1
  129. data/spec/dummy/tmp/cache/3A9/F80/shard%2F10341 +0 -1
  130. data/spec/dummy/tmp/cache/3AA/F10/shard%2F10027 +0 -1
  131. data/spec/dummy/tmp/cache/3AA/F10/shard%2F10108 +0 -1
  132. data/spec/dummy/tmp/cache/3AA/FB0/shard%2F10441 +0 -1
  133. data/spec/dummy/tmp/cache/3AA/FC0/shard%2F10612 +0 -1
  134. data/spec/dummy/tmp/cache/3AB/010/shard%2F10730 +0 -1
  135. data/spec/dummy/tmp/cache/3AB/F30/shard%2F11009 +0 -1
  136. data/spec/dummy/tmp/cache/3AB/F70/shard%2F10154 +0 -1
  137. data/spec/dummy/tmp/cache/3AC/020/shard%2F10650 +0 -1
  138. data/spec/dummy/tmp/cache/3AC/F90/shard%2F11055 +0 -1
  139. data/spec/dummy/tmp/cache/3AC/FC0/shard%2F10272 +0 -1
  140. data/spec/dummy/tmp/cache/3AD/000/shard%2F10543 +0 -1
  141. data/spec/dummy/tmp/cache/3AD/F50/shard%2F10039 +0 -1
  142. data/spec/dummy/tmp/cache/3AD/F90/shard%2F10318 +0 -1
  143. data/spec/dummy/tmp/cache/3AD/FA0/shard%2F10246 +0 -1
  144. data/spec/dummy/tmp/cache/3AE/060/shard%2F10751 +0 -1
  145. data/spec/dummy/tmp/cache/3AE/090/shard%2F10940 +0 -1
  146. data/spec/dummy/tmp/cache/3AE/FF0/shard%2F10364 +0 -1
  147. data/spec/dummy/tmp/cache/3AF/030/shard%2F10635 +0 -1
  148. data/spec/dummy/tmp/cache/3B0/FE0/shard%2F10177 +0 -1
  149. data/spec/dummy/tmp/cache/3B0/FE0/shard%2F11149 +0 -1
  150. data/spec/dummy/tmp/cache/3B1/000/shard%2F11078 +0 -1
  151. data/spec/dummy/tmp/cache/3B1/030/shard%2F10295 +0 -1
  152. data/spec/dummy/tmp/cache/3B1/040/shard%2F10466 +0 -1
  153. data/spec/dummy/tmp/cache/3B1/090/shard%2F10673 +0 -1
  154. data/spec/dummy/tmp/cache/3B2/070/shard%2F10566 +0 -1
  155. data/spec/dummy/tmp/cache/3B2/0A0/shard%2F10917 +0 -1
  156. data/spec/dummy/tmp/cache/3B3/060/shard%2F10387 +0 -1
  157. data/spec/dummy/tmp/cache/3B3/100/shard%2F10963 +0 -1
  158. data/spec/dummy/tmp/cache/3B5/0B0/shard%2F10497 +0 -1
  159. data/spec/dummy/tmp/cache/3B6/100/shard%2F10696 +0 -1
  160. data/spec/dummy/tmp/cache/3B7/0E0/shard%2F10589 +0 -1
  161. data/spec/dummy/tmp/cache/3B8/170/shard%2F10986 +0 -1
  162. data/spec/dummy/tmp/cache/3BA/160/shard%2F10799 +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 940c65cfe17719c67e24e6568cce3c92b0b343bd
4
- data.tar.gz: d67d08be610618f0f3ac671dfa41f1c39a1af481
3
+ metadata.gz: f80e58c51412e2d7a5453d171965be87ca0de6fc
4
+ data.tar.gz: 3acac77abb20fa420b7f73836fc889f28cd1cc5b
5
5
  SHA512:
6
- metadata.gz: 33f9b8fc5e0e57aaecbf36923b582beb746a3f8aca0a8f621c37f8856353de8cab621dd59408049615cd3bab5cc1657c5e6c24f4fe48a5711a3b846d2aa15226
7
- data.tar.gz: 4384d08a0fe59d1e4a044bcc8a0fc4434389fa0755fd2afc67882dff2f263c3cc00a4e7468477cefad87984123df9651a2e22e3f505b1ecf7ef3d2343e1a2a55
6
+ metadata.gz: 72549da2054c402c673a98e16b2957f45b07d92dc1afda3e83f8719696783bbe66bd026dd4a180581b8ddcf14107e3665250a69d64f199aadf7dbf99e1a6cad0
7
+ data.tar.gz: 1782979200e28457147e24b05deb7831f4d5da03f7c9a0e387462e15f32bbd8877d4642145ba1206cebd765ca98e1bc6aceef86b7a1b04ddf9c3347ea8e16d70
@@ -264,8 +264,12 @@ module Switchman
264
264
  if previous_shard && shard != previous_shard &&
265
265
  (shard.database_server != previous_shard.database_server || !previous_shard.database_server.shareable?)
266
266
  previous_shard.activate do
267
- if ::ActiveRecord::Base.connected? && ::ActiveRecord::Base.connection.open_transactions == 0
268
- ::ActiveRecord::Base.connection_pool.current_pool.disconnect!
267
+ ::Shackles.activated_environments.each do |env|
268
+ ::Shackles.activate(env) do
269
+ if ::ActiveRecord::Base.connected? && ::ActiveRecord::Base.connection.open_transactions == 0
270
+ ::ActiveRecord::Base.connection_pool.current_pool.disconnect!
271
+ end
272
+ end
269
273
  end
270
274
  end
271
275
  end
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.2.15"
2
+ VERSION = "1.2.16"
3
3
  end
@@ -1,147389 +0,0 @@
1
- Connecting to database specified by database.yml
2
-  (0.6ms) select sqlite_version(*)
3
- SQL (0.2ms) DELETE FROM "switchman_shards"
4
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
5
- SQL (0.1ms) DELETE FROM "switchman_shards"
6
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
7
- SQL (0.1ms) DELETE FROM "switchman_shards"
8
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
9
- SQL (0.1ms) DELETE FROM "switchman_shards"
10
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
11
- SQL (0.1ms) DELETE FROM "switchman_shards"
12
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
13
- SQL (0.1ms) DELETE FROM "switchman_shards"
14
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
15
- SQL (0.1ms) DELETE FROM "switchman_shards"
16
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
17
- SQL (0.1ms) DELETE FROM "switchman_shards"
18
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
19
- SQL (0.1ms) DELETE FROM "switchman_shards"
20
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
21
- SQL (0.1ms) DELETE FROM "switchman_shards"
22
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
23
- SQL (0.1ms) DELETE FROM "switchman_shards"
24
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
25
- SQL (0.1ms) DELETE FROM "switchman_shards"
26
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
27
- SQL (0.1ms) DELETE FROM "switchman_shards"
28
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
29
- SQL (0.1ms) DELETE FROM "switchman_shards"
30
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
31
- SQL (0.1ms) DELETE FROM "switchman_shards"
32
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
33
-  (0.1ms) begin transaction
34
-  (0.0ms) rollback transaction
35
-  (0.0ms) begin transaction
36
-  (0.0ms) rollback transaction
37
-  (0.0ms) begin transaction
38
-  (0.0ms) rollback transaction
39
-  (0.0ms) begin transaction
40
-  (0.0ms) rollback transaction
41
-  (0.0ms) begin transaction
42
-  (0.0ms) rollback transaction
43
-  (0.0ms) begin transaction
44
-  (0.0ms) rollback transaction
45
-  (0.0ms) begin transaction
46
-  (0.0ms) rollback transaction
47
-  (0.0ms) begin transaction
48
-  (0.0ms) rollback transaction
49
-  (0.0ms) begin transaction
50
-  (0.0ms) rollback transaction
51
- SQL (0.1ms) DELETE FROM "switchman_shards"
52
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
53
- SQL (0.1ms) DELETE FROM "switchman_shards"
54
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
55
- SQL (0.1ms) DELETE FROM "switchman_shards"
56
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
57
- SQL (0.1ms) DELETE FROM "switchman_shards"
58
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
59
- SQL (0.1ms) DELETE FROM "switchman_shards"
60
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
61
- SQL (0.1ms) DELETE FROM "switchman_shards"
62
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
63
- SQL (0.1ms) DELETE FROM "switchman_shards"
64
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
65
- SQL (0.1ms) DELETE FROM "switchman_shards"
66
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
67
- SQL (0.1ms) DELETE FROM "switchman_shards"
68
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
69
- SQL (0.1ms) DELETE FROM "switchman_shards"
70
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
71
- SQL (0.1ms) DELETE FROM "switchman_shards"
72
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
73
- SQL (0.1ms) DELETE FROM "switchman_shards"
74
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
75
- SQL (0.1ms) DELETE FROM "switchman_shards"
76
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
77
- SQL (0.1ms) DELETE FROM "switchman_shards"
78
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
79
- SQL (0.1ms) DELETE FROM "switchman_shards"
80
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
81
- SQL (0.1ms) DELETE FROM "switchman_shards"
82
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
83
- SQL (0.1ms) DELETE FROM "switchman_shards"
84
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
85
- SQL (0.1ms) DELETE FROM "switchman_shards"
86
- SQLite3::SQLException: no such table: switchman_shards: DELETE FROM "switchman_shards"
87
- Connecting to database specified by database.yml
88
-  (0.0ms) select sqlite_version(*)
89
-  (7.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
90
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
91
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
92
- Migrating to CreateSwitchmanShards (20130328212039)
93
-  (0.0ms) begin transaction
94
-  (0.3ms) CREATE TABLE "switchman_shards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "database_server_id" varchar(255), "default" boolean DEFAULT 'f' NOT NULL)
95
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328212039')
96
-  (0.8ms) commit transaction
97
- Migrating to CreateDefaultShard (20130328224244)
98
-  (0.0ms) begin transaction
99
- Switchman::Shard Exists (0.1ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
100
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES (?, ?, ?) [["database_server_id", nil], ["default", true], ["name", nil]]
101
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
102
-  (5034.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328224244') [shard 1 deploy]
103
- SQLite3::BusyException: database is locked: INSERT INTO "schema_migrations" ("version") VALUES ('20130328224244')
104
-  (6.9ms) rollback transaction
105
-  (0.1ms) select sqlite_version(*) [shard 1 deploy]
106
- Connecting to database specified by database.yml
107
- Connecting to database specified by database.yml
108
-  (0.6ms) SELECT * FROM unnest(current_schemas(false))
109
- PG::UndefinedTable: ERROR: relation "switchman_shards" does not exist
110
- LINE 5: WHERE a.attrelid = '"switchman_shards"'::regcla...
111
- ^
112
- : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
113
- pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
114
- FROM pg_attribute a LEFT JOIN pg_attrdef d
115
- ON a.attrelid = d.adrelid AND a.attnum = d.adnum
116
- WHERE a.attrelid = '"switchman_shards"'::regclass
117
- AND a.attnum > 0 AND NOT a.attisdropped
118
- ORDER BY a.attnum
119
-
120
- PG::UndefinedTable: ERROR: relation "switchman_shards" does not exist
121
- LINE 5: WHERE a.attrelid = '"switchman_shards"'::regcla...
122
- ^
123
- : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
124
- pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
125
- FROM pg_attribute a LEFT JOIN pg_attrdef d
126
- ON a.attrelid = d.adrelid AND a.attnum = d.adnum
127
- WHERE a.attrelid = '"switchman_shards"'::regclass
128
- AND a.attnum > 0 AND NOT a.attisdropped
129
- ORDER BY a.attnum
130
-
131
-  (6.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
132
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
133
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
134
- Migrating to CreateSwitchmanShards (20130328212039)
135
-  (0.1ms) BEGIN
136
-  (4.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)
137
-  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328212039')
138
-  (0.4ms) COMMIT
139
- Migrating to CreateDefaultShard (20130328224244)
140
-  (0.1ms) BEGIN
141
- Switchman::Shard Exists (0.5ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
142
- SQL (0.5ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", nil], ["default", true], ["name", nil]]
143
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
144
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130328224244')
145
-  (0.3ms) COMMIT
146
- Migrating to CreateUsers (20130403132607)
147
-  (0.1ms) BEGIN
148
-  (1.9ms) 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)
149
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130403132607')
150
-  (0.4ms) COMMIT
151
- Migrating to CreateAppendages (20130411202442)
152
-  (0.1ms) BEGIN
153
-  (1.6ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
154
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202442')
155
-  (0.3ms) COMMIT
156
- Migrating to CreateMirrorUsers (20130411202551)
157
-  (0.1ms) BEGIN
158
-  (1.6ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
159
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202551')
160
-  (0.3ms) COMMIT
161
- Migrating to CreateDigits (20131022202028)
162
-  (0.1ms) BEGIN
163
-  (1.6ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
164
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131022202028')
165
-  (0.4ms) COMMIT
166
- Migrating to CreateFeatures (20131206172923)
167
-  (0.1ms) BEGIN
168
-  (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)
169
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131206172923')
170
-  (0.3ms) COMMIT
171
- Migrating to AddParentIdToUsers (20140123154135)
172
-  (0.1ms) BEGIN
173
-  (0.7ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint
174
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140123154135')
175
-  (0.3ms) COMMIT
176
- Migrating to CreateRoots (20140219183820)
177
-  (0.1ms) BEGIN
178
-  (1.7ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
179
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140219183820')
180
-  (0.3ms) COMMIT
181
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
182
- Connecting to database specified by database.yml
183
-  (0.4ms) SELECT * FROM unnest(current_schemas(false))
184
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
185
-  (0.3ms) SELECT * FROM unnest(current_schemas(false))
186
- Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = 'development' AND "switchman_shards"."name" IS NULL LIMIT 1
187
-  (6.7ms) SELECT * FROM unnest(current_schemas(false)) [shard master]
188
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = 'production' AND "switchman_shards"."name" IS NULL LIMIT 1
189
- SQL (7.3ms) DELETE FROM "switchman_shards" [shard 1 master]
190
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1 master]
191
-  (0.1ms) BEGIN [shard 1 master]
192
- Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1 master]
193
- SQL (0.6ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", nil], ["default", true], ["name", nil]] [shard 1 master]
194
-  (0.3ms) COMMIT [shard 1 master]
195
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 1 master]
196
- Switchman::Shard Load (0.8ms) 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 [shard 2 master]
197
-  (0.1ms) BEGIN [shard 2 master]
198
- 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"]] [shard 2 master]
199
-  (0.7ms) CREATE SCHEMA switchman_test_shard_3 [shard 3 deploy]
200
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 3 deploy]
201
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 3 deploy]
202
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" [shard 3 deploy]
203
- Migrating to CreateUsers (20130403132607)
204
-  (1.9ms) 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)  [shard 3 deploy]
205
-  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130403132607') [shard 3 deploy]
206
- Migrating to CreateAppendages (20130411202442)
207
-  (1.7ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [shard 3 deploy]
208
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202442') [shard 3 deploy]
209
- Migrating to CreateMirrorUsers (20130411202551)
210
-  (1.5ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [shard 3 deploy]
211
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202551') [shard 3 deploy]
212
- Migrating to CreateDigits (20131022202028)
213
-  (1.8ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [shard 3 deploy]
214
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131022202028') [shard 3 deploy]
215
- Migrating to CreateFeatures (20131206172923)
216
-  (1.5ms) 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)  [shard 3 deploy]
217
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131206172923') [shard 3 deploy]
218
- Migrating to AddParentIdToUsers (20140123154135)
219
-  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 3 deploy]
220
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140123154135') [shard 3 deploy]
221
- Migrating to CreateRoots (20140219183820)
222
-  (1.7ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  [shard 3 deploy]
223
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140219183820') [shard 3 deploy]
224
-  (0.2ms) UPDATE "switchman_shards" SET "name" = 'switchman_test_shard_3' WHERE "switchman_shards"."id" = 3 [shard 2 master]
225
-  (0.7ms) COMMIT [shard 2 master]
226
- Switchman::Shard Load (0.6ms) 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 [shard 2 master]
227
-  (0.1ms) BEGIN [shard 2 master]
228
- 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"]] [shard 2 master]
229
-  (0.3ms) COMMIT [shard 2 master]
230
-  (0.5ms) CREATE SCHEMA switchman_test_shard_4 [shard 4 deploy]
231
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 4 deploy]
232
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 4 deploy]
233
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" [shard 4 deploy]
234
- Migrating to CreateUsers (20130403132607)
235
-  (0.1ms) BEGIN [shard 4 deploy]
236
-  (1.8ms) 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) [shard 4 deploy]
237
-  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130403132607') [shard 4 deploy]
238
-  (0.3ms) COMMIT [shard 4 deploy]
239
- Migrating to CreateAppendages (20130411202442)
240
-  (0.1ms) BEGIN [shard 4 deploy]
241
-  (1.7ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [shard 4 deploy]
242
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202442') [shard 4 deploy]
243
-  (0.3ms) COMMIT [shard 4 deploy]
244
- Migrating to CreateMirrorUsers (20130411202551)
245
-  (0.1ms) BEGIN [shard 4 deploy]
246
-  (1.4ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [shard 4 deploy]
247
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202551') [shard 4 deploy]
248
-  (0.3ms) COMMIT [shard 4 deploy]
249
- Migrating to CreateDigits (20131022202028)
250
-  (0.1ms) BEGIN [shard 4 deploy]
251
-  (1.8ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [shard 4 deploy]
252
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131022202028') [shard 4 deploy]
253
-  (0.3ms) COMMIT [shard 4 deploy]
254
- Migrating to CreateFeatures (20131206172923)
255
-  (0.1ms) BEGIN [shard 4 deploy]
256
-  (2.0ms) 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) [shard 4 deploy]
257
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131206172923') [shard 4 deploy]
258
-  (0.4ms) COMMIT [shard 4 deploy]
259
- Migrating to AddParentIdToUsers (20140123154135)
260
-  (0.1ms) BEGIN [shard 4 deploy]
261
-  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 4 deploy]
262
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140123154135') [shard 4 deploy]
263
-  (0.3ms) COMMIT [shard 4 deploy]
264
- Migrating to CreateRoots (20140219183820)
265
-  (0.1ms) BEGIN [shard 4 deploy]
266
-  (1.6ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [shard 4 deploy]
267
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140219183820') [shard 4 deploy]
268
-  (0.3ms) COMMIT [shard 4 deploy]
269
-  (0.1ms) BEGIN [shard 2 master]
270
-  (0.2ms) UPDATE "switchman_shards" SET "name" = 'switchman_test_shard_4' WHERE "switchman_shards"."id" = 4 [shard 2 master]
271
-  (0.3ms) COMMIT [shard 2 master]
272
- SQL (0.3ms) DELETE FROM "switchman_shards" [shard 2 master]
273
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
274
-  (0.1ms) BEGIN [shard 2 master]
275
- Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
276
- 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", 2], ["name", nil]] [shard 2 master]
277
-  (0.3ms) COMMIT [shard 2 master]
278
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
279
-  (0.1ms) BEGIN [shard 2 master]
280
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
281
-  (0.5ms) COMMIT [shard 2 master]
282
-  (0.1ms) BEGIN [shard 2 master]
283
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
284
-  (0.3ms) COMMIT [shard 2 master]
285
-  (0.1ms) BEGIN [shard 2 master]
286
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
287
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
288
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
289
-  (0.1ms) BEGIN [shard 4 master]
290
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
291
- SQL (1.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 2 master]
292
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
293
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
294
- SQL (0.8ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 3 master]
295
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
296
- SQL (0.3ms) UPDATE "users" SET "name" = 'a' WHERE "users"."id" = 1 [shard 3 master]
297
- User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]] [shard 2 master]
298
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 3 LIMIT 1 [shard 2 master]
299
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]] [shard 3 master]
300
-  (0.1ms) ROLLBACK [shard 4 master]
301
-  (0.1ms) ROLLBACK [shard 3 master]
302
-  (0.0ms) BEGIN [shard 2 master]
303
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
304
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
305
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
306
-  (0.1ms) BEGIN [shard 4 master]
307
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
308
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 2 master]
309
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
310
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
311
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 3 master]
312
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
313
- SQL (0.2ms) UPDATE "users" SET "name" = 'a' WHERE "users"."id" IN (2) [shard 2 master]
314
- SQL (0.2ms) UPDATE "users" SET "name" = 'a' WHERE "users"."id" IN (2) [shard 3 master]
315
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2]] [shard 2 master]
316
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 2]] [shard 3 master]
317
-  (0.1ms) ROLLBACK [shard 4 master]
318
-  (0.1ms) ROLLBACK [shard 3 master]
319
-  (0.1ms) BEGIN [shard 2 master]
320
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
321
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
322
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
323
-  (0.0ms) BEGIN [shard 4 master]
324
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
325
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 2 master]
326
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
327
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
328
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 3 master]
329
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
330
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1 [shard 3 master]
331
-  (0.1ms) ROLLBACK [shard 4 master]
332
-  (0.1ms) ROLLBACK [shard 3 master]
333
-  (0.0ms) BEGIN [shard 2 master]
334
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
335
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
336
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
337
-  (0.0ms) BEGIN [shard 4 master]
338
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
339
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 2 master]
340
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
341
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
342
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 3 master]
343
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
344
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) [shard 2 master]
345
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (4) [shard 3 master]
346
-  (0.1ms) ROLLBACK [shard 4 master]
347
-  (0.1ms) ROLLBACK [shard 3 master]
348
-  (0.0ms) BEGIN [shard 2 master]
349
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
350
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
351
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
352
-  (0.1ms) BEGIN [shard 4 master]
353
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
354
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user1"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 2 master]
355
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
356
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
357
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", "user2"], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 3 master]
358
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
359
-  (0.1ms) ROLLBACK [shard 4 master]
360
-  (0.1ms) ROLLBACK [shard 3 master]
361
- SQL (0.3ms) DELETE FROM "switchman_shards" [shard 2 master]
362
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
363
-  (0.1ms) BEGIN [shard 2 master]
364
- Switchman::Shard Exists (0.1ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
365
- 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", 2], ["name", nil]] [shard 2 master]
366
-  (0.3ms) COMMIT [shard 2 master]
367
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
368
-  (0.1ms) BEGIN [shard 2 master]
369
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
370
-  (0.2ms) COMMIT [shard 2 master]
371
-  (0.1ms) BEGIN [shard 2 master]
372
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
373
-  (0.3ms) COMMIT [shard 2 master]
374
-  (0.0ms) BEGIN [shard 2 master]
375
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
376
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
377
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
378
-  (0.1ms) BEGIN [shard 4 master]
379
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
380
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 2 master]
381
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
382
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
383
- SQL (0.7ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["user_id", 6], ["value", nil]] [shard 2 master]
384
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
385
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
386
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 3 master]
387
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
388
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
389
- SQL (0.8ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["user_id", 6], ["value", nil]] [shard 3 master]
390
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
391
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
392
- SQL (0.7ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 4 master]
393
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
394
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
395
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
396
- SQL (0.7ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["user_id", 1], ["value", nil]] [shard 4 master]
397
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
398
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
399
-  (0.1ms) ROLLBACK [shard 4 master]
400
-  (0.1ms) ROLLBACK [shard 2 master]
401
-  (0.1ms) BEGIN [shard 2 master]
402
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
403
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
404
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
405
-  (0.1ms) BEGIN [shard 4 master]
406
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
407
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 2 master]
408
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
409
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
410
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["user_id", 7], ["value", nil]] [shard 2 master]
411
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
412
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
413
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:56 UTC +00:00]] [shard 3 master]
414
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
415
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
416
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 7], ["value", nil]] [shard 3 master]
417
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
418
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
419
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
420
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
421
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
422
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
423
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 2], ["value", nil]] [shard 4 master]
424
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
425
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
426
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 3 LIMIT 1 [shard 2 master]
427
-  (0.1ms) ROLLBACK [shard 4 master]
428
-  (0.1ms) ROLLBACK [shard 2 master]
429
-  (0.0ms) BEGIN [shard 2 master]
430
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
431
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
432
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
433
-  (0.1ms) BEGIN [shard 4 master]
434
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
435
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
436
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
437
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
438
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 8], ["value", nil]] [shard 2 master]
439
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
440
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
441
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
442
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
443
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
444
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 8], ["value", nil]] [shard 3 master]
445
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
446
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
447
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
448
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
449
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
450
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
451
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 3], ["value", nil]] [shard 4 master]
452
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
453
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
454
-  (0.1ms) ROLLBACK [shard 4 master]
455
-  (0.1ms) ROLLBACK [shard 2 master]
456
-  (0.0ms) BEGIN [shard 2 master]
457
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
458
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
459
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
460
-  (0.0ms) BEGIN [shard 4 master]
461
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
462
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
463
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
464
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
465
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 9], ["value", nil]] [shard 2 master]
466
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
467
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
468
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
469
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
470
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
471
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 9], ["value", nil]] [shard 3 master]
472
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
473
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
474
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
475
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
476
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
477
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
478
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 4], ["value", nil]] [shard 4 master]
479
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
480
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
481
-  (0.1ms) ROLLBACK [shard 4 master]
482
-  (0.1ms) ROLLBACK [shard 2 master]
483
-  (0.0ms) BEGIN [shard 2 master]
484
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
485
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
486
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
487
-  (0.0ms) BEGIN [shard 4 master]
488
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
489
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
490
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
491
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
492
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 10], ["value", nil]] [shard 2 master]
493
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
494
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
495
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
496
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
497
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
498
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 10], ["value", nil]] [shard 3 master]
499
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
500
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
501
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
502
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
503
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
504
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
505
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 5], ["value", nil]] [shard 4 master]
506
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
507
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
508
-  (0.1ms) ROLLBACK [shard 4 master]
509
-  (0.1ms) ROLLBACK [shard 2 master]
510
-  (0.1ms) BEGIN [shard 2 master]
511
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
512
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
513
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
514
-  (0.1ms) BEGIN [shard 4 master]
515
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
516
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
517
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
518
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
519
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 11], ["value", nil]] [shard 2 master]
520
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
521
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
522
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
523
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
524
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
525
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 11], ["value", nil]] [shard 3 master]
526
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
527
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
528
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
529
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
530
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
531
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
532
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 6], ["value", nil]] [shard 4 master]
533
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
534
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
535
-  (0.1ms) ROLLBACK [shard 4 master]
536
-  (0.1ms) ROLLBACK [shard 2 master]
537
-  (0.1ms) BEGIN [shard 2 master]
538
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
539
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
540
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
541
-  (0.1ms) BEGIN [shard 4 master]
542
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
543
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
544
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
545
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
546
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 12], ["value", nil]] [shard 2 master]
547
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
548
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
549
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
550
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
551
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
552
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 12], ["value", nil]] [shard 3 master]
553
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
554
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
555
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
556
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
557
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
558
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
559
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 7], ["value", nil]] [shard 4 master]
560
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
561
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
562
-  (0.1ms) ROLLBACK [shard 4 master]
563
-  (0.1ms) ROLLBACK [shard 2 master]
564
-  (0.1ms) BEGIN [shard 2 master]
565
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
566
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
567
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
568
-  (0.1ms) BEGIN [shard 4 master]
569
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
570
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
571
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
572
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
573
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 13], ["value", nil]] [shard 2 master]
574
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
575
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
576
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
577
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
578
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
579
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 13], ["value", nil]] [shard 3 master]
580
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
581
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
582
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
583
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
584
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
585
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
586
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 8], ["value", nil]] [shard 4 master]
587
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
588
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
589
-  (0.2ms) ROLLBACK [shard 4 master]
590
-  (0.1ms) ROLLBACK [shard 2 master]
591
-  (0.0ms) BEGIN [shard 2 master]
592
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
593
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
594
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
595
-  (0.0ms) BEGIN [shard 4 master]
596
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
597
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
598
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
599
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
600
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 14], ["value", nil]] [shard 2 master]
601
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
602
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
603
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
604
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
605
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
606
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 14], ["value", nil]] [shard 3 master]
607
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
608
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
609
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
610
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
611
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
612
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
613
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 9], ["value", nil]] [shard 4 master]
614
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
615
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
616
-  (0.1ms) ROLLBACK [shard 4 master]
617
-  (0.1ms) ROLLBACK [shard 2 master]
618
-  (0.1ms) BEGIN [shard 2 master]
619
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
620
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
621
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
622
-  (0.1ms) BEGIN [shard 4 master]
623
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
624
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
625
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
626
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
627
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 15], ["value", nil]] [shard 2 master]
628
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
629
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
630
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
631
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
632
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
633
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 15], ["value", nil]] [shard 3 master]
634
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
635
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
636
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
637
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
638
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
639
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
640
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 10], ["value", nil]] [shard 4 master]
641
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
642
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
643
-  (0.1ms) ROLLBACK [shard 4 master]
644
-  (0.1ms) ROLLBACK [shard 2 master]
645
-  (0.0ms) BEGIN [shard 2 master]
646
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
647
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
648
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
649
-  (0.0ms) BEGIN [shard 4 master]
650
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
651
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
652
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
653
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
654
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 16], ["value", nil]] [shard 2 master]
655
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
656
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
657
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
658
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
659
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
660
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 16], ["value", nil]] [shard 3 master]
661
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
662
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
663
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
664
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
665
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
666
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
667
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 11], ["value", nil]] [shard 4 master]
668
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
669
-  (0.0ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
670
-  (0.1ms) ROLLBACK [shard 4 master]
671
-  (0.1ms) ROLLBACK [shard 2 master]
672
-  (0.0ms) BEGIN [shard 2 master]
673
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
674
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
675
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
676
-  (0.0ms) BEGIN [shard 4 master]
677
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
678
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
679
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
680
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
681
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 17], ["value", nil]] [shard 2 master]
682
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
683
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
684
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
685
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
686
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
687
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 17], ["value", nil]] [shard 3 master]
688
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
689
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
690
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
691
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
692
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
693
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
694
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 12], ["value", nil]] [shard 4 master]
695
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
696
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
697
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
698
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", 17], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
699
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
700
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
701
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", 18], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
702
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
703
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 18]] [shard 2 master]
704
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 17 LIMIT 1 [shard 2 master]
705
-  (0.1ms) SHOW max_identifier_length [shard 2 master]
706
- User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "users" "children_grandchildren_join" ON "users"."parent_id" = "children_grandchildren_join"."id" WHERE "children_grandchildren_join"."parent_id" = 17 [shard 2 master]
707
-  (0.1ms) ROLLBACK [shard 4 master]
708
-  (0.2ms) ROLLBACK [shard 2 master]
709
-  (0.1ms) BEGIN [shard 2 master]
710
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
711
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
712
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
713
-  (0.1ms) BEGIN [shard 4 master]
714
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
715
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
716
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
717
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
718
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 20], ["value", nil]] [shard 2 master]
719
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
720
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
721
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
722
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
723
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
724
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 18], ["value", nil]] [shard 3 master]
725
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
726
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
727
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
728
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
729
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
730
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
731
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 13], ["value", nil]] [shard 4 master]
732
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
733
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
734
-  (0.1ms) ROLLBACK [shard 4 master]
735
-  (0.1ms) ROLLBACK [shard 2 master]
736
-  (0.1ms) BEGIN [shard 2 master]
737
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
738
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
739
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
740
-  (0.1ms) BEGIN [shard 4 master]
741
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
742
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
743
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
744
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
745
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 21], ["value", nil]] [shard 2 master]
746
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
747
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
748
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
749
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
750
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
751
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 19], ["value", nil]] [shard 3 master]
752
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
753
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
754
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
755
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
756
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
757
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
758
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 14], ["value", nil]] [shard 4 master]
759
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
760
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
761
-  (0.1ms) ROLLBACK [shard 4 master]
762
-  (0.1ms) ROLLBACK [shard 2 master]
763
-  (0.1ms) BEGIN [shard 2 master]
764
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
765
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
766
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
767
-  (0.1ms) BEGIN [shard 4 master]
768
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
769
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
770
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
771
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
772
- SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 22], ["value", nil]] [shard 2 master]
773
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
774
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
775
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
776
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
777
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
778
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 20], ["value", nil]] [shard 3 master]
779
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
780
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
781
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
782
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
783
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
784
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
785
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 15], ["value", nil]] [shard 4 master]
786
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
787
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
788
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
789
- SQL (0.6ms) INSERT INTO "mirror_users" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", nil]] [shard 3 master]
790
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
791
-  (0.1ms) ROLLBACK [shard 4 master]
792
-  (0.1ms) ROLLBACK [shard 3 master]
793
-  (0.0ms) BEGIN [shard 2 master]
794
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
795
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
796
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
797
-  (0.0ms) BEGIN [shard 4 master]
798
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
799
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
800
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
801
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
802
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 23], ["value", nil]] [shard 2 master]
803
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
804
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
805
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
806
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
807
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
808
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 21], ["value", nil]] [shard 3 master]
809
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
810
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
811
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
812
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
813
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
814
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
815
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", 16], ["value", nil]] [shard 4 master]
816
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
817
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
818
-  (0.1ms) ROLLBACK [shard 4 master]
819
-  (0.2ms) ROLLBACK [shard 2 master]
820
- SQL (0.4ms) DELETE FROM "switchman_shards" [shard 2 master]
821
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
822
-  (0.0ms) BEGIN [shard 2 master]
823
- Switchman::Shard Exists (0.1ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
824
- 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", 2], ["name", nil]] [shard 2 master]
825
-  (0.3ms) COMMIT [shard 2 master]
826
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
827
-  (0.1ms) BEGIN [shard 2 master]
828
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
829
-  (0.3ms) COMMIT [shard 2 master]
830
-  (0.1ms) BEGIN [shard 2 master]
831
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
832
-  (0.2ms) COMMIT [shard 2 master]
833
-  (0.1ms) BEGIN [shard 2 master]
834
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
835
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
836
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
837
-  (0.0ms) BEGIN [shard 4 master]
838
-  (0.0ms) ROLLBACK [shard 4 master]
839
-  (0.0ms) ROLLBACK [shard 2 master]
840
-  (0.0ms) BEGIN [shard 2 master]
841
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
842
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
843
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
844
-  (0.0ms) BEGIN [shard 4 master]
845
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" IN (2, 3) AND (id IN (3,4)) [shard 2 master]
846
-  (0.1ms) ROLLBACK [shard 4 master]
847
-  (0.1ms) ROLLBACK [shard 2 master]
848
-  (0.1ms) BEGIN [shard 2 master]
849
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
850
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
851
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
852
-  (0.0ms) BEGIN [shard 4 master]
853
-  (0.1ms) ROLLBACK [shard 4 master]
854
-  (0.1ms) ROLLBACK [shard 2 master]
855
-  (0.0ms) BEGIN [shard 2 master]
856
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
857
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
858
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
859
-  (0.0ms) BEGIN [shard 4 master]
860
-  (0.0ms) ROLLBACK [shard 4 master]
861
-  (0.1ms) ROLLBACK [shard 2 master]
862
-  (0.1ms) BEGIN [shard 2 master]
863
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
864
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
865
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
866
-  (0.0ms) BEGIN [shard 4 master]
867
-  (0.0ms) ROLLBACK [shard 4 master]
868
-  (0.1ms) ROLLBACK [shard 2 master]
869
- SQL (0.4ms) DELETE FROM "switchman_shards" [shard 2 master]
870
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
871
-  (0.0ms) BEGIN [shard 2 master]
872
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
873
- 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", "non_existent_shard"]] [shard 2 master]
874
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
875
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
876
- SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "2"], ["default", false], ["name", nil]] [shard 2 master]
877
-  (0.0ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
878
-  (0.3ms) SELECT COUNT(*) FROM "users" [shard 5 master]
879
- PG::UndefinedTable: ERROR: relation "users" does not exist
880
- LINE 1: SELECT COUNT(*) FROM "users"
881
- ^
882
- : SELECT COUNT(*) FROM "users"
883
-  (0.7ms) SELECT COUNT(*) FROM "users"  [shard 6 master]
884
-  (0.1ms) ROLLBACK [shard 2 master]
885
-  (0.0ms) BEGIN [shard 2 master]
886
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
887
- SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "3"], ["default", false], ["name", nil]] [shard 2 master]
888
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
889
-  (0.1ms) ROLLBACK [shard 2 master]
890
-  (0.1ms) BEGIN [shard 2 master]
891
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
892
- SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "4"], ["default", false], ["name", nil]] [shard 2 master]
893
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
894
-  (0.1ms) ROLLBACK [shard 2 master]
895
-  (0.1ms) BEGIN [shard 2 master]
896
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
897
- 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]] [shard 2 master]
898
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
899
-  (0.1ms) ROLLBACK [shard 2 master]
900
-  (0.1ms) BEGIN [shard 2 master]
901
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
902
- SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "6"], ["default", false], ["name", nil]] [shard 2 master]
903
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
904
-  (0.1ms) ROLLBACK [shard 2 master]
905
-  (0.1ms) BEGIN [shard 2 master]
906
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
907
- SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "7"], ["default", false], ["name", nil]] [shard 2 master]
908
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
909
-  (0.1ms) ROLLBACK [shard 2 master]
910
-  (0.1ms) BEGIN [shard 2 master]
911
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
912
- SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "8"], ["default", false], ["name", nil]] [shard 2 master]
913
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
914
-  (0.1ms) ROLLBACK [shard 2 master]
915
-  (0.0ms) BEGIN [shard 2 master]
916
- Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
917
- 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", 2], ["name", nil]] [shard 2 master]
918
-  (0.3ms) COMMIT [shard 2 master]
919
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
920
-  (0.0ms) BEGIN [shard 2 master]
921
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
922
-  (0.3ms) COMMIT [shard 2 master]
923
-  (0.0ms) BEGIN [shard 2 master]
924
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
925
-  (0.3ms) COMMIT [shard 2 master]
926
-  (0.0ms) BEGIN [shard 2 master]
927
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
928
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
929
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
930
-  (0.0ms) BEGIN [shard 4 master]
931
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
932
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
933
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
934
-  (0.1ms) ROLLBACK [shard 4 master]
935
-  (0.1ms) ROLLBACK [shard 2 master]
936
-  (0.0ms) BEGIN [shard 2 master]
937
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
938
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
939
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
940
-  (0.0ms) BEGIN [shard 4 master]
941
-  (0.0ms) ROLLBACK [shard 4 master]
942
-  (0.0ms) ROLLBACK [shard 2 master]
943
-  (0.1ms) BEGIN [shard 2 master]
944
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
945
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
946
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
947
-  (0.1ms) BEGIN [shard 4 master]
948
-  (0.1ms) ROLLBACK [shard 4 master]
949
-  (0.1ms) ROLLBACK [shard 2 master]
950
-  (0.1ms) BEGIN [shard 2 master]
951
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
952
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
953
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
954
-  (0.0ms) BEGIN [shard 4 master]
955
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
956
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
957
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
958
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
959
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
960
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
961
-  (0.1ms) ROLLBACK [shard 4 master]
962
-  (0.1ms) ROLLBACK [shard 3 master]
963
-  (0.0ms) BEGIN [shard 2 master]
964
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
965
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
966
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
967
-  (0.0ms) BEGIN [shard 4 master]
968
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
969
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
970
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
971
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 3 LIMIT 1 [shard 2 master]
972
-  (0.1ms) ROLLBACK [shard 4 master]
973
-  (0.1ms) ROLLBACK [shard 2 master]
974
-  (0.1ms) BEGIN [shard 2 master]
975
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
976
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
977
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
978
-  (0.0ms) BEGIN [shard 4 master]
979
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
980
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
981
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
982
-  (0.1ms) SAVEPOINT active_record_1 [shard 3 master]
983
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", nil], ["value", nil]] [shard 3 master]
984
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
985
-  (0.2ms) SAVEPOINT active_record_1 [shard 4 master]
986
- SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id", "value") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["user_id", nil], ["value", nil]] [shard 4 master]
987
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
988
-  (0.1ms) ROLLBACK [shard 4 master]
989
-  (0.1ms) ROLLBACK [shard 3 master]
990
-  (0.1ms) BEGIN [shard 2 master]
991
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
992
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
993
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
994
-  (0.1ms) BEGIN [shard 4 master]
995
-  (0.1ms) ROLLBACK [shard 4 master]
996
-  (0.1ms) ROLLBACK [shard 2 master]
997
- SQL (11.5ms) DELETE FROM "switchman_shards" [shard 2 master]
998
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
999
-  (0.1ms) BEGIN [shard 2 master]
1000
- Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1001
- 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", 2], ["name", nil]] [shard 2 master]
1002
-  (0.3ms) COMMIT [shard 2 master]
1003
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1004
-  (0.1ms) BEGIN [shard 2 master]
1005
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
1006
-  (0.3ms) COMMIT [shard 2 master]
1007
-  (0.1ms) BEGIN [shard 2 master]
1008
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
1009
-  (0.3ms) COMMIT [shard 2 master]
1010
-  (0.1ms) BEGIN [shard 2 master]
1011
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1012
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1013
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1014
-  (0.1ms) BEGIN [shard 4 master]
1015
-  (0.1ms) ROLLBACK [shard 4 master]
1016
-  (0.1ms) ROLLBACK [shard 2 master]
1017
-  (0.1ms) BEGIN [shard 2 master]
1018
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1019
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1020
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1021
-  (0.1ms) BEGIN [shard 4 master]
1022
-  (0.1ms) ROLLBACK [shard 4 master]
1023
-  (0.1ms) ROLLBACK [shard 2 master]
1024
-  (0.1ms) BEGIN [shard 2 master]
1025
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1026
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1027
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1028
-  (0.1ms) BEGIN [shard 4 master]
1029
-  (0.1ms) ROLLBACK [shard 4 master]
1030
-  (0.1ms) ROLLBACK [shard 2 master]
1031
-  (0.1ms) BEGIN [shard 2 master]
1032
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1033
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1034
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1035
-  (0.1ms) BEGIN [shard 4 master]
1036
-  (0.1ms) ROLLBACK [shard 4 master]
1037
-  (0.1ms) ROLLBACK [shard 2 master]
1038
-  (0.0ms) BEGIN [shard 2 master]
1039
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1040
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1041
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1042
-  (0.0ms) BEGIN [shard 4 master]
1043
-  (0.0ms) ROLLBACK [shard 4 master]
1044
-  (0.1ms) ROLLBACK [shard 2 master]
1045
-  (0.1ms) BEGIN [shard 2 master]
1046
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1047
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1048
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1049
-  (0.1ms) BEGIN [shard 4 master]
1050
-  (0.1ms) ROLLBACK [shard 4 master]
1051
-  (0.1ms) ROLLBACK [shard 2 master]
1052
- SQL (0.4ms) DELETE FROM "switchman_shards" [shard 2 master]
1053
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1054
-  (0.1ms) BEGIN [shard 2 master]
1055
- Switchman::Shard Exists (0.1ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1056
- 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", 2], ["name", nil]] [shard 2 master]
1057
-  (0.3ms) COMMIT [shard 2 master]
1058
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1059
-  (0.0ms) BEGIN [shard 2 master]
1060
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
1061
-  (0.2ms) COMMIT [shard 2 master]
1062
-  (0.0ms) BEGIN [shard 2 master]
1063
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
1064
-  (0.2ms) COMMIT [shard 2 master]
1065
-  (0.1ms) BEGIN [shard 2 master]
1066
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1067
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1068
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1069
-  (0.1ms) BEGIN [shard 4 master]
1070
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 3 LIMIT 1 [shard 2 master]
1071
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 4 LIMIT 1 [shard 2 master]
1072
-  (0.1ms) ROLLBACK [shard 4 master]
1073
-  (0.1ms) ROLLBACK [shard 2 master]
1074
-  (0.1ms) BEGIN [shard 2 master]
1075
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1076
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1077
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1078
-  (0.0ms) BEGIN [shard 4 master]
1079
-  (0.0ms) ROLLBACK [shard 4 master]
1080
-  (0.1ms) ROLLBACK [shard 2 master]
1081
-  (0.1ms) BEGIN [shard 2 master]
1082
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1083
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1084
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1085
-  (0.1ms) BEGIN [shard 4 master]
1086
-  (0.1ms) ROLLBACK [shard 4 master]
1087
-  (0.1ms) ROLLBACK [shard 2 master]
1088
-  (0.1ms) BEGIN [shard 2 master]
1089
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1090
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1091
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1092
-  (0.1ms) BEGIN [shard 4 master]
1093
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 10004 LIMIT 1 [shard 2 master]
1094
-  (0.1ms) ROLLBACK [shard 4 master]
1095
-  (0.1ms) ROLLBACK [shard 2 master]
1096
-  (0.0ms) BEGIN [shard 2 master]
1097
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1098
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1099
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1100
-  (0.1ms) BEGIN [shard 4 master]
1101
-  (0.1ms) ROLLBACK [shard 4 master]
1102
-  (0.1ms) ROLLBACK [shard 2 master]
1103
-  (0.0ms) BEGIN [shard 2 master]
1104
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1105
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1106
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1107
-  (0.0ms) BEGIN [shard 4 master]
1108
-  (0.1ms) ROLLBACK [shard 4 master]
1109
-  (0.1ms) ROLLBACK [shard 2 master]
1110
-  (0.1ms) BEGIN [shard 2 master]
1111
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1112
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1113
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1114
-  (0.0ms) BEGIN [shard 4 master]
1115
-  (0.0ms) ROLLBACK [shard 4 master]
1116
-  (0.1ms) ROLLBACK [shard 2 master]
1117
-  (0.1ms) BEGIN [shard 2 master]
1118
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1119
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1120
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1121
-  (0.1ms) BEGIN [shard 4 master]
1122
-  (0.1ms) ROLLBACK [shard 4 master]
1123
-  (0.1ms) ROLLBACK [shard 2 master]
1124
-  (0.0ms) BEGIN [shard 2 master]
1125
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1126
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1127
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1128
-  (0.0ms) BEGIN [shard 4 master]
1129
-  (0.1ms) ROLLBACK [shard 4 master]
1130
-  (0.1ms) ROLLBACK [shard 2 master]
1131
-  (0.1ms) BEGIN [shard 2 master]
1132
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1133
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1134
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1135
-  (0.0ms) BEGIN [shard 4 master]
1136
-  (0.0ms) ROLLBACK [shard 4 master]
1137
-  (0.1ms) ROLLBACK [shard 2 master]
1138
-  (0.0ms) BEGIN [shard 2 master]
1139
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1140
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1141
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1142
-  (0.0ms) BEGIN [shard 4 master]
1143
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '10' AND (name<>':memory:' OR name IS NULL) ORDER BY id LIMIT 1 [shard 2 master]
1144
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1145
- SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "10"], ["default", false], ["name", "public"]] [shard 2 master]
1146
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1147
-  (0.6ms) CREATE SCHEMA switchman_test_shard_13 [shard 13 deploy]
1148
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 13 deploy]
1149
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 13 deploy]
1150
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" [shard 13 deploy]
1151
- Migrating to CreateUsers (20130403132607)
1152
-  (0.1ms) BEGIN [shard 13 deploy]
1153
-  (2.1ms) 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) [shard 13 deploy]
1154
-  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130403132607') [shard 13 deploy]
1155
-  (0.4ms) COMMIT [shard 13 deploy]
1156
- Migrating to CreateAppendages (20130411202442)
1157
-  (0.1ms) BEGIN [shard 13 deploy]
1158
-  (1.8ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [shard 13 deploy]
1159
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202442') [shard 13 deploy]
1160
-  (0.4ms) COMMIT [shard 13 deploy]
1161
- Migrating to CreateMirrorUsers (20130411202551)
1162
-  (0.2ms) BEGIN [shard 13 deploy]
1163
-  (1.9ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [shard 13 deploy]
1164
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130411202551') [shard 13 deploy]
1165
-  (0.4ms) COMMIT [shard 13 deploy]
1166
- Migrating to CreateDigits (20131022202028)
1167
-  (0.1ms) BEGIN [shard 13 deploy]
1168
-  (1.6ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [shard 13 deploy]
1169
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131022202028') [shard 13 deploy]
1170
-  (0.3ms) COMMIT [shard 13 deploy]
1171
- Migrating to CreateFeatures (20131206172923)
1172
-  (0.1ms) BEGIN [shard 13 deploy]
1173
-  (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) [shard 13 deploy]
1174
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131206172923') [shard 13 deploy]
1175
-  (0.4ms) COMMIT [shard 13 deploy]
1176
- Migrating to AddParentIdToUsers (20140123154135)
1177
-  (0.2ms) BEGIN [shard 13 deploy]
1178
-  (0.4ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 13 deploy]
1179
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140123154135') [shard 13 deploy]
1180
-  (0.3ms) COMMIT [shard 13 deploy]
1181
- Migrating to CreateRoots (20140219183820)
1182
-  (0.1ms) BEGIN [shard 13 deploy]
1183
-  (1.9ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [shard 13 deploy]
1184
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140219183820') [shard 13 deploy]
1185
-  (0.3ms) COMMIT [shard 13 deploy]
1186
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1187
-  (0.2ms) UPDATE "switchman_shards" SET "name" = 'switchman_test_shard_13' WHERE "switchman_shards"."id" = 13 [shard 2 master]
1188
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1189
-  (0.1ms) BEGIN [shard 13 master]
1190
- SQL (0.6ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 13 master]
1191
-  (0.3ms) COMMIT [shard 13 master]
1192
-  (0.2ms) SELECT COUNT(*) FROM "users"  [shard 13 master]
1193
-  (5.0ms) DROP SCHEMA switchman_test_shard_13 CASCADE [shard 13 deploy]
1194
-  (0.3ms) SELECT COUNT(*) FROM "users"  [shard 13 master]
1195
- PG::UndefinedTable: ERROR: relation "users" does not exist
1196
- LINE 1: SELECT COUNT(*) FROM "users"
1197
- ^
1198
- : SELECT COUNT(*) FROM "users"
1199
-  (0.1ms) ROLLBACK [shard 4 master]
1200
-  (0.1ms) ROLLBACK [shard 2 master]
1201
-  (0.1ms) BEGIN [shard 2 master]
1202
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1203
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1204
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1205
-  (0.1ms) BEGIN [shard 4 master]
1206
-  (0.1ms) ROLLBACK [shard 4 master]
1207
-  (0.1ms) ROLLBACK [shard 2 master]
1208
-  (0.1ms) BEGIN [shard 2 master]
1209
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1210
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1211
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1212
-  (0.0ms) BEGIN [shard 4 master]
1213
-  (0.0ms) ROLLBACK [shard 4 master]
1214
-  (0.0ms) ROLLBACK [shard 2 master]
1215
-  (0.0ms) BEGIN [shard 2 master]
1216
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1217
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1218
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1219
-  (0.0ms) BEGIN [shard 4 master]
1220
-  (0.0ms) ROLLBACK [shard 4 master]
1221
-  (0.0ms) ROLLBACK [shard 2 master]
1222
-  (0.0ms) BEGIN [shard 2 master]
1223
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1224
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1225
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1226
-  (0.1ms) BEGIN [shard 4 master]
1227
-  (0.1ms) ROLLBACK [shard 4 master]
1228
-  (0.1ms) ROLLBACK [shard 2 master]
1229
-  (0.0ms) BEGIN [shard 2 master]
1230
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1231
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1232
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1233
-  (0.0ms) BEGIN [shard 4 master]
1234
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 2 master]
1235
-  (0.1ms) ROLLBACK [shard 4 master]
1236
-  (0.1ms) ROLLBACK [shard 2 master]
1237
-  (0.0ms) BEGIN [shard 2 master]
1238
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1239
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1240
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1241
-  (0.0ms) BEGIN [shard 4 master]
1242
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 2 master]
1243
-  (0.0ms) ROLLBACK [shard 4 master]
1244
-  (0.0ms) ROLLBACK [shard 2 master]
1245
-  (0.1ms) BEGIN [shard 2 master]
1246
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1247
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1248
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1249
-  (0.0ms) BEGIN [shard 4 master]
1250
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 2 master]
1251
-  (0.1ms) ROLLBACK [shard 4 master]
1252
-  (0.1ms) ROLLBACK [shard 2 master]
1253
-  (0.1ms) BEGIN [shard 2 master]
1254
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1255
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1256
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1257
-  (0.0ms) BEGIN [shard 4 master]
1258
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 2 master]
1259
-  (0.1ms) ROLLBACK [shard 4 master]
1260
-  (0.0ms) ROLLBACK [shard 2 master]
1261
-  (0.1ms) BEGIN [shard 2 master]
1262
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1263
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1264
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1265
-  (0.1ms) BEGIN [shard 4 master]
1266
-  (0.1ms) ROLLBACK [shard 4 master]
1267
-  (0.1ms) ROLLBACK [shard 2 master]
1268
-  (0.1ms) BEGIN [shard 2 master]
1269
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1270
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1271
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1272
-  (0.2ms) BEGIN [shard 4 master]
1273
-  (0.1ms) ROLLBACK [shard 4 master]
1274
-  (0.1ms) ROLLBACK [shard 2 master]
1275
-  (0.1ms) BEGIN [shard 2 master]
1276
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1277
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1278
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1279
-  (0.1ms) BEGIN [shard 4 master]
1280
-  (0.1ms) ROLLBACK [shard 4 master]
1281
-  (0.1ms) ROLLBACK [shard 2 master]
1282
-  (0.0ms) BEGIN [shard 2 master]
1283
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1284
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1285
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1286
-  (0.0ms) BEGIN [shard 4 master]
1287
-  (0.1ms) ROLLBACK [shard 4 master]
1288
-  (0.1ms) ROLLBACK [shard 2 master]
1289
-  (0.1ms) BEGIN [shard 2 master]
1290
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1291
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1292
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1293
-  (0.0ms) BEGIN [shard 4 master]
1294
-  (0.0ms) ROLLBACK [shard 4 master]
1295
-  (0.1ms) ROLLBACK [shard 2 master]
1296
-  (0.0ms) BEGIN [shard 2 master]
1297
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1298
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1299
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1300
-  (0.1ms) BEGIN [shard 4 master]
1301
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1302
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", nil], ["default", false], ["name", nil]] [shard 2 master]
1303
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1304
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
1305
- SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 14]] [shard 2 master]
1306
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1307
-  (0.1ms) ROLLBACK [shard 4 master]
1308
-  (0.1ms) ROLLBACK [shard 2 master]
1309
-  (0.1ms) BEGIN [shard 2 master]
1310
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1311
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1312
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1313
-  (0.0ms) BEGIN [shard 4 master]
1314
-  (0.1ms) ROLLBACK [shard 4 master]
1315
-  (0.1ms) ROLLBACK [shard 2 master]
1316
-  (0.0ms) BEGIN [shard 2 master]
1317
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1318
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1319
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1320
-  (0.0ms) BEGIN [shard 4 master]
1321
-  (0.0ms) ROLLBACK [shard 4 master]
1322
-  (0.0ms) ROLLBACK [shard 2 master]
1323
-  (0.0ms) BEGIN [shard 2 master]
1324
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1325
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1326
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1327
-  (0.0ms) BEGIN [shard 4 master]
1328
-  (0.0ms) ROLLBACK [shard 4 master]
1329
-  (0.1ms) ROLLBACK [shard 2 master]
1330
-  (0.1ms) BEGIN [shard 2 master]
1331
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1332
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1333
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1334
-  (0.0ms) BEGIN [shard 4 master]
1335
-  (0.0ms) ROLLBACK [shard 4 master]
1336
-  (0.0ms) ROLLBACK [shard 2 master]
1337
-  (0.1ms) BEGIN [shard 2 master]
1338
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1339
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1340
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1341
-  (0.0ms) BEGIN [shard 4 master]
1342
-  (0.0ms) ROLLBACK [shard 4 master]
1343
-  (0.0ms) ROLLBACK [shard 2 master]
1344
-  (0.1ms) BEGIN [shard 2 master]
1345
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1346
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1347
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1348
-  (0.0ms) BEGIN [shard 4 master]
1349
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1350
- 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]] [shard 2 master]
1351
-  (0.0ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1352
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
1353
- SQL (0.1ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 15]] [shard 2 master]
1354
-  (0.0ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1355
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 15 LIMIT 1 [shard 2 master]
1356
-  (0.1ms) ROLLBACK [shard 4 master]
1357
-  (0.1ms) ROLLBACK [shard 2 master]
1358
-  (0.0ms) BEGIN [shard 2 master]
1359
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1360
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1361
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1362
-  (0.1ms) BEGIN [shard 4 master]
1363
-  (0.1ms) ROLLBACK [shard 4 master]
1364
-  (0.1ms) ROLLBACK [shard 2 master]
1365
-  (0.1ms) BEGIN [shard 2 master]
1366
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1367
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1368
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1369
-  (0.0ms) BEGIN [shard 4 master]
1370
-  (0.0ms) ROLLBACK [shard 4 master]
1371
-  (0.0ms) ROLLBACK [shard 2 master]
1372
-  (0.0ms) BEGIN [shard 2 master]
1373
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1374
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1375
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1376
-  (0.0ms) BEGIN [shard 4 master]
1377
-  (0.0ms) ROLLBACK [shard 4 master]
1378
-  (0.0ms) ROLLBACK [shard 2 master]
1379
-  (0.1ms) BEGIN [shard 2 master]
1380
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1381
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1382
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1383
-  (0.0ms) BEGIN [shard 4 master]
1384
-  (0.1ms) ROLLBACK [shard 4 master]
1385
-  (0.1ms) ROLLBACK [shard 2 master]
1386
-  (0.0ms) BEGIN [shard 2 master]
1387
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1388
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1389
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1390
-  (0.0ms) BEGIN [shard 4 master]
1391
- Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 2 master]
1392
-  (0.1ms) ROLLBACK [shard 4 master]
1393
-  (0.1ms) ROLLBACK [shard 2 master]
1394
-  (0.0ms) BEGIN [shard 2 master]
1395
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1396
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1397
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1398
-  (0.0ms) BEGIN [shard 4 master]
1399
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [shard 2 master]
1400
-  (0.1ms) ROLLBACK [shard 4 master]
1401
-  (0.1ms) ROLLBACK [shard 2 master]
1402
-  (0.0ms) BEGIN [shard 2 master]
1403
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1404
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1405
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1406
-  (0.0ms) BEGIN [shard 4 master]
1407
-  (0.1ms) ROLLBACK [shard 4 master]
1408
-  (0.1ms) ROLLBACK [shard 2 master]
1409
-  (0.1ms) BEGIN [shard 2 master]
1410
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1411
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1412
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1413
-  (0.1ms) BEGIN [shard 4 master]
1414
-  (0.1ms) ROLLBACK [shard 4 master]
1415
-  (0.1ms) ROLLBACK [shard 2 master]
1416
-  (0.1ms) BEGIN [shard 2 master]
1417
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1418
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1419
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1420
-  (0.1ms) BEGIN [shard 4 master]
1421
-  (0.1ms) ROLLBACK [shard 4 master]
1422
-  (0.1ms) ROLLBACK [shard 2 master]
1423
-  (0.1ms) BEGIN [shard 2 master]
1424
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1425
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1426
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1427
-  (0.0ms) BEGIN [shard 4 master]
1428
-  (0.1ms) ROLLBACK [shard 4 master]
1429
-  (0.1ms) ROLLBACK [shard 2 master]
1430
-  (0.1ms) BEGIN [shard 2 master]
1431
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1432
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1433
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1434
-  (0.0ms) BEGIN [shard 4 master]
1435
-  (0.1ms) ROLLBACK [shard 4 master]
1436
-  (0.1ms) ROLLBACK [shard 2 master]
1437
-  (0.1ms) BEGIN [shard 2 master]
1438
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1439
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1440
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1441
-  (0.1ms) BEGIN [shard 4 master]
1442
-  (0.1ms) ROLLBACK [shard 4 master]
1443
-  (0.1ms) ROLLBACK [shard 2 master]
1444
- SQL (0.4ms) DELETE FROM "switchman_shards" [shard 2 master]
1445
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1446
-  (0.1ms) BEGIN [shard 2 master]
1447
- Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1448
- 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", 2], ["name", nil]] [shard 2 master]
1449
-  (5.7ms) COMMIT [shard 2 master]
1450
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1451
-  (0.1ms) BEGIN [shard 2 master]
1452
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
1453
-  (5.6ms) COMMIT [shard 2 master]
1454
-  (0.1ms) BEGIN [shard 2 master]
1455
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
1456
-  (5.4ms) COMMIT [shard 2 master]
1457
-  (0.1ms) BEGIN [shard 2 master]
1458
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1459
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1460
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1461
-  (0.1ms) BEGIN [shard 4 master]
1462
-  (0.1ms) ROLLBACK [shard 4 master]
1463
-  (0.1ms) ROLLBACK [shard 2 master]
1464
- SQL (0.3ms) DELETE FROM "switchman_shards" [shard 2 master]
1465
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1466
-  (0.0ms) BEGIN [shard 2 master]
1467
-  (0.1ms) ROLLBACK [shard 2 master]
1468
-  (0.1ms) BEGIN [shard 2 master]
1469
-  (0.2ms) SELECT COUNT(*) FROM "switchman_shards" [shard 2 master]
1470
-  (0.1ms) ROLLBACK [shard 2 master]
1471
-  (0.0ms) BEGIN [shard 2 master]
1472
-  (0.1ms) ROLLBACK [shard 2 master]
1473
-  (0.1ms) BEGIN [shard 2 master]
1474
- Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1475
- 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", 2], ["name", nil]] [shard 2 master]
1476
-  (0.3ms) COMMIT [shard 2 master]
1477
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1478
-  (0.1ms) BEGIN [shard 2 master]
1479
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
1480
-  (0.3ms) COMMIT [shard 2 master]
1481
-  (0.1ms) BEGIN [shard 2 master]
1482
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
1483
-  (0.2ms) COMMIT [shard 2 master]
1484
-  (0.0ms) BEGIN [shard 4 master]
1485
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
1486
- SQL (1.1ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
1487
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 4 master]
1488
-  (0.1ms) BEGIN [shard 2 master]
1489
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1490
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1491
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1492
-  (0.1ms) SAVEPOINT active_record_1 [shard 4 master]
1493
-  (0.4ms) SELECT COUNT(*) FROM "users" [shard 4 master]
1494
-  (0.1ms) SAVEPOINT active_record_2 [shard 4 master]
1495
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 4 master]
1496
-  (0.1ms) RELEASE SAVEPOINT active_record_2 [shard 4 master]
1497
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [shard 4 master]
1498
-  (0.1ms) ROLLBACK [shard 2 master]
1499
-  (0.2ms) SELECT COUNT(*) FROM "users" [shard 4 master]
1500
-  (0.1ms) ROLLBACK [shard 4 master]
1501
- SQL (5.6ms) DELETE FROM "switchman_shards" [shard 2 master]
1502
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1503
-  (0.1ms) BEGIN [shard 2 master]
1504
- Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1505
- 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", 2], ["name", nil]] [shard 2 master]
1506
-  (6.0ms) COMMIT [shard 2 master]
1507
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1508
-  (0.1ms) BEGIN [shard 2 master]
1509
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
1510
-  (4.7ms) COMMIT [shard 2 master]
1511
-  (0.1ms) BEGIN [shard 2 master]
1512
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
1513
-  (0.3ms) COMMIT [shard 2 master]
1514
-  (0.1ms) BEGIN [shard 2 master]
1515
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1516
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1517
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1518
-  (0.1ms) BEGIN [shard 4 master]
1519
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1520
- SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "11"], ["default", false], ["name", nil]] [shard 2 master]
1521
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1522
-  (0.1ms) ROLLBACK [shard 4 master]
1523
-  (0.1ms) ROLLBACK [shard 2 master]
1524
-  (0.1ms) BEGIN [shard 2 master]
1525
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1526
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1527
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1528
-  (0.1ms) BEGIN [shard 4 master]
1529
-  (0.1ms) ROLLBACK [shard 4 master]
1530
-  (0.1ms) ROLLBACK [shard 2 master]
1531
-  (0.1ms) BEGIN [shard 2 master]
1532
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1533
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1534
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1535
-  (0.1ms) BEGIN [shard 4 master]
1536
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1537
- SQL (0.6ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
1538
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1539
-  (0.1ms) ROLLBACK [shard 4 master]
1540
-  (0.1ms) ROLLBACK [shard 2 master]
1541
-  (0.1ms) BEGIN [shard 2 master]
1542
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1543
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1544
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1545
-  (0.1ms) BEGIN [shard 4 master]
1546
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1547
- SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "default", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "12"], ["default", false], ["name", nil]] [shard 2 master]
1548
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1549
-  (0.1ms) ROLLBACK [shard 4 master]
1550
-  (0.1ms) ROLLBACK [shard 2 master]
1551
-  (0.1ms) BEGIN [shard 2 master]
1552
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1553
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1554
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1555
-  (0.1ms) BEGIN [shard 4 master]
1556
-  (0.1ms) ROLLBACK [shard 4 master]
1557
-  (0.1ms) ROLLBACK [shard 2 master]
1558
-  (0.1ms) BEGIN [shard 2 master]
1559
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1560
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1561
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1562
-  (0.1ms) BEGIN [shard 4 master]
1563
-  (0.1ms) ROLLBACK [shard 4 master]
1564
-  (0.1ms) ROLLBACK [shard 2 master]
1565
- SQL (6.8ms) DELETE FROM "switchman_shards" [shard 2 master]
1566
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1567
-  (0.1ms) BEGIN [shard 2 master]
1568
- Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1569
- 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", 2], ["name", nil]] [shard 2 master]
1570
-  (5.0ms) COMMIT [shard 2 master]
1571
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1572
-  (0.1ms) BEGIN [shard 2 master]
1573
- 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", 3], ["name", "switchman_test_shard_3"]] [shard 2 master]
1574
-  (0.3ms) COMMIT [shard 2 master]
1575
-  (0.1ms) BEGIN [shard 2 master]
1576
- 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", 4], ["name", "switchman_test_shard_4"]] [shard 2 master]
1577
-  (0.2ms) COMMIT [shard 2 master]
1578
-  (0.1ms) BEGIN [shard 2 master]
1579
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1580
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1581
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1582
-  (0.0ms) BEGIN [shard 4 master]
1583
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
1584
- SQL (0.5ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
1585
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
1586
-  (0.0ms) SAVEPOINT active_record_1 [shard 3 master]
1587
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 3 master]
1588
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3 master]
1589
-  (0.0ms) SAVEPOINT active_record_1 [shard 2 master]
1590
- SQL (0.4ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
1591
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1592
- User Load (0.2ms) SELECT "users".* FROM "users"  [shard 3 master]
1593
- User Load (0.2ms) SELECT "users".* FROM "users" [shard 2 master]
1594
-  (0.1ms) ROLLBACK [shard 4 master]
1595
-  (0.1ms) ROLLBACK [shard 2 master]
1596
-  (0.0ms) BEGIN [shard 2 master]
1597
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1598
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1599
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1600
-  (0.1ms) BEGIN [shard 4 master]
1601
- User Load (0.3ms) SELECT "users".* FROM "users" [shard 2 master]
1602
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1603
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
1604
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1605
-  (0.1ms) ROLLBACK [shard 4 master]
1606
-  (0.1ms) ROLLBACK [shard 2 master]
1607
-  (0.1ms) BEGIN [shard 2 master]
1608
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1609
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1610
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1611
-  (0.1ms) BEGIN [shard 4 master]
1612
- User Load (0.2ms) SELECT "users".* FROM "users"  [shard 2 master]
1613
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1614
- SQL (0.3ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
1615
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1616
-  (0.1ms) ROLLBACK [shard 4 master]
1617
-  (0.1ms) ROLLBACK [shard 2 master]
1618
-  (0.1ms) BEGIN [shard 2 master]
1619
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1620
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1621
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1622
-  (0.1ms) BEGIN [shard 4 master]
1623
- User Load (0.2ms) SELECT "users".* FROM "users" [shard 2 master]
1624
-  (0.1ms) BEGIN [shard 2 master]
1625
- SQL (0.9ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
1626
-  (0.4ms) COMMIT [shard 2 master]
1627
-  (0.1ms) ROLLBACK [shard 4 master]
1628
-  (0.1ms) ROLLBACK [shard 2 master]
1629
-  (0.1ms) BEGIN [shard 2 master]
1630
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1631
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1632
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1633
-  (0.1ms) BEGIN [shard 4 master]
1634
- User Load (0.2ms) SELECT "users".* FROM "users"  [shard 2 master]
1635
-  (0.1ms) BEGIN [shard 2 master]
1636
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
1637
-  (0.3ms) COMMIT [shard 2 master]
1638
-  (0.1ms) ROLLBACK [shard 4 master]
1639
-  (0.1ms) ROLLBACK [shard 2 master]
1640
-  (0.0ms) BEGIN [shard 2 master]
1641
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1642
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1643
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1644
-  (0.1ms) BEGIN [shard 4 master]
1645
- User Load (0.2ms) SELECT "users".* FROM "users" [shard 2 master]
1646
-  (0.1ms) ROLLBACK [shard 4 master]
1647
-  (0.1ms) ROLLBACK [shard 2 master]
1648
-  (0.0ms) BEGIN [shard 2 master]
1649
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1650
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1651
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1652
-  (0.0ms) BEGIN [shard 4 master]
1653
- User Load (0.1ms) SELECT "users".* FROM "users" [shard 2 master]
1654
-  (0.1ms) ROLLBACK [shard 4 master]
1655
-  (0.1ms) ROLLBACK [shard 2 master]
1656
-  (0.0ms) BEGIN [shard 2 master]
1657
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1658
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1659
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1660
-  (0.0ms) BEGIN [shard 4 master]
1661
- User Load (0.2ms) SELECT "users".* FROM "users" FOR UPDATE [shard 2 master]
1662
-  (0.1ms) ROLLBACK [shard 4 master]
1663
-  (0.1ms) ROLLBACK [shard 2 master]
1664
-  (0.1ms) BEGIN [shard 2 master]
1665
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1666
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1667
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1668
-  (0.0ms) BEGIN [shard 4 master]
1669
- User Load (0.1ms) SELECT "users".* FROM "users" [shard 2 master]
1670
-  (0.1ms) ROLLBACK [shard 4 master]
1671
-  (0.1ms) ROLLBACK [shard 2 master]
1672
-  (0.0ms) BEGIN [shard 2 master]
1673
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1674
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1675
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1676
-  (0.0ms) BEGIN [shard 4 master]
1677
-  (0.1ms) ROLLBACK [shard 4 master]
1678
-  (0.1ms) ROLLBACK [shard 2 master]
1679
-  (0.0ms) BEGIN [shard 2 master]
1680
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1681
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1682
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1683
-  (0.0ms) BEGIN [shard 4 master]
1684
-  (0.0ms) ROLLBACK [shard 4 master]
1685
-  (0.0ms) ROLLBACK [shard 2 master]
1686
-  (0.1ms) BEGIN [shard 2 master]
1687
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1688
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1689
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1690
-  (0.1ms) BEGIN [shard 4 master]
1691
-  (0.1ms) ROLLBACK [shard 4 master]
1692
-  (0.1ms) ROLLBACK [shard 2 master]
1693
-  (0.1ms) BEGIN [shard 2 master]
1694
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1695
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1696
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1697
-  (0.1ms) BEGIN [shard 4 master]
1698
-  (0.1ms) ROLLBACK [shard 4 master]
1699
-  (0.1ms) ROLLBACK [shard 2 master]
1700
-  (0.1ms) BEGIN [shard 2 master]
1701
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1702
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1703
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1704
-  (0.1ms) BEGIN [shard 4 master]
1705
-  (0.1ms) ROLLBACK [shard 4 master]
1706
-  (0.1ms) ROLLBACK [shard 2 master]
1707
-  (0.1ms) BEGIN [shard 2 master]
1708
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1709
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1710
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1711
-  (0.1ms) BEGIN [shard 4 master]
1712
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1713
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
1714
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1715
- User Load (0.2ms) SELECT "users".* FROM "users" [shard 2 master]
1716
- SQL (0.2ms) UPDATE "users" SET "updated_at" = '2014-07-18 18:42:57.935041' [shard 2 master]
1717
-  (0.1ms) ROLLBACK [shard 4 master]
1718
-  (0.1ms) ROLLBACK [shard 2 master]
1719
-  (0.1ms) BEGIN [shard 2 master]
1720
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2 master]
1721
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3]] [shard 2 master]
1722
- Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 4]] [shard 2 master]
1723
-  (0.0ms) BEGIN [shard 4 master]
1724
-  (0.1ms) SAVEPOINT active_record_1 [shard 2 master]
1725
- SQL (0.2ms) INSERT INTO "users" ("created_at", "mirror_user_id", "name", "parent_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00], ["mirror_user_id", nil], ["name", nil], ["parent_id", nil], ["updated_at", Fri, 18 Jul 2014 18:42:57 UTC +00:00]] [shard 2 master]
1726
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2 master]
1727
- User Load (0.2ms) SELECT "users".* FROM "users" [shard 2 master]
1728
- SQL (0.2ms) UPDATE "users" SET "updated_at" = '2014-07-18 18:42:57.941355' [shard 2 master]
1729
-  (0.1ms) ROLLBACK [shard 4 master]
1730
-  (0.1ms) ROLLBACK [shard 2 master]