tag:blogger.com,1999:blog-7638694470910246382.post6638479026838764359..comments2024-01-04T11:42:08.211+01:00Comments on Trond Norbye's Weblog: libcouchbase overhauling..Anonymoushttp://www.blogger.com/profile/14981676567908297584noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-7638694470910246382.post-32453617209146152262012-11-12T02:49:24.906+01:002012-11-12T02:49:24.906+01:00This comment has been removed by the author.Mouhttps://www.blogger.com/profile/04559332322607481987noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-17845089121842013152012-11-07T10:04:55.121+01:002012-11-07T10:04:55.121+01:00Thanks a lot!Thanks a lot!Mouhttps://www.blogger.com/profile/04559332322607481987noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-79667402602011545182012-11-07T09:09:38.403+01:002012-11-07T09:09:38.403+01:00The last expiration time you set wins.The last expiration time you set wins.Anonymoushttps://www.blogger.com/profile/14981676567908297584noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-42109889972932684572012-11-07T05:05:23.432+01:002012-11-07T05:05:23.432+01:00What will happen to an existing key in cluster if ...What will happen to an existing key in cluster if I set the exptime to a zero and non-zero value. In fact, I wonder whether the exptime will be updated if the value of exptime is set to a non-zero, and whether it will keep the exptime if the value of exptime is set to zero.Mouhttps://www.blogger.com/profile/04559332322607481987noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-7500303485223641792012-11-02T07:42:33.250+01:002012-11-02T07:42:33.250+01:00You'll receive one callback per lcb_get_cmd_t ...You'll receive one callback per lcb_get_cmd_t you passed along.Anonymoushttps://www.blogger.com/profile/14981676567908297584noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-86546898669308234822012-11-02T02:13:11.269+01:002012-11-02T02:13:11.269+01:00If multiple lcb_get_cmd_t is passed to lcb_get, wi...If multiple lcb_get_cmd_t is passed to lcb_get, will the get_callback be called only once with all values, or it can be called multiple times, and each time have part of values?笨愚斋https://www.blogger.com/profile/08245128756578298284noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-66929041652507583422012-09-12T11:20:28.446+02:002012-09-12T11:20:28.446+02:00It is supposed to work already through the "c...It is supposed to work already through the "compatibility" layer. I haven't "overhauled" this interface (yet), so we might change this as well. Right now the following should work:<br /><br />struct lcb_memcached_st memcached;<br />lcb_t instance;<br /><br />memset(&memcached, 0, sizeof(memcached));<br />memcached.serverlist = "localhost:11211;localhost:11212";<br /><br />assert(lcb_create_compat(LCB_MEMCACHED_CLUSTER, &memcached, &instance, NULL) == LCB_SUCCESS);<br /><br />Anonymoushttps://www.blogger.com/profile/14981676567908297584noreply@blogger.comtag:blogger.com,1999:blog-7638694470910246382.post-47388293472666492972012-09-11T20:01:17.325+02:002012-09-11T20:01:17.325+02:00Any chance that libcouchbase works against a stock...Any chance that libcouchbase works against a stock memcached server (assuming I don't call things that memcached doesn't support like getl)? I'm coding in C++ on Windows and the libmemcached folks just don't seem to be interested in supporting a Windows version. My original plan was to use couchbase but Management shot that idea down. I know that you did a Windows port years ago but it is horribly out of date.Anonymoushttps://www.blogger.com/profile/12379125145445301303noreply@blogger.com