Is a prefix needed for multsites? Also, how would that affect updating sites, for modules, and for core updates? Thank you!

Comments

pounard’s picture

Yes, prefixing is needed for some backends in case of multisite.

Using the database backend, prefixing will be done by the db_* function themselves.

If you are using other backends, so they should be configurable using their own formalism. Memcache bins can be prefixed, see the http://drupal.org/project/memcache documentation.

For modules and core update, shouldn't change anything. Drupal 6 API is stable as long as the cache backport keeps the same API updates will be graceful. Just update this module like any other module.

Backends can be updated themselves downloading more recent packages, therefore new code update could attempt to use Drupal 7 only functions, which means that if you don't stick to tested versions, you could experience some WSOD (commenting the cache.inc replacement line in the settings.php file would be enough to revert to Drupal 6 cache backend and leave you then some time to revert modules versions that cause the errors).

If you do so, please report bugs :)

threading_signals’s picture

The domain module requests that prefixing is handled by itself, so I couldn't figure out how to prefix for d7 api syntax compatibility. How to do so now, like when using cacherouter? Thank you!

threading_signals’s picture

Erased. Double posted by android browser.

pounard’s picture

Hum what do they mean by "handled by itself" ? There is a point where you have to configure it somewhere (for memcache for example) at least in the settings.php file.

threading_signals’s picture

Version: 7.x-1.0-alpha1 » 6.x-1.0-alpha3
Status: Active » Closed (duplicate)

Posting my thoughts on this here: http://drupal.org/node/1052788