lp:memcached

Created by Brian Aker on 2010-07-15 and last modified on 2018-02-12
Get this branch:
bzr branch lp:memcached

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Brian Aker
Project:
Memcached Mirror
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://github.com/memcached/memcached.

The next import is scheduled to run in 1 hour.

Last successful import was 4 hours ago.

Import started 4 hours ago on russkaya and finished 4 hours ago taking 25 seconds — see the log
Import started 10 hours ago on pear and finished 10 hours ago taking 20 seconds — see the log
Import started 16 hours ago on pear and finished 16 hours ago taking 15 seconds — see the log
Import started 22 hours ago on pear and finished 22 hours ago taking 20 seconds — see the log
Import started on 2018-02-21 on pear and finished on 2018-02-21 taking 20 seconds — see the log
Import started on 2018-02-21 on pear and finished on 2018-02-21 taking 20 seconds — see the log
Import started on 2018-02-21 on pear and finished on 2018-02-21 taking 20 seconds — see the log
Import started on 2018-02-20 on pear and finished on 2018-02-20 taking 20 seconds — see the log
Import started on 2018-02-20 on pear and finished on 2018-02-20 taking 20 seconds — see the log
Import started on 2018-02-20 on pear and finished on 2018-02-20 taking 20 seconds — see the log

Recent revisions

1376. By dormando on 2018-02-12

remove redundant counter/lock from hash table

curr_items tracks how many items are linked in the hash table. internally to
the hash table, hash_items tracked how many items were in the hash table.

on every insert/delete, hash_items had to be locked and checked to see if th
table should be expanded. rip that all out, and call a check with the
once-per-second clock event to check for hash table expansion.

this actually ends up fixing an obscure bug: if you burst a bunch of sets
then stop, the hash table won't attempt to expand a second time until the
next insert. with this change, every second the hash table has a chance of
expanding again.

1375. By dormando on 2018-02-12

limit crawls for metadumper

LRU crawler metadumper is used for getting snapshot-y looks at the LRU's.
Since there's no default limit, it'll get any new items added or bumped since
the roll started.

with this change it limits the number of items dumped to the number that
existed in that LRU when the roll was kicked off. You still end up with an
approximation, but not a terrible one:

- items bumped after the crawler passes them likely won't be revisited
- items bumped before the crawler passes them will likely be visited toward
  the end, or mixed with new items.
- deletes are somewhere in the middle.

1374. By dormando on 2018-02-12

add evictions-happened test back to am script

not as easy to do the "global pool filled once" check, since the underlying
memcached can be restarted but the script will just reconnect. simplest thing
to do is to keep the evictions check, which stops the algorithm on a sudden
reset.

1373. By dormando on 2018-02-09

extstore: revise automove algorithm

allows reassigning memory from global page pool to a specific class.

this allows simplifying the algorithm to rely on moving memory to/from
global, removing hacks around relaxing free memory requirements.

1372. By dormando on 2018-01-24

quick fix for slab mover deadlock

this fix may be replaced with a better restructuring; as this was done more
properly in the result handler code below. Not releasing the slab lock while
unlinking can cause a deadlock:

item A unlinks, which locks LRU, then tries to lock SLAB
page mover locks SLAB, locks item B, tries to unlink item B
if done after A locks LRU, it deadlocks while B tries to lock LRU.

doh :/

1371. By dormando on 2018-01-24

extstore: fix segfault in 'extstore' adm command

would segfault if you gave it only 2 arguments :|

1370. By dormando on 2017-12-21

build fixes

1369. By dormando on 2017-12-21

extstore: doc fixes

needs more writing. will happen over time. at least --help has the right
number of newlines...

1368. By dormando on 2017-12-21

extstore: handle errors in binprot path

I purposefully broke _get_extstore and it turned it into a miss as expected.
tests pass with/without extstore.

1367. By dormando on 2017-12-19

extstore: fix bad default for free_memchunks

was initializing to 1... but we want it to be zero until the thing has a
chance to fill and flip on the balancer algo.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers