[PCBC-296] errors not propagated when not all nodes are accessable for views Created: 25/Sep/14  Updated: 25/Sep/14

Status: Open
Project: Couchbase PHP client library
Component/s: None
Affects Version/s: 1.2.2
Fix Version/s: None
Security Level: Public

Type: Bug Priority: Minor
Reporter: Matt Ingenthron Assignee: Brett Lawson
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
From IRC conversation, when one node wasn't available via port 8092, errors weren't propagated back through the view method.

From the convo:

Does someone what is wrong if the getView return NULL in staid of expecting array? Marcus_ @ 10:44
It is really weird, if i run $result = $this->couchbase->view($document, $view, $optionList, $returnErrors); It sometimes returns NULL, if i time the function call then it says about "Took: 0.00014" if i do it again (same request) it takes about 0.03 seconds and does return the expected data 10:45
So it response really fast "null". On the server logs i do not see any information about the view request. (or i am searching the wrong logs) 10:46
ingenthr
are you changing the underlying data between Marcus_? ingenthr @ 10:46
mwuk_ [~mwuk@90.195.128.76] entered the room. 10:46
ingenthr
though it takes some effort to dig in there, the logs may give some info on the execution ingenthr @ 10:47
mrevell left the room (quit: Remote host closed the connection). 10:47
macpaddy
Marcus_: I know you mentioned before you only see this behavior from the SDK and not in the ui? Is that correct macpaddy @ 10:48
? 10:48
JMauss [~jrm@206.169.106.2] entered the room. 10:48
Marcus_
Yes indeed Marcus_ @ 10:49
mwuk left the room (quit: Ping timeout: 260 seconds). 10:49
mwuk_ is now known as mwuk 10:49
You have disconnected 10:49
You have connected 10:51
The topic for #couchbase is: Try 3.0 beta! couchbase.com/beta. Current EE release is 2.5.1, CE is 2.2.0, see: couchbase.com/download. See also #libcouchbase client library discussions. Get the source for all releases here: https://github.com/couchbase/manifest. 10:51
Topic for #couchbase set by ingenthr!~ingenthr@cpe-104-34-202-224.socal.res.rr.com at 19:59:31 on 07/29/14 10:51
mode (+v ingenthr) by ChanServ 10:51
Marcus_
It indeed is php Marcus_ @ 10:52
macpaddy
If you got a simple script turn on LCB logging. macpaddy @ 10:52
LCB = libcouchbase 10:53
 Marcus_
macpaddy: You found the solution, the webserver can not access 1 of the servers 8092 port Marcus_ @ 10:53
Thanks a lot 10:54
:) 10:54
 macpaddy
excellent, should have nailed that one a little earlier. macpaddy @ 10:54
Marcus_
Yea i failed here Marcus_ @ 10:55
macpaddy
No, the SDK should have given a useful error message back. macpaddy @ 10:56
i.e cannot open a connection to node X 10:56
 Marcus_
Yea that would have been nice right :) the hard part was the NULL response i can not do a lot with Marcus_ @ 10:56
ingenthr
even the errors was null? ingenthr @ 10:57
the good news is the new 2.0 PHP SDK should have much better error handling for you 10:57
(unless this was 2.0?) 10:58
 Marcus_
There was not error, the response of the view was null Marcus_ @ 10:58
Also there was no exception or warning. 10:58
No this was php 1.x (newest) 10:58
:) 10:58





[PCBC-24] deploying to download locations directly from CI Created: 12/Jan/12  Updated: 24/Apr/14

Status: Open
Project: Couchbase PHP client library
Component/s: None
Affects Version/s: None
Fix Version/s: .future
Security Level: Public

Type: Task Priority: Minor
Reporter: Matt Ingenthron Assignee: Brett Lawson
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
The idea here is that non-releases should automatically upload deploy to one location, and releases should automatically deploy to a different location.




Generated at Tue Sep 30 23:58:13 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.