Details
-
Story
-
Resolution: Fixed
-
Critical
-
None
-
None
-
Security Level: Public
-
None
Description
In order to simplify in-place upgrades and make it easier to distribute buckets across devices we need to re-organize the data directory
New structure:
1) Directory path: <Membase Data root>/data/<bucketname>_bucket/
2) Shard Filename: <bucketname>-<shardnumber>.mb
3) Move logs, tmp, mnesia under <Membase Data root> (already largely the case in Windows)
4) On Linux, remove the version number from /etc/opt/membase/<version> to /etc/opt/membase and version config files. If possible (ns_1) directory should also be removed
5) In-place upgrade needs to end up with files in correct new place and new name and deal with old configs that have the old data location in them
Membase Data root is:
Linux: /var/opt/membase
Windows: INSTALL_DIR
INSTALL_DIR might look something like PROGRAM_FILES\Membase\Server, but it's up to the user
PROGRAM_FILES is usually something like:
c:\Program Files
c:\Program Files (x86)
Additional Actions required:
1) Creation and documentation of modified in-place upgrade procedures.
2) Mixed clusters will be actively prevented