[CCBC-388] Release Notes are missing defects. Created: 23/Apr/14  Updated: 23/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: docs
Affects Version/s: 2.3.0
Fix Version/s: None
Security Level: Public

Type: Task Priority: Critical
Reporter: Patrick Varley Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: releasenote
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
I believe these 3 defect have also been fixed in 2.3.0 can you please update the release notes

http://www.couchbase.com/issues/browse/CCBC-321
http://www.couchbase.com/issues/browse/CCBC-320
http://www.couchbase.com/issues/browse/CCBC-281

Might be good to run your eye down this list incase any other bugs were missed of the release notes.

http://www.couchbase.com/issues/issues/?jql=project%20%3D%20CCBC%20AND%20fixVersion%20%3D%20%222.3.0%22

Thanks,
Patrick




[CCBC-387] Publish docs for C SDK May 2014 release Created: 22/Apr/14  Updated: 22/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: docs
Affects Version/s: None
Fix Version/s: None
Security Level: Public

Type: Task Priority: Critical
Reporter: Amy Kurtzman Assignee: Amy Kurtzman
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: 2h
Time Spent: Not Specified
Original Estimate: 2h





[CCBC-386] Stabilize server module Created: 22/Apr/14  Updated: 22/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: None
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
This is a meta-bug covering various fixes for the server.c code. This code is very much in flux because of the various changes around the modules it interacts with. It is also arguably the most complex and difficult to test part of our code because it is here where all the moving parts come together.

This bug exists to address the issue that these issues will not be fixed with a single commit, and will likely need to evolve over several commits in order to stabilize.




[CCBC-385] It is needed to handle CMD_GET_REPLICA in failout_single_request function Created: 22/Apr/14  Updated: 22/Apr/14  Resolved: 22/Apr/14

Status: Resolved
Project: Couchbase C client library libcouchbase
Component/s: None
Affects Version/s: None
Fix Version/s: 2.3.1
Security Level: Public

Type: Bug Priority: Critical
Reporter: Haster Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
I tried to get data from replica. but some error was happend and because CMD_GET_REPLICA isn't handled in
failout_single_request function the lcb_assert("unexpected opcode while purging the server" && 0); was called
and my application was terminated.

I think it is needed to add CMD_GET_REPLICA handling like this:
static void failout_single_request(lcb_server_t *server,
                                   protocol_binary_request_header *req,
                                   struct lcb_command_data_st *ct,
                                   lcb_error_t error,
                                   const void *keyptr,
                                   lcb_size_t nkey,
                                   const void *packet)
...
    switch (req->request.opcode) {
    case PROTOCOL_BINARY_CMD_NOOP:
        break;
    case CMD_GET_LOCKED:
    case PROTOCOL_BINARY_CMD_GAT:
    case PROTOCOL_BINARY_CMD_GATQ:
    case PROTOCOL_BINARY_CMD_GET:
    case PROTOCOL_BINARY_CMD_GETQ:
    case CMD_GET_REPLICA: <- add this line!!!!
...


 Comments   
Comment by Mark Nunberg [ 22/Apr/14 ]
http://review.couchbase.org/#/c/36139/




[CCBC-384] It is needed to handle WSAETIMEDOUT in iocp_w32err_2errno Created: 22/Apr/14  Updated: 22/Apr/14

Status: In Progress
Project: Couchbase C client library libcouchbase
Component/s: None
Affects Version/s: 2.2.0, 2.3.0
Fix Version/s: 2.3.1, 2.4.0
Security Level: Public

Type: Bug Priority: Critical
Reporter: Haster Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
I have got WSAETIMEDOUT error when I libcouchbase with iocp plugin on Win32.

And because iocp_w32err_2errno doesn't handle WSAETIMEDOUT the default case was choosen and as
result my application was terminated by abort();

 Comments   
Comment by Haster [ 22/Apr/14 ]
I fixed it in my app by adding lines:

case WSAETIMEDOUT:
   return ETIMEDOUT;
Comment by Mark Nunberg [ 22/Apr/14 ]
http://review.couchbase.org/#/c/36140/

This will be fixed in 2.4.0 (not _next_ release, the one after that); for 2.3.1 it's sufficient to not abort.




[CCBC-383] Provide async API to determine bootstrap success or failure Created: 21/Apr/14  Updated: 21/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.0.0, 2.3.0
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
Currently no API exists to determine bootstrap success or failure. We may either extend the configuration callback for this purpose, or provide a new API upon which to provide notification.

 Comments   
Comment by Matt Ingenthron [ 21/Apr/14 ]
Should it perhaps be callbacks on state changes? Just a thought-- you probably have a good idea of what you want here.
Comment by Mark Nunberg [ 21/Apr/14 ]
We already have callbacks for state changes. However if the bootstrap fails the library has no way to know about this (there are several "heuristics" to apply, but no definitive API saying "I couldn't bootstrap").




[CCBC-382] Retry throttle queue Created: 21/Apr/14  Updated: 21/Apr/14

Status: In Progress
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.0.0, 2.3.0
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
This feature allows retries to be performed in a throttled fashion rather than immediately routing the failed item to a new node. This decreases network load and makes the retry handling nicer from a code level as well.




Handle API/ABI modifications from 2.x => 3.0/2.4 (CCBC-377)

[CCBC-381] Deprecate all the simple lcb_set_FOO/lcb_get_FOO in favor of lcb_cntl Created: 21/Apr/14  Updated: 21/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: None
Fix Version/s: 2.4.0
Security Level: Public

Type: Technical task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
These functions cause a lot of line noise.




[CCBC-380] It is impossible to pass additional params to CFLAGS and LDFLAGS during CMAKE build Created: 21/Apr/14  Updated: 21/Apr/14

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

Type: Bug Priority: Minor
Reporter: Haster Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
Now it is impossible to pass some additional parameters to CFLAGS and LDFLAGS when you use cmake for building libcouchbase.
As a result I can't pass D_REENTRANT parameter, so the building is not reentrant.
When I use autotools, the D_REENTARNT flag is already added to CFLAGS




[CCBC-379] lcb_cntl API to change LCB_DEFAULT_NODECONFIG_TIMEOUT Created: 21/Apr/14  Updated: 22/Apr/14  Resolved: 22/Apr/14

Status: Closed
Project: Couchbase C client library libcouchbase
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: Public

Type: Task Priority: Major
Reporter: Sergey Avseyev Assignee: Mark Nunberg
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by Mark Nunberg [ 21/Apr/14 ]
https://github.com/couchbase/libcouchbase/blob/master/include/libcouchbase/cntl.h#L380-395
Comment by Sergey Avseyev [ 21/Apr/14 ]
Thank you
Comment by Mark Nunberg [ 22/Apr/14 ]
Not a duplicate per-se, but this already exists and is implemented.




Handle API/ABI modifications from 2.x => 3.0/2.4 (CCBC-377)

[CCBC-378] lcb_socket_t is DWORD on Win32, not int Created: 20/Apr/14  Updated: 21/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: None
Affects Version/s: 2.4.0
Fix Version/s: 2.4.0
Security Level: Public

Type: Technical task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified





[CCBC-377] Handle API/ABI modifications from 2.x => 3.0/2.4 Created: 20/Apr/14  Updated: 20/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: None
Affects Version/s: 2.4.0
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Blocker
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Sub-Tasks:
Key
Summary
Type
Status
Assignee
CCBC-111 Make iops functions 'private', and di... Technical task Open Mark Nunberg  
CCBC-365 Restore syncmode functionality (if ne... Technical task Open Mark Nunberg  
CCBC-378 lcb_socket_t is DWORD on Win32, not int Technical task Open Mark Nunberg  
CCBC-381 Deprecate all the simple lcb_set_FOO/... Technical task Open Mark Nunberg  

 Description   
This is a parent task for handling/documenting API/ABI changes and removals between those versions.




[CCBC-376] Memory leak in cJSON/VBucket config parsing Created: 20/Apr/14  Updated: 20/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.3.0
Fix Version/s: 2.3.1, 2.4.0
Security Level: Public

Type: Bug Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified





[CCBC-375] Migrate to Doxygen Created: 17/Apr/14  Updated: 22/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: docs
Affects Version/s: None
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
blocks CCBC-369 lcb_create manpage does not mention v... Open




[CCBC-374] Implement SSL Transport For 3.0 Server Created: 17/Apr/14  Updated: 21/Apr/14  Resolved: 21/Apr/14

Status: Closed
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: None
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by Mark Nunberg [ 21/Apr/14 ]
CCBC-344




[CCBC-373] FORWARDPORT (2.4) - lcb_get_host/lcb_get_port may not return host:port for same host Created: 17/Apr/14  Updated: 17/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.3.0
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
These two API calls select a host at random if there is no current "Rest Host"

 Comments   
Comment by Mark Nunberg [ 17/Apr/14 ]
CCBC-370




[CCBC-372] FORWARDPORT (2.4) - Couchbase::Error::Invalid: failed to schedule document request (key="/pools/default/buckets/default/ddocs", error=0x07) after upgrade to 2.3 Created: 17/Apr/14  Updated: 17/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: None
Affects Version/s: 2.3.0
Fix Version/s: 2.4.0
Security Level: Public

Type: Task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
http://www.couchbase.com/communities/q-and-a/error-after-updating-libcouchbase-22-23

Assigning to sergey first to see if this is not a ruby issue. I've tried something similar on Python and have it working as expected.

 Comments   
Comment by Mark Nunberg [ 17/Apr/14 ]
CCBC-367




[CCBC-371] FORWARDPORT (2.4) - Incorrect error raised when using node_list: property Created: 17/Apr/14  Updated: 17/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.3.0, 2.4.0
Fix Version/s: 2.4.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
If you use the node_list property and try to connect to a cluster for a bucket that doesn't exist, you get:
Couchbase::Error::Timeout instead of Couchbase::Error::BucketNotFound

This can mess up scripts that rescue the BucketNotFound and create the bucket if it's not there. Timeout implies other problems (connectivity problems) which isn't the case.

gems/ruby-2.1.0/gems/couchbase-1.3.6/lib/couchbase.rb:63:in `initialize': No more bootstrap providers remain (error=0x17) (Couchbase::Error::Timeout)


 Comments   
Comment by Mark Nunberg [ 17/Apr/14 ]
CCBC-368




[CCBC-370] lcb_get_host/lcb_get_port may not return host:port for same host Created: 17/Apr/14  Updated: 22/Apr/14  Resolved: 22/Apr/14

Status: Resolved
Project: Couchbase C client library libcouchbase
Component/s: library
Affects Version/s: 2.3.0
Fix Version/s: 2.3.1
Security Level: Public

Type: Task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
These two API calls select a host at random if there is no current "Rest Host"

 Comments   
Comment by Mark Nunberg [ 22/Apr/14 ]
http://review.couchbase.org/#/c/35980/




[CCBC-369] lcb_create manpage does not mention v2 layout of struct lcb_create_st Created: 17/Apr/14  Updated: 22/Apr/14

Status: Open
Project: Couchbase C client library libcouchbase
Component/s: docs
Affects Version/s: 2.4.0
Fix Version/s: None
Security Level: Public

Type: Bug Priority: Major
Reporter: Sergey Avseyev Assignee: Mark Nunberg
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
depends on CCBC-375 Migrate to Doxygen Open




[CCBC-367] Couchbase::Error::Invalid: failed to schedule document request (key="/pools/default/buckets/default/ddocs", error=0x07) after upgrade to 2.3 Created: 16/Apr/14  Updated: 22/Apr/14  Resolved: 22/Apr/14

Status: Resolved
Project: Couchbase C client library libcouchbase
Component/s: None
Affects Version/s: 2.3.0
Fix Version/s: 2.3.1
Security Level: Public

Type: Task Priority: Critical
Reporter: Mark Nunberg Assignee: Mark Nunberg
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
http://www.couchbase.com/communities/q-and-a/error-after-updating-libcouchbase-22-23

Assigning to sergey first to see if this is not a ruby issue. I've tried something similar on Python and have it working as expected.

 Comments   
Comment by Mark Nunberg [ 16/Apr/14 ]
This works similarly the same inside libcouchbase:

from couchbase.admin import Admin
Admin("Administrator", "123456").http_request("/pools/default/buckets/default/ddocs")


Sergey, are using the 'raw' request? Maybe that's the issue.
Comment by Sergey Avseyev [ 17/Apr/14 ]
This is libcouchbase bug.

https://github.com/couchbase/libcouchbase/blob/master/src/http.c#L475 lcb_confmon_get_rest_host(instance->confmon); returns NULL as host, therefore it will get invalid base ":" later in https://github.com/couchbase/libcouchbase/blob/master/src/http.c#L481
Comment by Sergey Avseyev [ 17/Apr/14 ]
and ruby uses management request to get list of design documents
Comment by Sergey Avseyev [ 22/Apr/14 ]
http://review.couchbase.org/35981




Generated at Wed Apr 23 08:58:08 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.