-
Notifications
You must be signed in to change notification settings - Fork 165
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
Remove ability to synchronize #7991
Conversation
src/realm.h
Outdated
@@ -854,21 +854,6 @@ RLM_API void realm_config_set_scheduler(realm_config_t*, const realm_scheduler_t | |||
*/ | |||
RLM_API void realm_config_set_sync_config(realm_config_t*, realm_sync_config_t*); |
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.
Should this (and a bunch of other methods in the C API) also be removed?
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.
Indeed
Package.swift
Outdated
@@ -15,7 +15,6 @@ var cxxSettings: [CXXSetting] = [ | |||
.define("REALM_INSTALL_LIBEXECDIR", to: ""), | |||
.define("REALM_ENABLE_ASSERTIONS", to: "1"), | |||
.define("REALM_ENABLE_ENCRYPTION", to: "1"), | |||
.define("REALM_ENABLE_SYNC", to: "1"), | |||
.define("REALM_ENABLE_GEOSPATIAL", to: "1"), | |||
.define("REALM_APP_SERVICES", to: "1"), |
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.
Should this be removed as well?
Could this update the |
@@ -93,9 +93,6 @@ typedef struct realm_results realm_results_t; | |||
|
|||
/* Config types */ | |||
typedef struct realm_config realm_config_t; | |||
typedef struct realm_app_config realm_app_config_t; |
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.
there is a reference to "audit" in this file that should be removed
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.
👍
CMakeLists.txt
Outdated
@@ -268,7 +267,6 @@ if(NOT EMSCRIPTEN) | |||
endif() | |||
option(REALM_ENABLE_MEMDEBUG "Add additional memory checks" OFF) | |||
option(REALM_VALGRIND "Tell the test suite we are running with valgrind" OFF) | |||
option(REALM_SYNC_MULTIPLEXING "Enables/disables sync session multiplexing by default" ON) | |||
set(REALM_MAX_BPNODE_SIZE "1000" CACHE STRING "Max B+ tree node size.") | |||
option(REALM_ENABLE_GEOSPATIAL "Enable geospatial types and queries." ON) | |||
option(REALM_APP_SERVICES "Enable the default app services implementation." ON) |
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.
This can be removed
// A factory function which produces an audit implementation. | ||
std::shared_ptr<AuditConfig> audit_config; |
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.
This can be removed
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.
We can remove the audit stuff in a subsequent round
test/object-store/CMakeLists.txt
Outdated
@@ -43,51 +43,6 @@ endif() | |||
|
|||
file(GLOB RESOURCES "*.realm" "../*.pem") |
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.
all the test/*.pem
files can be removed
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.
👍
test/object-store/CMakeLists.txt
Outdated
@@ -116,63 +71,6 @@ create_coverage_target(generate-coverage ObjectStoreTests) | |||
# add_bundled_test(ObjectStoreTests) | |||
add_labeled_test(ObjectStoreTests-local objstore-local ObjectStoreTests "~[baas]") |
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.
I think this is redundant now.
} | ||
} | ||
|
||
TEST_CASE("KeyPath generation - star notation") { |
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.
I think this test is still valid, it looks like it was accidentally included in the sync section.
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.
Good catch
|
||
# Run the setup_baas_host_local.sh script to configure and run baas on the remote host | ||
# Add -v to this command for verbose script logging | ||
./evergreen/setup_baas_host_local.sh -w ./baas-work-dir -u $BAAS_USER $OPT_BAAS_BRANCH $OPT_BAAS_PROXY \ |
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.
please remove the various baas helper scripts from this evergreen directory
What, How & Why?
☑️ ToDos
bindgen/spec.yml
, if public C++ API changed