-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LockTree library, originally from PerconaFT #7753
LockTree library, originally from PerconaFT #7753
Conversation
What are the implications of introducing GPL2 and AGPL3 code into the RocksDB codebase? |
@adamretter It is also licenced under Apache Licence, see utilities/transactions/lock/range/range_tree/lib/COPYING.APACHEv2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cheng-Chang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@spetrunia Can we also include updates to |
21d3578
to
87c00f9
Compare
@spetrunia has updated the pull request. You must reimport the pull request before landing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cheng-Chang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@spetrunia compilation in internal repo fails with errors like
|
we need to include path like |
utilities/transactions/lock/range/range_tree/lib/locktree/treenode.h
Outdated
Show resolved
Hide resolved
utilities/transactions/lock/range/range_tree/lib/locktree/concurrent_tree.h
Outdated
Show resolved
Hide resolved
This is a bit odd - the library code has plenty of |
87c00f9
to
b8d17b9
Compare
@spetrunia has updated the pull request. You must reimport the pull request before landing. |
b8d17b9
to
74dd0de
Compare
@spetrunia has updated the pull request. You must reimport the pull request before landing. |
74dd0de
to
f1be51f
Compare
@spetrunia has updated the pull request. You must reimport the pull request before landing. |
f1be51f
to
92e4660
Compare
@spetrunia has updated the pull request. You must reimport the pull request before landing. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cheng-Chang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
renaming to |
internal build is still failing with stderr: In file included from internal_repo_rocksdb/repo/utilities/transactions/lock/range/range_tree/lib/locktree/wfg.cc:61:
In file included from internal_repo_rocksdb/repo/utilities/transactions/lock/range/range_tree/lib/locktree/txnid_set.h:55:
In file included from internal_repo_rocksdb/repo/utilities/transactions/lock/range/range_tree/lib/portability/txn_subst.h:8:
internal_repo_rocksdb/repo/utilities/transactions/lock/range/range_tree/lib/util/omt.h:793:10: fatal error: 'utilities/transactions/lock/range/range_tree/lib/util/omt.cc' file not found
#include "utilities/transactions/lock/range/range_tree/lib/util/omt.cc"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Cannot execute a rule out of process. On RE worker. Thread: Thread[main,5,main]
Command failed with exit code 1. |
92e4660
to
24b3d42
Compare
@spetrunia has updated the pull request. You must reimport the pull request before landing. |
Ok, moved. |
Hmm, also, CMakeLists.txt adds some of library's .h files into SOURCES. Let me fix that as well |
To be used for implementing Range Locking. src.mk, CMakeLists.txt and TARGETS are updated to compile the files from the library.
24b3d42
to
c6fd639
Compare
@spetrunia has updated the pull request. You must reimport the pull request before landing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cheng-Chang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@Cheng-Chang merged this pull request in 98236fb. |
GNU Affero General Public License for more details. | ||
|
||
You should have received a copy of the GNU Affero General Public License | ||
along with PerconaFT. If not, see <http://www.gnu.org/licenses/>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some files, e.g. this one, seems to miss Apache license in the header. @spetrunia can we add them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary: To be used for implementing Range Locking. Pull Request resolved: facebook#7753 Reviewed By: zhichao-cao Differential Revision: D25378980 Pulled By: cheng-chang fbshipit-source-id: 801a9c5cd92a84654ca2586b73e8f69001e89320
To be used for implementing Range Locking.