Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix and test for issue 38 (server does not respond to binary requests)stable-1.3 | Eric Lambert | 2009-05-02 | 4 | -103/+228 |
| | |||||
* | Assert we're not overrunning a buffer in prefix stat creation. | Dustin Sallings | 2009-04-02 | 1 | -2/+5 |
| | |||||
* | Don't expose the protocol used to the client api of the stats | Trond Norbye | 2009-04-02 | 7 | -492/+237 |
| | | | | | (dustin) I made some changes to the original growth code to pass in the required size. | ||||
* | 'stats reset' resets new main stats. | dormando | 2009-04-01 | 1 | -0/+1 |
| | |||||
* | Changelog updates for 1.3.3. | Dustin Sallings | 2009-03-31 | 1 | -0/+26 |
| | |||||
* | Use a bool for the accepting_conns stat. | Dustin Sallings | 2009-03-30 | 2 | -4/+4 |
| | |||||
* | two new troubleshooting stats | dormando | 2009-03-30 | 3 | -6/+23 |
| | | | | | | accepting_conns for completeness, and listen_disabled_num to see how many times you've hit maxconns and disabled incoming connections. probably a good stat to monitor and flip out on. | ||||
* | add a cmd_flush stat | dormando | 2009-03-30 | 4 | -4/+27 |
| | | | | | | | shouldn't add much lock contention for just this. I want to add this one stat (mayb a few more?) since it's happened more than once that folks think memcached is broken when a cron or something is calling 'flush_all' once a minute. | ||||
* | Define TAIL_REPAIR_TIME as a constant. | Dustin Sallings | 2009-03-29 | 2 | -1/+5 |
| | |||||
* | print why a key was not found when extra verbose | dormando | 2009-03-29 | 1 | -0/+26 |
| | | | | | simple logs for simple people. Patch inspired by a bug hunting session with evan weaver. It's been useful a few times since. | ||||
* | dumb hack to self-repair stuck slabs | dormando | 2009-03-29 | 2 | -1/+26 |
| | | | | | | | | | | since 1.2.6, most of the refcount leaks have been quashed. I still get them in production, extremely rarely. It's possibly we'll have refcount leaks on and off even in the future. This hack acknowledges this and exists since we want to guarantee, as much as possible, that memcached is a stable service. Having to monitor for and restart the service on account of "rare bugs" isn't acceptable. | ||||
* | fix a handful of socket listen bugs. | dormando | 2009-03-29 | 1 | -9/+4 |
| | | | | | | | | | AF_UNSPEC is still necessary for UDP sometimes. We guarantee that at least one address returned from getaddrinfo binds successfully, and in cases of lacking network or ipv6 addresses some of those socket() calls might fail. That's normal. We were bailing on them. This change also removes the need to pass AI_ADDRCONFIG on machines with ipv6 stacks disabled. | ||||
* | Added a HACKING file. | Dustin Sallings | 2009-03-27 | 1 | -0/+39 |
| | |||||
* | Use git's version number for releases. | Dustin Sallings | 2009-03-26 | 5 | -3/+16 |
| | | | | | | | | | | | | | | | | This will allow more specific version numbers, while simplifying a proper release down to a tag and make dist. During development, ./version.sh needs to run periodically to update the version number. I'd recommend just adding a call to version.sh as a git post commit hook: % cat .git/hooks/post-commit echo "Updating version." ./version.sh (and make sure the file is executable) | ||||
* | using enum for try_read_network/try_read_udp return value | Steve Yen | 2009-03-26 | 1 | -21/+26 |
| | |||||
* | transmit_result enum instead of macro defines | Steve Yen | 2009-03-25 | 1 | -6/+9 |
| | |||||
* | stats reset also clears cas_hits/badval/misses | Steve Yen | 2009-03-25 | 2 | -1/+23 |
| | |||||
* | minor typo in protocol.txt | Steve Yen | 2009-03-25 | 1 | -1/+1 |
| | |||||
* | Added append_stat function to contain the common stat append stuff. | Dustin Sallings | 2009-03-24 | 4 | -38/+60 |
| | |||||
* | Use stat macros for stats sizes. | Dustin Sallings | 2009-03-24 | 1 | -16/+17 |
| | |||||
* | Use stat macros for item stats. | Dustin Sallings | 2009-03-24 | 2 | -56/+36 |
| | |||||
* | Use stat macros for stats slabs. | Dustin Sallings | 2009-03-24 | 2 | -109/+37 |
| | |||||
* | Use stat macros for toplevel slab stats. | Dustin Sallings | 2009-03-24 | 1 | -26/+11 |
| | |||||
* | Use stat macros for server stats. | Dustin Sallings | 2009-03-24 | 1 | -161/+37 |
| | |||||
* | Added APPEND_STAT2 | Dustin Sallings | 2009-03-24 | 1 | -0/+8 |
| | |||||
* | Swap APPEND_STAT parameters so that it makes much more sense. | Dustin Sallings | 2009-03-24 | 2 | -19/+19 |
| | |||||
* | Make APPEND_STAT globally available. | Dustin Sallings | 2009-03-24 | 2 | -10/+11 |
| | |||||
* | "stats reset" should reset eviction counters as well | Trond Norbye | 2009-03-24 | 5 | -1/+49 |
| | | | | See: http://code.google.com/p/memcached/issues/detail?id=22 | ||||
* | Minor refactoring. | Dustin Sallings | 2009-03-23 | 1 | -9/+3 |
| | | | | | | | | Several places were passing in a temporary int to capture the value of an int to pass it into an output paramater and then return the return value of the original function call. I don't think the redundancy adds clarity. | ||||
* | stats slab's used_chunks should show chunks put to use | Dustin Sallings | 2009-03-23 | 2 | -1/+27 |
| | | | | | | | | It was a bit unclear what it was doing before, but it started out with a value equal to total_chunks, which was surely wrong. This change and its accompanying test ensure the value makes a bit more sense. | ||||
* | Do not install memcached-debug sizes internal_tests | Trond Norbye | 2009-03-23 | 1 | -1/+2 |
| | | | | see http://code.google.com/p/memcached/issues/detail?id=37 | ||||
* | Fix ascii UDP set (bug36). | Eric Lambert | 2009-03-21 | 2 | -9/+24 |
| | | | | http://code.google.com/p/memcached/issues/detail?id=36 | ||||
* | Add description of -D to usage() | Trond Norbye | 2009-03-19 | 1 | -0/+5 |
| | | | | See: http://code.google.com/p/memcached/issues/detail?id=33 | ||||
* | Fixed -C and -b: (with tests). | Dustin Sallings | 2009-03-19 | 2 | -3/+17 |
| | | | | | Using the settings stats, we can verify the startup effects -C and -b: bring and validate that they were both broken by a recent change. | ||||
* | Added stats settings. | Dustin Sallings | 2009-03-19 | 5 | -2/+153 |
| | | | | | | Stats settings gives a dump of the overall settings of the server. This is useful for verifying the effect of commandline parameters as well as helping others debug odd behaviors. | ||||
* | Use safe strto.*l functions for parsing info in text sets. | Dustin Sallings | 2009-03-19 | 2 | -12/+33 |
| | | | | Thanks to Toru for pointing this out. | ||||
* | Added safe_strtou?l functions. | Dustin Sallings | 2009-03-19 | 3 | -0/+98 |
| | | | | | Some of the tests for this were written but commented out because they fail on some platforms. | ||||
* | safe_strou?ll functions should operate on u?int64_t types. | Dustin Sallings | 2009-03-19 | 3 | -8/+6 |
| | | | | | long long and unsigned long long are interchangeable in most places, but apparently not my 64-bit ubuntu 8.10 box. | ||||
* | Handle 64-bit deltas in incr/decr. | Dustin Sallings | 2009-03-19 | 2 | -5/+9 |
| | |||||
* | Reformatted util.c | Dustin Sallings | 2009-03-19 | 1 | -28/+29 |
| | |||||
* | C-style multiline comment | Brad Fitzpatrick | 2009-03-19 | 1 | -2/+2 |
| | |||||
* | add comment | Brad Fitzpatrick | 2009-03-19 | 1 | -0/+3 |
| | |||||
* | update protocol docs | Brad Fitzpatrick | 2009-03-19 | 1 | -5/+6 |
| | |||||
* | flesh out safe_strto* util funcs, and make incrdecr use them | Brad Fitzpatrick | 2009-03-19 | 5 | -23/+91 |
| | |||||
* | start of the incr fix, rearranges a bunch, adds util, tests, etc | Brad Fitzpatrick | 2009-03-19 | 7 | -4/+78 |
| | |||||
* | Updated man page wording for -C. | Dustin Sallings | 2009-03-19 | 1 | -1/+1 |
| | |||||
* | Document command line options (-R and -C) | Trond Norbye | 2009-03-19 | 1 | -0/+10 |
| | | | | See http://code.google.com/p/memcached/issues/detail?id=28 | ||||
* | Added basic -M test. | Dustin Sallings | 2009-03-18 | 1 | -0/+34 |
| | |||||
* | Split the getopt string into multiple lines. | Clinton Webb | 2009-03-18 | 1 | -1/+26 |
| | | | | | | This makes it so that it is a little bit easier to see what parameter goes to what, and to make merges with different paramenters a bit easier to manage. | ||||
* | Try to recycle allocated memory from expired items before allocating more. | Trond Norbye | 2009-03-17 | 2 | -5/+63 |
| | | | | see http://code.google.com/p/memcached/issues/detail?id=14 |