summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix and test for issue 38 (server does not respond to binary requests)stable-1.3Eric Lambert2009-05-024-103/+228
|
* Assert we're not overrunning a buffer in prefix stat creation.Dustin Sallings2009-04-021-2/+5
|
* Don't expose the protocol used to the client api of the statsTrond Norbye2009-04-027-492/+237
| | | | | (dustin) I made some changes to the original growth code to pass in the required size.
* 'stats reset' resets new main stats.dormando2009-04-011-0/+1
|
* Changelog updates for 1.3.3.Dustin Sallings2009-03-311-0/+26
|
* Use a bool for the accepting_conns stat.Dustin Sallings2009-03-302-4/+4
|
* two new troubleshooting statsdormando2009-03-303-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 statdormando2009-03-304-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 Sallings2009-03-292-1/+5
|
* print why a key was not found when extra verbosedormando2009-03-291-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 slabsdormando2009-03-292-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.dormando2009-03-291-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 Sallings2009-03-271-0/+39
|
* Use git's version number for releases.Dustin Sallings2009-03-265-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 valueSteve Yen2009-03-261-21/+26
|
* transmit_result enum instead of macro definesSteve Yen2009-03-251-6/+9
|
* stats reset also clears cas_hits/badval/missesSteve Yen2009-03-252-1/+23
|
* minor typo in protocol.txtSteve Yen2009-03-251-1/+1
|
* Added append_stat function to contain the common stat append stuff.Dustin Sallings2009-03-244-38/+60
|
* Use stat macros for stats sizes.Dustin Sallings2009-03-241-16/+17
|
* Use stat macros for item stats.Dustin Sallings2009-03-242-56/+36
|
* Use stat macros for stats slabs.Dustin Sallings2009-03-242-109/+37
|
* Use stat macros for toplevel slab stats.Dustin Sallings2009-03-241-26/+11
|
* Use stat macros for server stats.Dustin Sallings2009-03-241-161/+37
|
* Added APPEND_STAT2Dustin Sallings2009-03-241-0/+8
|
* Swap APPEND_STAT parameters so that it makes much more sense.Dustin Sallings2009-03-242-19/+19
|
* Make APPEND_STAT globally available.Dustin Sallings2009-03-242-10/+11
|
* "stats reset" should reset eviction counters as wellTrond Norbye2009-03-245-1/+49
| | | | See: http://code.google.com/p/memcached/issues/detail?id=22
* Minor refactoring.Dustin Sallings2009-03-231-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 useDustin Sallings2009-03-232-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_testsTrond Norbye2009-03-231-1/+2
| | | | see http://code.google.com/p/memcached/issues/detail?id=37
* Fix ascii UDP set (bug36).Eric Lambert2009-03-212-9/+24
| | | | http://code.google.com/p/memcached/issues/detail?id=36
* Add description of -D to usage()Trond Norbye2009-03-191-0/+5
| | | | See: http://code.google.com/p/memcached/issues/detail?id=33
* Fixed -C and -b: (with tests).Dustin Sallings2009-03-192-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 Sallings2009-03-195-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 Sallings2009-03-192-12/+33
| | | | Thanks to Toru for pointing this out.
* Added safe_strtou?l functions.Dustin Sallings2009-03-193-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 Sallings2009-03-193-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 Sallings2009-03-192-5/+9
|
* Reformatted util.cDustin Sallings2009-03-191-28/+29
|
* C-style multiline commentBrad Fitzpatrick2009-03-191-2/+2
|
* add commentBrad Fitzpatrick2009-03-191-0/+3
|
* update protocol docsBrad Fitzpatrick2009-03-191-5/+6
|
* flesh out safe_strto* util funcs, and make incrdecr use themBrad Fitzpatrick2009-03-195-23/+91
|
* start of the incr fix, rearranges a bunch, adds util, tests, etcBrad Fitzpatrick2009-03-197-4/+78
|
* Updated man page wording for -C.Dustin Sallings2009-03-191-1/+1
|
* Document command line options (-R and -C)Trond Norbye2009-03-191-0/+10
| | | | See http://code.google.com/p/memcached/issues/detail?id=28
* Added basic -M test.Dustin Sallings2009-03-181-0/+34
|
* Split the getopt string into multiple lines.Clinton Webb2009-03-181-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 Norbye2009-03-172-5/+63
| | | | see http://code.google.com/p/memcached/issues/detail?id=14