Bug 210569 - [PATCH] databases/rocksdb: Add compatibility for building mongodb-rocks
Summary: [PATCH] databases/rocksdb: Add compatibility for building mongodb-rocks
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords: easy, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2016-06-25 11:59 UTC by Šimun Mikecin
Modified: 2017-03-30 23:16 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
svn diff (1.18 KB, patch)
2016-06-25 11:59 UTC, Šimun Mikecin
no flags Details | Diff
svn diff patch for version 4.6.1 (1.18 KB, patch)
2016-07-19 09:07 UTC, Šimun Mikecin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Šimun Mikecin 2016-06-25 11:59:10 UTC
Created attachment 171785 [details]
svn diff

Added lib/librocksdb.so.4.5 that is required when rocksdb is used as a storage engine for MongoDB database.
Added missing dependency: archivers/liblz4.
Comment 1 Šimun Mikecin 2016-06-25 12:11:20 UTC
This update is required for:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210570
Comment 2 Šimun Mikecin 2016-07-19 09:07:13 UTC
Created attachment 172703 [details]
svn diff patch for version 4.6.1
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-11-19 11:12:58 UTC
lz4 is an optional dependency.
Comment 4 Šimun Mikecin 2016-11-19 12:04:53 UTC
lz4 is needed to support lz4 compression scheme in MongoDB.

It enables running mongod with option:
--rocksdbCompression=lz4

I think it is better do add it as a requirement than an option since lz4 is lightweight to build, so almost zero overhead.
Comment 5 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-11-23 16:01:16 UTC
LZ4 option is now enabled by default.