diff --git a/.github/workflows/pr-jobs.yml b/.github/workflows/pr-jobs.yml index 385bd2dde..f4f65e914 100644 --- a/.github/workflows/pr-jobs.yml +++ b/.github/workflows/pr-jobs.yml @@ -83,7 +83,7 @@ jobs: which java && java -version which javac && javac -version - name: Test RocksDBJava - run: scl enable devtoolset-7 'DISABLE_WARNING_AS_ERROR=1 make V=1 J=8 -j8 jtest' + run: scl enable devtoolset-7 'DISABLE_WARNING_AS_ERROR=1 DISABLE_PERF_CONTEXT=0 make V=1 J=8 -j8 jtest' # NOTE: post-steps skipped because of compatibility issues with docker image build-linux-java-static: runs-on: ubuntu-latest @@ -148,7 +148,7 @@ jobs: which java && java -version which javac && javac -version - name: Test RocksDBJava - run: DISABLE_WARNING_AS_ERROR=1 make V=1 J=16 -j16 jtest + run: DISABLE_WARNING_AS_ERROR=1 DISABLE_PERF_CONTEXT=0 make V=1 J=16 -j16 jtest - uses: "./.github/actions/post-steps" build-macos-java-static: runs-on: macos-13 diff --git a/build_tools/format-diff.sh b/build_tools/format-diff.sh index 62e8834f7..831714bbd 100755 --- a/build_tools/format-diff.sh +++ b/build_tools/format-diff.sh @@ -127,7 +127,7 @@ uncommitted_code=`git diff HEAD` if [ -z "$uncommitted_code" ] then # Attempt to get name of facebook/rocksdb.git remote. - [ "$FORMAT_REMOTE" ] || FORMAT_REMOTE="$(LC_ALL=POSIX LANG=POSIX git remote -v | grep 'facebook/rocksdb.git' | head -n 1 | cut -f 1)" + [ "$FORMAT_REMOTE" ] || FORMAT_REMOTE="$(LC_ALL=POSIX LANG=POSIX git remote -v | grep 'ververica/ForSt.git' | head -n 1 | cut -f 1)" # Fall back on 'origin' if that fails [ "$FORMAT_REMOTE" ] || FORMAT_REMOTE=origin # Use main branch from that remote diff --git a/java/forstjni/portal.h b/java/forstjni/portal.h index 0e67a7691..6d67595e5 100644 --- a/java/forstjni/portal.h +++ b/java/forstjni/portal.h @@ -7743,7 +7743,7 @@ class ExportImportFilesMetaDataJni : public JavaClass { } jmethodID mid = env->GetMethodID(jclazz, "", - "([B[Lorg/rocksdb/LiveFileMetaData;)V"); + "([B[Lorg/forstdb/LiveFileMetaData;)V"); if (mid == nullptr) { // exception thrown: NoSuchMethodException or OutOfMemoryError return nullptr; @@ -7795,7 +7795,7 @@ class ExportImportFilesMetaDataJni : public JavaClass { } static jclass getJClass(JNIEnv* env) { - return JavaClass::getJClass(env, "org/rocksdb/ExportImportFilesMetaData"); + return JavaClass::getJClass(env, "org/forstdb/ExportImportFilesMetaData"); } }; @@ -8651,7 +8651,7 @@ class FlushJobInfoJni : public JavaClass { static jmethodID getConstructorMethodId(JNIEnv* env, jclass clazz) { return env->GetMethodID(clazz, "", "(JLjava/lang/String;Ljava/lang/String;JIZZJJLorg/" - "rocksdb/TableProperties;B)V"); + "forstdb/TableProperties;B)V"); } }; diff --git a/tools/check_format_compatible.sh b/tools/check_format_compatible.sh index 93b51a9b9..a6687b859 100755 --- a/tools/check_format_compatible.sh +++ b/tools/check_format_compatible.sh @@ -39,9 +39,9 @@ tmp_origin=_tmp_origin set -e git remote remove $tmp_origin 2>/dev/null || true if [ "$USE_SSH" ]; then - git remote add $tmp_origin "git@github.com:facebook/rocksdb.git" + git remote add $tmp_origin "git@github.com:ververica/ForSt.git" else - git remote add $tmp_origin "https://github.com/facebook/rocksdb.git" + git remote add $tmp_origin "https://github.com/ververica/ForSt.git" fi git fetch $tmp_origin