the cassandra migrator does not need to be shard aware

especially when it's flat out wrong and causes it to not work

even when run in a sharded environment, it's run per-shard anyway

Change-Id: I6f568b44a6fe636468372e708cfcdcb329d4a733
Reviewed-on: https://gerrit.instructure.com/46744
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Cody Cutrer 2015-01-08 10:27:17 -07:00
parent a886f70f38
commit d1f08ad993
1 changed files with 1 additions and 3 deletions

View File

@ -412,9 +412,7 @@ class PageView < ActiveRecord::Base
end
def cassandra
user.shard.activate do
PageView::EventStream.database
end
PageView::EventStream.database
end
def run