Friday, 2015-08-28

*** sigmavirus24_awa has quit IRC03:27
*** asahlin has quit IRC03:28
*** asahlin has joined #openstack-searchlight03:31
*** sigmavirus24_awa has joined #openstack-searchlight03:34
*** lakshmiS has joined #openstack-searchlight05:02
*** lakshmiS has quit IRC05:11
*** lakshmiS has joined #openstack-searchlight05:14
*** asahlin has quit IRC10:27
*** nikhil_k has quit IRC10:27
*** mugsie has quit IRC10:27
*** sigmavirus24_awa has quit IRC10:27
*** sigmavirus24_awa has joined #openstack-searchlight10:29
*** asahlin has joined #openstack-searchlight10:30
*** nikhil_k has joined #openstack-searchlight10:30
*** mugsie has joined #openstack-searchlight10:30
*** asahlin has quit IRC10:30
*** nikhil_k has quit IRC10:30
*** mugsie has quit IRC10:30
*** asahlin has joined #openstack-searchlight10:33
*** nikhil_k has joined #openstack-searchlight10:33
*** mugsie has joined #openstack-searchlight10:33
*** lakshmiS has quit IRC13:21
*** sigmavirus24_awa is now known as sigmavirus2413:30
*** sigmavirus24 is now known as sigmavirus24_awa14:38
*** sigmavirus24_awa is now known as sigmavirus2414:38
openstackgerritSteve McLellan proposed openstack/searchlight: More efficient result filtering  https://review.openstack.org/20768215:49
openstackgerritSteve McLellan proposed openstack/searchlight: More efficient result filtering  https://review.openstack.org/20768215:56
rosmaitasjmc7: got a minute?16:14
sjmc7i'm on a phone call - ten minutes ok?16:14
rosmaitasure, i'll be here16:14
rosmaitathanks16:14
sjmc7rosmaita, done16:57
sjmc7sorry, meeting overran a bit16:57
rosmaitanp16:58
rosmaitagot a question for you about https://review.openstack.org/#/c/207682/6/searchlight/api/v1/search.py16:58
sjmc7yep16:58
rosmaitai have not been as immersed in searchlight lately as i should be16:59
sjmc7there's no time lik eht present to reform16:59
rosmaitaso this is more of a project philosophy type question16:59
sjmc7ah :)16:59
rosmaitai'm looking at the try at line 7016:59
sjmc7ok17:00
rosmaitaso if there's a document type in the result set that we don't have a plugin for, we bail17:00
sjmc7ah, yes. i questioned myself on this17:00
rosmaitaso that implies that we expect there to be plugins for all doc types?17:00
rosmaitai was wondering whether we should jsut remove the hit17:01
sjmc7yeah, i could see that. i'm not a huge fan of silent failures17:01
rosmaitai know, that's why it's kind of a philosophy question17:01
rosmaitawe could log it17:01
rosmaitabut if you're missing the nova plugin, you would get a lot of messages!17:02
sjmc7yeah. i was trying to think how the situation could come about17:02
rosmaitaright17:02
rosmaitayeah, if it would be mis-configuration or something, best thing to do would be to break completely as you do, the operator would definitely notice17:03
sjmc7right.. in theory we restrict queries to plugins that are registered17:03
rosmaitai guess my question is that in general, we would expect all deployers of searchlight to have all plugins for all doctypes?17:04
sjmc7well, i'd expect you only to get search results for stuff you had17:05
rosmaitaright17:05
rosmaitaand this is all server-side17:05
sjmc7usually i like raising exceptions for stuff the user can correct17:05
sjmc7in this case i'm not sure that's true17:05
rosmaitawell, you log and raise a 500 ... gives a pretty good clue17:09
sjmc7:)17:10
sjmc7remove results is tricky17:10
sjmc7because things like paging get messed up17:10
sjmc7thinking about it more, i think an error is appropriate. this isn't something that should happen17:10
rosmaitai hadn't thought about that but that's a good point17:11
rosmaitayeah i agree with you17:11
sjmc7the only reason i explicitly caught it was because when it did happen (i had it misconfigured) i got a log entry that was 'glance' or something17:11
sjmc7because keyerrors are stupid17:11
rosmaitawell, that shows it can happen!17:12
sjmc7:)  only cause i'm flipping between patches17:12
sjmc7some of which have the nova plugin and some dont, some had different index names17:12
*** sigmavirus24 is now known as sigmavirus24_awa19:05
*** sigmavirus24_awa is now known as sigmavirus2419:59
*** sigmavirus24 is now known as sigmavirus24_awa21:59
*** sigmavirus24_awa is now known as sigmavirus2421:59
*** david-lyle has quit IRC23:24

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!