We are developing a profile. The workflow is, install, check things, drop tables, reinstalll. Howver, memcache doesn't flush but keep information about what's invalid in variables table which is just gone.

CommentFileSizeAuthor
install_memcached.txt1.63 KBchx

Comments

chx’s picture

Status: Active » Needs review

There's a patch. It's not the prettiest ever but memcache.inc already has no place in a beauty contest anyways.

chx’s picture

Status: Needs review » Needs work

I think documentation would be better than this....

jeremy’s picture

I'm not clear chx, what do you want added to the documentation?

chx’s picture

That you will have stale stuff after reinstall so change your prefix on reinstalls manually. Coding this is too bloody hard.

jeffsheltren’s picture

Component: Code » Documentation

If we're just going to document something, I think "restart memcached" would be better advice than "use a different prefix" in this case since restarting memcached will clear everything out. No reason not to mention both, but I'd prefer the full restart of memcached if it were me.

chx’s picture

Component: Documentation » Code
Status: Needs work » Needs review

ThInking on this more, where can this be a problem? Iimagine a developer server, bunch of developers working, I am not quit about restarting the memcached which might be used by a lot of people. On production you won't reinstall from scratch really.

japerry’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.