got multiple translators with intermittent problems through the euro morning (it always seems to be worse in euro mornings). I had one failed save and one successful one
ehazlett
janeted: looking
janeted
thx ehazlett
nicholasreville joined the channel
bendk
ehazlett: I think I heard you say once that we re-index videos once a day. How does that happen? Is it a celery task, do we just run the management command from cron?
ehazlett
bendk: i think it's a periodic_task in celery
janeted
ehazlett: if you want to review bendk 's fixes for gh-758: https://github.com/pculture/unisubs/pull/832 - that will need the index updated once we merge and deploy staging. It will be good to get that on staging sooner as it's a high-pri TED ticket and they'll probably want to check it out.
bendk
ehazlett: yeah, if you can review that one soon that would be good, they were hoping to test today
janeted: I don't think we need to worry too much about the index.. Just tell them it will be fixed tomorrow or so
ehazlett
k
janeted
can we just updated it manually though - to avoid a flurry of tickets, please bendk ehazlett
ehazlett
bendk: janeted what branch did that come from? it doesn't look like it was sync'd before the PR
janeted: it takes a few horus
*hours
bendk
ehazlett: I can manually run it for TED videos
janeted
ehazlett: I didn't sync before the pr.
I don't go there
ehazlett
ugh ok
well bendk i'll apologize in advance if i stomp on any commits
bendk: can you take a quick peak at this - https://github.com/pculture/unisubs/issues/833 I need to do selenium test for all the speaker name stuff, and I just want to be sure I've got all the behaviors down correctly.
bendk
janeted: one thing is that for the site search, it should return results based on the speaker name for all languages + the speaker name set on the video
for the tasks search, it's only the speaker name on the video
janeted
ok thanks bendk
bendk
and for the activity pages, we will show the title at the time the video was deleted
janeted
right
bendk
so for existing activity, before the changes it's just title
after the change, it's speaker-name: title (for ted videos)
janeted
sounds good
bendk
we also should test that if speaker name isn't set, then for TED pages we just return the title
not ": title" or something like that
that's all my comments, the list looks good
janeted
ok
thanks
ehazlett
bendk: janeted merged gh-758 -> staging ; want me to deploy staging?
janeted
ehazlett: yes please
ehazlett
janeted: ok
bendk
all: anyone using staging?
I want to test something out there
ehazlett
bendk: no -- it should be deployed
bendk
ehazlett: can you give univsubs_staging process access?
I'm going to test what happens when we run the rebuild index command at midnight
I wonder if that is related to stability
looking at the newrelic graphs there may be a somewhat of a correlation
i would think if it was from indexing solr would be high too
bendk: for example you can see when you indexed the specific team at 10:15
bendk: ah wait -- that link you sent doesn't show midnight
one sec
yeah same -- not much solr
does look like something automated though
perhaps one of the partners does a sync or something
bendk
I'm wondering about the database usage
ehazlett
i don't think we have that many periodic tasks around that time
bendk
in particular, I think we have an issue with one of our tasks that queries the database, then reindexes the results
ehazlett
right
bendk
while it's reindexing it's keeping that transaction open, which may keep database locks open
ehazlett
hmm ok -- i would just think we would see the same spike in solr; maybe not
bendk
I'm wondering if the site reindex would do that as well
although I'm sort-of doubting it at this point
ehazlett
bendk: actually that graph is the majority in python
db is really low
bendk
yeah, I know
but I'm still doubting it, especially since it seems like the outages were correlating to when we had transactions that were keeping open row locks
maybe the time spent waiting for the lock is counted as python
honestly, I don't really have a good explanation, but I don't think that python usage should take down the site. At worst it should just make things slow