bitmap: I wonder what to do with the cache advisory locks when DB_READ_ONLY is set.
2016-01-21 02119, 2016
chirlu`
AFAIU, the locks are handled in memory, no WAL is written.
2016-01-21 02141, 2016
guest__ has quit
2016-01-21 02141, 2016
chirlu`
So it might be OK to have them running.
2016-01-21 02114, 2016
bitmap
hmm, I'm not sure
2016-01-21 02115, 2016
chirlu`
OTOH, while in read-only mode, there should be no harm in caching things without locking.
2016-01-21 02139, 2016
bitmap
right
2016-01-21 02123, 2016
bitmap
I suppose it'd be harmless and possibly safer to check DB_READ_ONLY before acquiring any locks
2016-01-21 02102, 2016
chirlu`
(I also thought about possible future replicated servers. If we have hot standby servers that are used for web display, they can use the cache, but not cache anything because they can’t get locks.)
2016-01-21 02132, 2016
chirlu`
(Where “they” confusingly refers to the web frontends using the replica. ;-) )
2016-01-21 02149, 2016
CJ_
Mineo, Why did you do that instead of just using the regular json flag?
2016-01-21 02106, 2016
Mineo
"regular json flag"?
2016-01-21 02125, 2016
Mineo
it's what the current search server uses to generate the json and moves some elements around etc.
2016-01-21 02146, 2016
JonnyJD_ joined the channel
2016-01-21 02109, 2016
CJ_
Mineo, wt=json instead of wt=mbjson
2016-01-21 02137, 2016
CJ_
I am wondering if the writer can be removed and regular json can be used instead.
2016-01-21 02106, 2016
bitmap
chirlu`: I guess that if MBS is configured to connect to the master DB for certain things, we could keep the locks there?
Gentlecat, are you around? I have some questions about how the metabrainz navbar works
2016-01-21 02116, 2016
stanislas
Gentlecat: Do you have some alternative to controlling whitespace the way I am doing it currently ?
2016-01-21 02116, 2016
Gentlecat
yes
2016-01-21 02151, 2016
Gentlecat
if not, someone else might be able to answer. so feel free to just ask
2016-01-21 02104, 2016
CJ_
Mineo, Do you know the difference between json and jsonnew?
2016-01-21 02110, 2016
Gentlecat
stanislas: what do you mean?
2016-01-21 02111, 2016
Mineo
no
2016-01-21 02137, 2016
stanislas
Gentlecat: I would like to use {{sth}} without whitespace showing around
2016-01-21 02113, 2016
Gentlecat
it can become hard to read in big templates
2016-01-21 02128, 2016
gcilou
Gentlecat, ok so each of the buttons, "About", "Sponsors"..have this as the href "{{ url_for('index.about') }}" (or similar). But, I've added a team.html file to the index folder and doing { url_for('index.team') }} in the navbar does not work. What is my problem?
2016-01-21 02103, 2016
Gentlecat
'index.about', for example, is a reference to a specific view
2016-01-21 02132, 2016
stanislas
Gentlecat: I guess it can, but ... how to do replace the hyphens ?
chirlu`, I am just wondering if it may be easier to just move to regular solr json instead.
2016-01-21 02106, 2016
chirlu`
CJ_: If it changes the output format, no.
2016-01-21 02120, 2016
Gentlecat
leave it if it's significant then
2016-01-21 02151, 2016
CJ_
chirlu`, It is a different format than the jsonnew. Has the jsonnew migration been completed?
2016-01-21 02116, 2016
chirlu`
Yes. The WS only delivers jsonnew.
2016-01-21 02127, 2016
CJ_
Hmm.
2016-01-21 02103, 2016
gcilou
I still need pictures from zas, ruaok, and alastairp. You can email them to me at caroline.gschwend@gmail.com
2016-01-21 02104, 2016
gcilou
LordSputnik and Leftmost, I got your pictures from the summit blog post, if you have other pictures that you would rather me use, email them to me at the above address