While RocksDB is itself explicitly dual licensed under GPL-2.0-only OR Apache-2.0, it vendors parts of Percona database in utilities/transactions/lock/range/range_tree/lib.
The named directory contains three licenses being
- Apache-2.0
- GPL-2.0-only
- AGPL-3.0-only
There is no additional text covering the applicability of these licenses.
Assuming the worst case (that is, logical AND between all three licenses) would lead to license violation, as Apache-2.0 licensed sofrware can not depend on GPL (as explained here).
Is it possible to make some kind of clarification?
If not, is it possible to rewrite this code to avoid violations?