Skip to content
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

Assertion failed: !referenced thrown when triggering a Client Reset Event using a FLX app. #6070

Closed
edualonso opened this issue Nov 29, 2022 · 16 comments · Fixed by #6170
Closed
Assignees

Comments

@edualonso
Copy link
Contributor

In one of our tests we are checking the callbacks set via realm_sync_config_set_before_client_reset_handler and realm_sync_config_set_after_client_reset_handler are being called after triggering a client reset event. The test passes when we run it using a PBS app but fails when using a FLX app.

  Connection[4]: Session[4]: Recreated the active subscription set in the complete state (2 -> 2)
  /Users/elg/git/realm-kotlin/packages/external/core/src/realm/group_writer.cpp:533: [realm-core-13.0.0] Assertion failed: !referenced <backtrace not supported on this platform>!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose
  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 30519 (Thread-12), pid 30470 (nc.testapp.test)
  Cmdline: io.realm.sync.testapp.test
  pid: 30470, tid: 30519, name: Thread-12  >>> io.realm.sync.testapp.test <<<
        #01 pc 0000000000da12ec  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (please_report_this_issue_in_github_realm_realm_core_v_13_0_0+4) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #02 pc 0000000000da1534  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::util::terminate_internal(std::__ndk1::basic_stringstream<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >&)+336) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #03 pc 0000000000da13bc  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::util::terminate(char const*, char const*, long, std::initializer_list<realm::util::Printable>&&)+204) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #04 pc 0000000000c59148  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::GroupWriter::backdate()::$_2::operator()(realm::GroupWriter::FreeSpaceEntry&) const+156) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #05 pc 0000000000c58d58  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::GroupWriter::backdate()+496) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #06 pc 0000000000c59708  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::GroupWriter::write_group()+1016) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #07 pc 0000000000c447f4  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::DB::low_level_commit(unsigned long, realm::Transaction&, bool)+616) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #08 pc 0000000000c443d0  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::DB::do_commit(realm::Transaction&, bool)+332) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #09 pc 0000000000d38940  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::Transaction::commit_and_continue_as_read(bool)+280) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #10 pc 000000000096ffcc  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::_impl::client_reset::perform_client_reset_diff(std::__ndk1::shared_ptr<realm::DB>, std::__ndk1::shared_ptr<realm::DB>, realm::sync::SaltedFileIdent, realm::util::Logger&, realm::ClientResyncMode, bool, bool*, realm::sync::SubscriptionStore*, realm::util::UniqueFunction<void (long)>)+1692) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #11 pc 0000000000977a30  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::_impl::ClientResetOperation::finalize(realm::sync::SaltedFileIdent, realm::sync::SubscriptionStore*, realm::util::UniqueFunction<void (long)>)+740) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #12 pc 00000000009d0560  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Session::receive_ident_message(realm::sync::SaltedFileIdent)::$_13::operator()() const+220) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #13 pc 00000000009cb384  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Session::receive_ident_message(realm::sync::SaltedFileIdent)+460) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #14 pc 00000000009cb144  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Connection::receive_ident_message(unsigned long, realm::sync::SaltedFileIdent)+172) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #15 pc 00000000009c8e8c  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (void realm::_impl::ClientProtocol::parse_message_received<realm::sync::ClientImpl::Connection>(realm::sync::ClientImpl::Connection&, std::__ndk1::basic_string_view<char, std::__ndk1::char_traits<char> >)+4160) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #16 pc 00000000009c4f88  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Connection::handle_message_received(char const*, unsigned long)+84) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #17 pc 00000000009c4e00  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Connection::websocket_binary_message_received(char const*, unsigned long)+148) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #18 pc 0000000000ad708c  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::util::websocket::(anonymous namespace)::EZSocketImpl::websocket_binary_message_received(char const*, unsigned long)+44) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #19 pc 0000000000ad24c0  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so ((anonymous namespace)::WebSocket::frame_reader_loop()+256) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #20 pc 0000000000ad3ea8  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so ((anonymous namespace)::WebSocket::frame_reader_loop()::'lambda'(std::__ndk1::error_code, unsigned long)::operator()(std::__ndk1::error_code, unsigned long) const+176) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #21 pc 0000000000ad3dcc  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (void realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>::call_regular_void<(anonymous namespace)::WebSocket::frame_reader_loop()::'lambda'(std::__ndk1::error_code, unsigned long)>(std::__ndk1::integral_constant<bool, true>, (anonymous namespace)::WebSocket::frame_reader_loop()::'lambda'(std::__ndk1::error_code, unsigned long)&, std::__ndk1::error_code&&, unsigned long&&)+92) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #22 pc 0000000000ad3d60  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>::SpecificImpl<(anonymous namespace)::WebSocket::frame_reader_loop()::'lambda'(std::__ndk1::error_code, unsigned long)>::call(std::__ndk1::error_code&&, unsigned long&&)+68) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #23 pc 0000000000ae24fc  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>::operator()(std::__ndk1::error_code, unsigned long) const+160) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #24 pc 0000000000ae2430  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (void realm::util::network::Service::AsyncOper::do_recycle_and_execute_helper<realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>, std::__ndk1::error_code, unsigned long>(bool, bool&, realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>, std::__ndk1::error_code, unsigned long)+128) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #25 pc 0000000000ae2300  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (void realm::util::network::Service::AsyncOper::do_recycle_and_execute<realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>, std::__ndk1::error_code&, unsigned long&>(bool, realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>&, std::__ndk1::error_code&, unsigned long&)+156) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #26 pc 0000000000ae3e78  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::util::network::Service::BasicStreamOps<realm::util::network::Socket>::BufferedReadOper<realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)> >::recycle_and_execute()+628) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #27 pc 0000000000ac276c  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::util::network::Service::Impl::execute(std::__ndk1::unique_ptr<realm::util::network::Service::AsyncOper, realm::util::network::Service::LendersOperDeleter>&)+28) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #28 pc 0000000000abeff4  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::util::network::Service::Impl::run()+304) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #29 pc 0000000000abee90  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::util::network::Service::run()+20) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #30 pc 00000000009a3f24  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::sync::ClientImpl::run()+60) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #31 pc 00000000009abc1c  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::sync::Client::run()+20) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #32 pc 000000000081f590  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()::operator()() const+272) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #33 pc 000000000081f438  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (decltype(std::__ndk1::forward<realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()>(fp)()) std::__ndk1::__invoke<realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()>(realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()&&)+20) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #34 pc 000000000081f3a4  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (void std::__ndk1::__thread_execute<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()>(std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()>&, std::__ndk1::__tuple_indices<>)+28) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
        #35 pc 000000000081eda8  /data/app/~~CEd3v7HpQyLxXDO2-Q4ujg==/io.realm.sync.testapp.test-Y_9XFEpe17V0sjq8yu6Dbg==/lib/arm64/librealmc.so (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()> >(void*)+128) (BuildId: 3ecfe4451a4cf0fd5e26298a50fd61071cf2efa9)
  Process io.realm.sync.testapp.test (pid 30470) has died: fg  FGS
@nicola-cab
Copy link
Member

I think, this has been the normal behaviour for a while now. I think client reset was/is just not supported for FLX sync. Is this still the case @jbreams and @ironage? In core, we are only running client rest tests for PBS and not FLX.

@jbreams
Copy link
Contributor

jbreams commented Nov 29, 2022

This is not the case. Client resets should be supported in FLX in all modes. I think looking at the crash, we're crashing inside of the low level commit during backdating - I don't think this is sync-related:

        #04 pc 0000000000c59148  ... (realm::GroupWriter::backdate()::$_2::operator()(realm::GroupWriter::FreeSpaceEntry&) const+156
        #05 pc 0000000000c58d58  ... (realm::GroupWriter::backdate()+496)
        #06 pc 0000000000c59708  ... (realm::GroupWriter::write_group()+1016)
        #07 pc 0000000000c447f4  ... (realm::DB::low_level_commit(unsigned long, realm::Transaction&, bool)+616)
        #08 pc 0000000000c443d0  ... (realm::DB::do_commit(realm::Transaction&, bool)+332)
        #09 pc 0000000000d38940  ... (realm::Transaction::commit_and_continue_as_read(bool)+280)

@nicola-cab
Copy link
Member

OK, it seems related to the logic for reclaiming intermediate versions... more work for @finnschiermer :-)

@edualonso
Copy link
Contributor Author

I forgot to mention it, just in case it is useful, we are using RLM_SYNC_SESSION_RESYNC_MODE_RECOVER_OR_DISCARD.

@finnschiermer
Copy link
Contributor

This is an internal consistency check which fails during commit. Does the test involve a rollback (shortly) before the commit in question?

@finnschiermer
Copy link
Contributor

The consistency check fails because the new version being committed has the same number as the last one. This can never work. The call to prepare_commit() on line 2120 in db.cpp returns the illegal version number. This is likely a problem in the sync client. I think the call ends up reaching ct_history_size() in a situation where m_arrays is zero, so using 0 to increment the version counter ... resulting in using the existing version again.

Reassigning to @jbreams

@sync-by-unito
Copy link

sync-by-unito bot commented Dec 2, 2022

➤ Jonathan Reams commented:

[~finn.schiermer-andersen@mongodb.com], do you have a reproduction for this?

@edualonso
Copy link
Contributor Author

@jbreams I do. It happens consistently and only on Android.

@edualonso
Copy link
Contributor Author

edualonso commented Dec 2, 2022

Adding sync trace:

2022-12-02 15:20:14.544 15113-15134 System.out              io.realm.sync.testapp.test           I  -----------------> CLIENT-RESET-FLX_2078 START
2022-12-02 15:20:14.687 15113-15141 TrafficStats            io.realm.sync.testapp.test           D  tagSocket(73) with statsTag=0xffffffff, statsUid=-1
2022-12-02 15:20:14.744 15113-15136 System.err              io.realm.sync.testapp.test           W  SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2022-12-02 15:20:14.744 15113-15136 System.err              io.realm.sync.testapp.test           W  SLF4J: Defaulting to no-operation (NOP) logger implementation
2022-12-02 15:20:14.744 15113-15136 System.err              io.realm.sync.testapp.test           W  SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2022-12-02 15:20:14.747 15113-15144 TrafficStats            io.realm.sync.testapp.test           D  tagSocket(73) with statsTag=0xffffffff, statsUid=-1
2022-12-02 15:20:17.113 15113-15136 System.out              io.realm.sync.testapp.test           I  -----------------> addition of email provider started
2022-12-02 15:20:17.986 15113-15136 System.out              io.realm.sync.testapp.test           I  -----------------> addition of email provider completed
2022-12-02 15:20:17.986 15113-15136 System.out              io.realm.sync.testapp.test           I  -----------------> app creation started
2022-12-02 15:20:21.133 15113-15136 System.out              io.realm.sync.testapp.test           I  -----------------> app creation done
2022-12-02 15:20:21.236 15113-15134 System.out              io.realm.sync.testapp.test           I  -----------------> user creation started
2022-12-02 15:20:21.238 15113-15134 SYNC                    io.realm.sync.testapp.test           D  App: register_email: 80q70er7gu7q6zph4onc@10gen.com
2022-12-02 15:20:21.242 15113-15136 REALM                   io.realm.sync.testapp.test           D  REQUEST: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_2078-fsovj/location
                                                                                                    METHOD: HttpMethod(value=GET)
                                                                                                    BODY Content-Type: null
                                                                                                    BODY START
                                                                                                    
                                                                                                    BODY END
2022-12-02 15:20:21.254 15113-15139 REALM                   io.realm.sync.testapp.test           D  RESPONSE: 200 OK
                                                                                                    METHOD: HttpMethod(value=GET)
                                                                                                    FROM: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_2078-fsovj/location
                                                                                                    BODY Content-Type: application/json
                                                                                                    BODY START
                                                                                                    {"deployment_model":"GLOBAL","location":"US-VA","hostname":"http://127.0.0.1:9090","ws_hostname":"ws://localhost:9090"}
                                                                                                    BODY END
2022-12-02 15:20:21.261 15113-15136 SYNC                    io.realm.sync.testapp.test           D  App: update_hostname: http://127.0.0.1:9090 | ws://localhost:9090
2022-12-02 15:20:21.263 15113-15136 REALM                   io.realm.sync.testapp.test           D  REQUEST: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_2078-fsovj/auth/providers/local-userpass/register
                                                                                                    METHOD: HttpMethod(value=POST)
                                                                                                    BODY Content-Type: application/json; charset=utf-8
                                                                                                    BODY START
                                                                                                    {"email":"80q70er7gu7q6zph4onc@10gen.com","password":"password1234"}
                                                                                                    BODY END
2022-12-02 15:20:21.285 15113-15150 REALM                   io.realm.sync.testapp.test           D  RESPONSE: 201 Created
                                                                                                    METHOD: HttpMethod(value=POST)
                                                                                                    FROM: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_2078-fsovj/auth/providers/local-userpass/register
                                                                                                    BODY Content-Type: application/json
                                                                                                    BODY START
                                                                                                    {}
                                                                                                    BODY END
2022-12-02 15:20:21.287 15113-15134 SYNC                    io.realm.sync.testapp.test           D  App: log_in_with_credentials: app_id: client-reset-flx_2078-fsovj - app_version: APP_VERSION
2022-12-02 15:20:21.287 15113-15134 SYNC                    io.realm.sync.testapp.test           D  App: version info: platform: Android/JVM  version: Android/JVM - sdk version: 1.6.0-SNAPSHOT - core version: 13.0.0
2022-12-02 15:20:21.288 15113-15136 REALM                   io.realm.sync.testapp.test           D  REQUEST: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_2078-fsovj/auth/providers/local-userpass/login
                                                                                                    METHOD: HttpMethod(value=POST)
                                                                                                    BODY Content-Type: application/json; charset=utf-8
                                                                                                    BODY START
                                                                                                    {"provider":"local-userpass","username":"80q70er7gu7q6zph4onc@10gen.com","password":"password1234","options":{"device":{"appVersion":"APP_VERSION","appId":"client-reset-flx_2078-fsovj","platform":"Android/JVM","platformVersion":"13","sdkVersion":"1.6.0-SNAPSHOT","coreVersion":"13.0.0"}}}
                                                                                                    BODY END
2022-12-02 15:20:21.355 15113-15145 REALM                   io.realm.sync.testapp.test           D  RESPONSE: 200 OK
                                                                                                    METHOD: HttpMethod(value=POST)
                                                                                                    FROM: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_2078-fsovj/auth/providers/local-userpass/login
                                                                                                    BODY Content-Type: application/json
                                                                                                    BODY START
                                                                                                    {"access_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWViMCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTA5YTAwOTY0MGY5MTI1NmY5ZWFmIiwiZXhwIjoxNjY5OTkyNjIzLCJpYXQiOjE2Njk5OTA4MjMsImlzcyI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNiIsInN0aXRjaF9kZXZJZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWVhZiIsInN1YiI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzMyIsInR5cCI6ImFjY2VzcyJ9.Sf2M6fNYgaU9sqDgEo6hjvB9tVEvXz7SgMilfvvRDmuwXEmWQZLJXTsKjthcOM-HuV2nLjWjOmpd6hizxTJY-_1x5tlRxXijgSoOTb_c3pxjvEyDs_CiabLV8OpzasD-dzd7EPZkXG28zfVJzCtLFn4Qvhwr_IsWCMqWwrKHebXLLoNVEkC2QxT7HYUvpiKHNhqRi6lUiuoYCMWm2Z7v6gw2pUl2JFnffeoriV1ojAhAMq2C-yV6f3u0IIVaOG0W1YgSzVuPpRS8srgnhd_G_Q7T7Li6nKfOfv7yrtUtk6vSuWGlM3ww383GHunr76kHsAV899TdUT63zXCRdYeSPQ","refresh_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWViMCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RhdGEiOm51bGwsImJhYXNfZGV2aWNlX2lkIjoiNjM4YTA5YTcwOTY0MGY5MTI1NmY5ZjM1IiwiYmFhc19kb21haW5faWQiOiI2MzhhMDlhMDA5NjQwZjkxMjU2ZjllYWYiLCJiYWFzX2lkIjoiNjM4YTA5YTcwOTY0MGY5MTI1NmY5ZjM2IiwiYmFhc19pZGVudGl0eSI6eyJpZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzMCIsInByb3ZpZGVyX3R5cGUiOiJsb2NhbC11c2VycGFzcyIsInByb3ZpZGVyX2lkIjoiNjM4YTA5YTMwOTY0MGY5MTI1NmY5ZWU4In0sImV4cCI6MTY3NTE3NDgyMywiaWF0IjoxNjY5OTkwODIzLCJzdGl0Y2hfZGF0YSI6bnVsbCwic3RpdGNoX2RldklkIjoiNjM4YTA5YTcwOTY0MGY5MTI1NmY5ZjM1Iiwic3RpdGNoX2RvbWFpbklkIjoiNjM4YTA5YTAwOTY0MGY5MTI1NmY5ZWFmIiwic3RpdGNoX2lkIjoiNjM4YTA5YTcwOTY0MGY5MTI1NmY5ZjM2Iiwic3RpdGNoX2lkZW50Ijp7ImlkIjoiNjM4YTA5YTcwOTY0MGY5MTI1NmY5ZjMwIiwicHJvdmlkZXJfdHlwZSI6ImxvY2FsLXVzZXJwYXNzIiwicHJvdmlkZXJfaWQiOiI2MzhhMDlhMzA5NjQwZjkxMjU2ZjllZTgifSwic3ViIjoiNjM4YTA5YTcwOTY0MGY5MTI1NmY5ZjMzIiwidHlwIjoicmVmcmVzaCJ9.rDNWuoGxcbsSfDvPnDI4MR7Vrb9hUQaV1om7JFy6Vknqb5Pa7fNzpcl3sKaP6owo2AiIGqGLsTW0wbzaWqPrcVevMG9DEODyDxeqL_tIx1_k-UC_BB6bW1ebJdv-tne1_ekPcb4QUrccAzAWiZttTlUYEJwiqvozumIKZxnN2zpsB1W5zzul9g5lLq_XUQB-TB5yuifU5lMYRegU9vdePnlofcZc6qTxE_YAHshIWz6bdPrR5d3HWdlFwcfVTuH-RPnrVQ9iboa_6Fm2DuK03rRY3aWRs8tIphMq-piqgIJvMSvhToSG7axRQE6BIC_xckhig2RCkEELKTwrPDoHkQ","user_id":"638a09a709640f91256f9f33","device_id":"638a09a709640f91256f9f35"}
                                                                                                    BODY END
2022-12-02 15:20:21.363 15113-15136 SYNC                    io.realm.sync.testapp.test           D  App: do_authenticated_request: GET http://127.0.0.1:9090/api/client/v2.0/auth/profile
2022-12-02 15:20:21.364 15113-15136 REALM                   io.realm.sync.testapp.test           D  REQUEST: http://127.0.0.1:9090/api/client/v2.0/auth/profile
                                                                                                    METHOD: HttpMethod(value=GET)
                                                                                                    BODY Content-Type: null
                                                                                                    BODY START
                                                                                                    
                                                                                                    BODY END
2022-12-02 15:20:21.374 15113-15149 REALM                   io.realm.sync.testapp.test           D  RESPONSE: 200 OK
                                                                                                    METHOD: HttpMethod(value=GET)
                                                                                                    FROM: http://127.0.0.1:9090/api/client/v2.0/auth/profile
                                                                                                    BODY Content-Type: application/json
                                                                                                    BODY START
                                                                                                    {"user_id":"638a09a709640f91256f9f33","domain_id":"638a09a009640f91256f9eaf","identities":[{"id":"638a09a709640f91256f9f30","provider_type":"local-userpass","provider_id":"638a09a309640f91256f9ee8"}],"data":{"email":"80q70er7gu7q6zph4onc@10gen.com"},"type":"normal"}
                                                                                                    BODY END
2022-12-02 15:20:21.384 15113-15134 System.out              io.realm.sync.testapp.test           I  -----------------> user creation done
2022-12-02 15:20:21.418 15113-15134 REALM                   io.realm.sync.testapp.test           D  Realm opened: /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Realm sync client ([realm-core-13.0.0])
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Supported protocol versions: 2-7
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Platform: Android Linux 5.15.41-android13-8-00205-gf1bf82c3dacd-ab8747247 #1 SMP PREEMPT Sun Jun 19 02:44:07 UTC 2022 aarch64
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Build mode: Debug
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Config param: one_connection_per_session = true
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Config param: connect_timeout = 120000 ms
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Config param: connection_linger_time = 30000 ms
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Config param: ping_keepalive_period = 60000 ms
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Config param: pong_keepalive_timeout = 120000 ms
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Config param: fast_reconnect_limit = 60000 ms
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Config param: disable_upload_compaction = false
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  Config param: disable_sync_to_disk = false
2022-12-02 15:20:21.424 15113-15134 SYNC                    io.realm.sync.testapp.test           D  User agent string: 'RealmSync/13.0.0 (Android Linux 5.15.41-android13-8-00205-gf1bf82c3dacd-ab8747247 #1 SMP PREEMPT Sun Jun 19 02:44:07 UTC 2022 aarch64)  '
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Binding '/data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm' to ''
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Activating
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: client_reset_config = false, Realm exists = true, client reset = false
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: client_file_ident = 0, client_file_ident_salt = 0
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: last_version_available  = 6
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: progress_server_version = 0
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: progress_client_version = 0
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 189, reliable_download_progress = false, snapshot version = 6
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 189, reliable_download_progress = false, snapshot version = 6
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 189, reliable_download_progress = false, snapshot version = 6
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::Websocket()
2022-12-02 15:20:21.436 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Resolving 'localhost:9090'
2022-12-02 15:20:21.438 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connecting to endpoint '127.0.0.1:9090' (1/1)
2022-12-02 15:20:21.438 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connected to endpoint '127.0.0.1:9090' (from '127.0.0.1:45570')
2022-12-02 15:20:21.438 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::initiate_client_handshake()
2022-12-02 15:20:21.440 15113-15161 SYNC                    io.realm.sync.testapp.test           V  HTTP request =
                                                                                                    GET /api/client/v2.0/app/client-reset-flx_2078-fsovj/realm-sync?baas_at=eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWViMCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTA5YTAwOTY0MGY5MTI1NmY5ZWFmIiwiZXhwIjoxNjY5OTkyNjIzLCJpYXQiOjE2Njk5OTA4MjMsImlzcyI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNiIsInN0aXRjaF9kZXZJZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWVhZiIsInN1YiI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzMyIsInR5cCI6ImFjY2VzcyJ9.Sf2M6fNYgaU9sqDgEo6hjvB9tVEvXz7SgMilfvvRDmuwXEmWQZLJXTsKjthcOM-HuV2nLjWjOmpd6hizxTJY-_1x5tlRxXijgSoOTb_c3pxjvEyDs_CiabLV8OpzasD-dzd7EPZkXG28zfVJzCtLFn4Qvhwr_IsWCMqWwrKHebXLLoNVEkC2QxT7HYUvpiKHNhqRi6lUiuoYCMWm2Z7v6gw2pUl2JFnffeoriV1ojAhAMq2C-yV6f3u0IIVaOG0W1YgSzVuPpRS8srgnhd_G_Q7T7Li6nKfOfv7yrtUtk6vSuWGlM3ww383GHunr76kHsAV899TdUT63zXCRdYeSPQ HTTP/1.1
                                                                                                    Host: localhost:9090
                                                                                                    Connection: Upgrade
                                                                                                    Sec-WebSocket-Key: Vai02+SGZbPX6lLKS5QjXg==
                                                                                                    Sec-WebSocket-Protocol: com.mongodb.realm-query-sync/7, com.mongodb.realm-query-sync/6, com.mongodb.realm-query-sync/5, com.mongodb.realm-query-sync/4, com.mongodb.realm-query-sync/3, com.mongodb.realm-query-sync/2
                                                                                                    Sec-WebSocket-Version: 13
                                                                                                    Upgrade: websocket
                                                                                                    User-Agent: RealmSync/13.0.0 (Android Linux 5.15.41-android13-8-00205-gf1bf82c3dacd-ab8747247 #1 SMP PREEMPT Sun Jun 19 02:44:07 UTC 2022 aarch64)
2022-12-02 15:20:21.465 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::handle_http_response_received()
2022-12-02 15:20:21.465 15113-15161 SYNC                    io.realm.sync.testapp.test           V  HTTP response = HTTP/1.1 101 Switching Protocols
                                                                                                    Cache-Control: no-cache, no-store, must-revalidate
                                                                                                    Connection: Upgrade
                                                                                                    Sec-Websocket-Accept: R/CmScC/A4H1Kb+E19wyQ9PeNvY=
                                                                                                    Sec-Websocket-Protocol: com.mongodb.realm-query-sync/7
                                                                                                    Strict-Transport-Security: max-age=86400; includeSubdomains;
                                                                                                    Upgrade: websocket
                                                                                                    Vary: Origin
                                                                                                    X-Appservices-Request-Id: 638a09a709640f91256f9f39
                                                                                                    X-Frame-Options: DENY
2022-12-02 15:20:21.465 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Negotiated protocol version: 7
2022-12-02 15:20:21.465 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Will emit a ping in 43414 milliseconds
2022-12-02 15:20:21.490 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Received: IDENT(client_file_ident=18, client_file_ident_salt=5137902675123849229)
2022-12-02 15:20:21.492 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Sending: IDENT(client_file_ident=18, client_file_ident_salt=5137902675123849229, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0, query_version: 0 query_size: 2, query: "{}")
2022-12-02 15:20:21.492 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Sending: MARK(request_ident=1)
2022-12-02 15:20:21.509 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Download message compression: is_body_compressed = false, compressed_body_size=230, uncompressed_body_size=230
2022-12-02 15:20:21.509 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Received: DOWNLOAD CHANGESET(server_version=1, client_version=0, origin_timestamp=249920423361, origin_file_ident=1, original_changeset_size=203, changeset_size=203)
2022-12-02 15:20:21.509 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Changeset: 3F 00 0F 46 6C 65 78 43 68 69 6C 64 4F 62 6A 65 63 74 3F 01 03 5F 69 64 3F 02 12 46 6C 65 78 45 6D 62 65 64 64 65 64 4F 62 6A 65 63 74 3F 03 10 46 6C 65 78 50 61 72 65 6E 74 4F 62 6A 65 63 74 3F 04 04 6E 61 6D 65 3F 05 08 72 65 61 6C 6D 5F 69 64 3F 06 0C 65 6D 62 65 64 64 65 64 4E 61 6D 65 3F 07 03 61 67 65 3F 08 05 63 68 69 6C 64 3F 09 08 65 6D 62 65 64 64 65 64 3F 0A 07 73 65 63 74 69 6F 6E 00 00 00 01 0A 00 00 02 01 00 03 00 01 0A 00 06 00 04 03 00 00 06 00 05 03 01 00 06 02 06 03 00 00 06 03 07 01 00 00 06 03 08 09 01 00 00 06 03 09 09 01 00 02 06 03 04 03 00 00 06 03 05 03 01 00 06 03 0A 01 00 00
2022-12-02 15:20:21.510 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Changeset (parsed):
                                                                                                    InternStrings   0="FlexChildObject", 1="_id", 2="FlexEmbeddedObject", 3="FlexParentObject", 4="name", 5="realm_id", 6="embeddedName", 7="age", 8="child", 9="embedded", 10="section"
                                                                                                    AddTable        path="FlexChildObject", pk_field="_id", pk_type=ObjectId, pk_nullable=0, is_asymmetric=0
                                                                                                    AddTable        path="FlexEmbeddedObject", embedded=1
                                                                                                    AddTable        path="FlexParentObject", pk_field="_id", pk_type=ObjectId, pk_nullable=0, is_asymmetric=0
                                                                                                    AddColumn       table="FlexChildObject", field="name", type=String, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexChildObject", field="realm_id", type=String, nullable=1, collection_type=Single
                                                                                                    AddColumn       table="FlexEmbeddedObject", field="embeddedName", type=String, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="age", type=Int, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="child", type=Link, nullable=1, collection_type=Single, target_table="FlexChildObject"
                                                                                                    AddColumn       table="FlexParentObject", field="embedded", type=Link, nullable=1, collection_type=Single, target_table="FlexEmbeddedObject"
                                                                                                    AddColumn       table="FlexParentObject", field="name", type=String, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="realm_id", type=String, nullable=1, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="section", type=Int, nullable=0, collection_type=Single
2022-12-02 15:20:21.510 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Received: DOWNLOAD(download_server_version=1, download_client_version=0, latest_server_version=1, latest_server_version_salt=0, upload_client_version=0, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=0, num_changesets=1, ...)
2022-12-02 15:20:21.514 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Created new pending bootstrap object for query version 0
2022-12-02 15:20:21.514 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Finalized pending bootstrap object for query version 0
2022-12-02 15:20:21.514 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Begin processing pending FLX bootstrap for query version 0. (changesets: 1, original total changeset size: 203)
2022-12-02 15:20:21.515 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Scanning incoming changeset [1/1] (12 instructions)
2022-12-02 15:20:21.515 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Scanning local changeset [1/1] (11 instructions)
2022-12-02 15:20:21.515 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Indexing incoming changeset [1/1] (12 instructions)
2022-12-02 15:20:21.515 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Finished changeset indexing (incoming: 1 changeset(s) / 12 instructions, local: 1 changeset(s) / 11 instructions, conflict group(s): 1)
2022-12-02 15:20:21.515 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Transforming local changeset [1/1] through 1 incoming changeset(s) with 1 conflict group(s)
2022-12-02 15:20:21.515 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Finished transforming 1 local changesets through 1 incoming changesets (11 vs 12 instructions, in 1 conflict groups)
2022-12-02 15:20:21.515 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Removing pending bootstrap obj for query version 0
2022-12-02 15:20:21.517 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Integrated 1 changesets out of 1
2022-12-02 15:20:21.517 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Integrated 1 changesets from pending bootstrap for query version 0, producing client version 10 in 2 ms. 0 changesets remaining in bootstrap
2022-12-02 15:20:21.517 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 0, uploadable = 189, reliable_download_progress = true, snapshot version = 10
2022-12-02 15:20:21.520 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 0, uploadable = 189, reliable_download_progress = true, snapshot version = 11
2022-12-02 15:20:21.520 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Received: MARK(request_ident=1)
2022-12-02 15:20:21.520 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Limiting UPLOAD message up to version 6 to send QUERY version 1
2022-12-02 15:20:21.520 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=6, progress_server_version=0, locked_server_version=1, num_changesets=1)
2022-12-02 15:20:21.520 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Fetching changeset for upload (client_version=5, server_version=0, changeset_size=189, origin_timestamp=249920421432, origin_file_ident=0)
2022-12-02 15:20:21.520 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Changeset: 3F 00 0F 46 6C 65 78 43 68 69 6C 64 4F 62 6A 65 63 74 3F 01 03 5F 69 64 00 00 00 01 0A 00 3F 02 12 46 6C 65 78 45 6D 62 65 64 64 65 64 4F 62 6A 65 63 74 00 02 01 3F 03 10 46 6C 65 78 50 61 72 65 6E 74 4F 62 6A 65 63 74 00 03 00 01 0A 00 3F 04 07 73 65 63 74 69 6F 6E 3F 05 00 06 00 04 01 00 00 3F 06 04 6E 61 6D 65 06 00 06 03 00 00 3F 07 0C 65 6D 62 65 64 64 65 64 4E 61 6D 65 06 02 07 03 00 00 06 03 04 01 00 00 06 03 06 03 00 00 3F 08 03 61 67 65 06 03 08 01 00 00 3F 09 05 63 68 69 6C 64 06 03 09 09 01 00 00 3F 0A 08 65 6D 62 65 64 64 65 64 06 03 0A 09 01 00 02
2022-12-02 15:20:21.520 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Changeset (parsed):
                                                                                                    InternStrings   0="FlexChildObject", 1="_id", 2="FlexEmbeddedObject", 3="FlexParentObject", 4="section", 5="", 6="name", 7="embeddedName", 8="age", 9="child", 10="embedded"
                                                                                                    AddTable        path="FlexChildObject", pk_field="_id", pk_type=ObjectId, pk_nullable=0, is_asymmetric=0
                                                                                                    AddTable        path="FlexEmbeddedObject", embedded=1
                                                                                                    AddTable        path="FlexParentObject", pk_field="_id", pk_type=ObjectId, pk_nullable=0, is_asymmetric=0
                                                                                                    AddColumn       table="FlexChildObject", field="section", type=Int, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexChildObject", field="name", type=String, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexEmbeddedObject", field="embeddedName", type=String, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="section", type=Int, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="name", type=String, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="age", type=Int, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="child", type=Link, nullable=1, collection_type=Single, target_table="FlexChildObject"
                                                                                                    AddColumn       table="FlexParentObject", field="embedded", type=Link, nullable=1, collection_type=Single, target_table="FlexEmbeddedObject"
2022-12-02 15:20:21.521 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Sending: QUERY(query_version=1, query_size=67, query="{"FlexParentObject":"(section == 356276355 and name == \"blue\" )"}"
2022-12-02 15:20:21.521 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Sending: MARK(request_ident=2)
2022-12-02 15:20:21.521 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=10, progress_server_version=1, locked_server_version=1, num_changesets=0)
2022-12-02 15:20:21.621 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Download message compression: is_body_compressed = false, compressed_body_size=0, uncompressed_body_size=0
2022-12-02 15:20:21.621 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Received: DOWNLOAD(download_server_version=2, download_client_version=5, latest_server_version=2, latest_server_version_salt=7076630612205662124, upload_client_version=6, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=0, num_changesets=0, ...)
2022-12-02 15:20:21.623 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=12, progress_server_version=2, locked_server_version=2, num_changesets=0)
2022-12-02 15:20:21.623 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 189, uploadable = 189, reliable_download_progress = true, snapshot version = 12
2022-12-02 15:20:21.656 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Download message compression: is_body_compressed = false, compressed_body_size=23, uncompressed_body_size=23
2022-12-02 15:20:21.656 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Received: DOWNLOAD CHANGESET(server_version=3, client_version=5, origin_timestamp=249920423507, origin_file_ident=1, original_changeset_size=0, changeset_size=0)
2022-12-02 15:20:21.656 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Changeset: 
2022-12-02 15:20:21.656 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Changeset (parsed):
                                                                                                    InternStrings   
2022-12-02 15:20:21.656 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Received: DOWNLOAD(download_server_version=3, download_client_version=5, latest_server_version=3, latest_server_version_salt=0, upload_client_version=6, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=1, num_changesets=1, ...)
2022-12-02 15:20:21.659 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Created new pending bootstrap object for query version 1
2022-12-02 15:20:21.659 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Finalized pending bootstrap object for query version 1
2022-12-02 15:20:21.660 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Begin processing pending FLX bootstrap for query version 1. (changesets: 1, original total changeset size: 0)
2022-12-02 15:20:21.660 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[1]: Session[1]: Removing pending bootstrap obj for query version 1
2022-12-02 15:20:21.663 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Integrated 1 changesets out of 1
2022-12-02 15:20:21.663 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Integrated 1 changesets from pending bootstrap for query version 1, producing client version 14 in 2 ms. 0 changesets remaining in bootstrap
2022-12-02 15:20:21.663 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14, progress_server_version=3, locked_server_version=3, num_changesets=0)
2022-12-02 15:20:21.663 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 189, uploadable = 189, reliable_download_progress = true, snapshot version = 14
2022-12-02 15:20:21.665 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 189, uploadable = 189, reliable_download_progress = true, snapshot version = 15
2022-12-02 15:20:21.665 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Received: MARK(request_ident=2)
2022-12-02 15:20:21.665 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Marking query version 1 as complete after receiving MARK message
2022-12-02 15:20:21.670 15113-15166 REALM                   io.realm.sync.testapp.test           D  Realm opened: /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm
2022-12-02 15:20:21.671 15113-15134 REALM                   io.realm.sync.testapp.test           D  Updating Realm version: VersionId(version=5) -> VersionId(version=16)
2022-12-02 15:20:21.673 15113-15134 REALM                   io.realm.sync.testapp.test           D  Updating Realm version: VersionId(version=16) -> VersionId(version=16)
2022-12-02 15:20:21.673 15113-15134 System.out              io.realm.sync.testapp.test           I  =========-----> 1 - session state before: ACTIVE
2022-12-02 15:20:21.674 15113-15134 System.out              io.realm.sync.testapp.test           I  =========-----> 1 - session state after : INACTIVE
2022-12-02 15:20:21.674 15113-15134 System.out              io.realm.sync.testapp.test           I  =========-----> 1a - session state: INACTIVE
2022-12-02 15:20:21.674 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Initiating deactivation
2022-12-02 15:20:21.674 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Sending: UNBIND
2022-12-02 15:20:21.674 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Session[1]: Deactivation completed
2022-12-02 15:20:21.674 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Allowing reconnection in 729 milliseconds
2022-12-02 15:20:21.674 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Disconnected
2022-12-02 15:20:21.674 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[1]: Destroying connection object
2022-12-02 15:20:21.713 15113-15134 System.out              io.realm.sync.testapp.test           I  =========-----> 1b - session state: INACTIVE
2022-12-02 15:20:21.713 15113-15134 System.out              io.realm.sync.testapp.test           I  =========-----> 2 - session state before: INACTIVE
2022-12-02 15:20:21.713 15113-15134 System.out              io.realm.sync.testapp.test           I  =========-----> 2 - session state after : ACTIVE
2022-12-02 15:20:21.713 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Binding '/data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm' to ''
2022-12-02 15:20:21.713 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Activating
2022-12-02 15:20:21.713 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: client_reset_config = false, Realm exists = true, client reset = false
2022-12-02 15:20:21.714 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: client_file_ident = 18, client_file_ident_salt = 5137902675123849229
2022-12-02 15:20:21.714 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: last_version_available  = 16
2022-12-02 15:20:21.714 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: progress_server_version = 3
2022-12-02 15:20:21.714 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: progress_client_version = 5
2022-12-02 15:20:21.714 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 189, uploadable = 189, reliable_download_progress = false, snapshot version = 16
2022-12-02 15:20:21.714 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::Websocket()
2022-12-02 15:20:21.714 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Resolving 'localhost:9090'
2022-12-02 15:20:21.715 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connecting to endpoint '127.0.0.1:9090' (1/1)
2022-12-02 15:20:21.715 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connected to endpoint '127.0.0.1:9090' (from '127.0.0.1:45574')
2022-12-02 15:20:21.715 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::initiate_client_handshake()
2022-12-02 15:20:21.715 15113-15161 SYNC                    io.realm.sync.testapp.test           V  HTTP request =
                                                                                                    GET /api/client/v2.0/app/client-reset-flx_2078-fsovj/realm-sync?baas_at=eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWViMCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTA5YTAwOTY0MGY5MTI1NmY5ZWFmIiwiZXhwIjoxNjY5OTkyNjIzLCJpYXQiOjE2Njk5OTA4MjMsImlzcyI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNiIsInN0aXRjaF9kZXZJZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWVhZiIsInN1YiI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzMyIsInR5cCI6ImFjY2VzcyJ9.Sf2M6fNYgaU9sqDgEo6hjvB9tVEvXz7SgMilfvvRDmuwXEmWQZLJXTsKjthcOM-HuV2nLjWjOmpd6hizxTJY-_1x5tlRxXijgSoOTb_c3pxjvEyDs_CiabLV8OpzasD-dzd7EPZkXG28zfVJzCtLFn4Qvhwr_IsWCMqWwrKHebXLLoNVEkC2QxT7HYUvpiKHNhqRi6lUiuoYCMWm2Z7v6gw2pUl2JFnffeoriV1ojAhAMq2C-yV6f3u0IIVaOG0W1YgSzVuPpRS8srgnhd_G_Q7T7Li6nKfOfv7yrtUtk6vSuWGlM3ww383GHunr76kHsAV899TdUT63zXCRdYeSPQ HTTP/1.1
                                                                                                    Host: localhost:9090
                                                                                                    Connection: Upgrade
                                                                                                    Sec-WebSocket-Key: geC3FLgERCfxzcJU63nm8g==
                                                                                                    Sec-WebSocket-Protocol: com.mongodb.realm-query-sync/7, com.mongodb.realm-query-sync/6, com.mongodb.realm-query-sync/5, com.mongodb.realm-query-sync/4, com.mongodb.realm-query-sync/3, com.mongodb.realm-query-sync/2
                                                                                                    Sec-WebSocket-Version: 13
                                                                                                    Upgrade: websocket
                                                                                                    User-Agent: RealmSync/13.0.0 (Android Linux 5.15.41-android13-8-00205-gf1bf82c3dacd-ab8747247 #1 SMP PREEMPT Sun Jun 19 02:44:07 UTC 2022 aarch64)
2022-12-02 15:20:21.734 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::handle_http_response_received()
2022-12-02 15:20:21.734 15113-15161 SYNC                    io.realm.sync.testapp.test           V  HTTP response = HTTP/1.1 101 Switching Protocols
                                                                                                    Cache-Control: no-cache, no-store, must-revalidate
                                                                                                    Connection: Upgrade
                                                                                                    Sec-Websocket-Accept: rNFRxwrsV6zmL9McHoUFsYg/U58=
                                                                                                    Sec-Websocket-Protocol: com.mongodb.realm-query-sync/7
                                                                                                    Strict-Transport-Security: max-age=86400; includeSubdomains;
                                                                                                    Upgrade: websocket
                                                                                                    Vary: Origin
                                                                                                    X-Appservices-Request-Id: 638a09a709640f91256f9f50
                                                                                                    X-Frame-Options: DENY
2022-12-02 15:20:21.734 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Negotiated protocol version: 7
2022-12-02 15:20:21.734 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Will emit a ping in 43373 milliseconds
2022-12-02 15:20:21.735 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Sending: IDENT(client_file_ident=18, client_file_ident_salt=5137902675123849229, scan_server_version=3, scan_client_version=5, latest_server_version=3, latest_server_version_salt=0, query_version: 1 query_size: 67, query: "{"FlexParentObject":"(section == 356276355 and name == \"blue\" )"}")
2022-12-02 15:20:21.735 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Sending: MARK(request_ident=1)
2022-12-02 15:20:21.738 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[2]: Error message encoded as json: {"message":"Bad client file identifier (IDENT)","isRecoveryModeDisabled":false,"tryAgain":false,"logURL":"http://localhost:9090/groups/638a07f709640f91256f9b84/apps/638a09a009640f91256f9eae/logs?co_id=638a09a709640f91256f9f50","shouldClientReset":true,"action":"ClientReset","backoffMaxDelaySec":300,"backoffIntervalSec":2,"backoffMultiplier":2}
2022-12-02 15:20:21.738 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Received: ERROR "Bad client file identifier (IDENT)" (error_code=208, try_again=false, error_action=ClientReset)
2022-12-02 15:20:21.738 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Suspended
2022-12-02 15:20:21.745 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Sending: UNBIND
2022-12-02 15:20:21.747 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Binding '/data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm.fresh' to ''
2022-12-02 15:20:21.747 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Activating
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: client_reset_config = false, Realm exists = true, client reset = false
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: client_file_ident = 0, client_file_ident_salt = 0
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: last_version_available  = 6
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: progress_server_version = 0
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: progress_client_version = 0
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 0, reliable_download_progress = false, snapshot version = 6
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Allowing reconnection in 851 milliseconds
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Disconnected
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::Websocket()
2022-12-02 15:20:21.748 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Resolving 'localhost:9090'
2022-12-02 15:20:21.750 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connecting to endpoint '127.0.0.1:9090' (1/1)
2022-12-02 15:20:21.750 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connected to endpoint '127.0.0.1:9090' (from '127.0.0.1:45580')
2022-12-02 15:20:21.750 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::initiate_client_handshake()
2022-12-02 15:20:21.750 15113-15161 SYNC                    io.realm.sync.testapp.test           V  HTTP request =
                                                                                                    GET /api/client/v2.0/app/client-reset-flx_2078-fsovj/realm-sync?baas_at=eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWViMCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTA5YTAwOTY0MGY5MTI1NmY5ZWFmIiwiZXhwIjoxNjY5OTkyNjIzLCJpYXQiOjE2Njk5OTA4MjMsImlzcyI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNiIsInN0aXRjaF9kZXZJZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWVhZiIsInN1YiI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzMyIsInR5cCI6ImFjY2VzcyJ9.Sf2M6fNYgaU9sqDgEo6hjvB9tVEvXz7SgMilfvvRDmuwXEmWQZLJXTsKjthcOM-HuV2nLjWjOmpd6hizxTJY-_1x5tlRxXijgSoOTb_c3pxjvEyDs_CiabLV8OpzasD-dzd7EPZkXG28zfVJzCtLFn4Qvhwr_IsWCMqWwrKHebXLLoNVEkC2QxT7HYUvpiKHNhqRi6lUiuoYCMWm2Z7v6gw2pUl2JFnffeoriV1ojAhAMq2C-yV6f3u0IIVaOG0W1YgSzVuPpRS8srgnhd_G_Q7T7Li6nKfOfv7yrtUtk6vSuWGlM3ww383GHunr76kHsAV899TdUT63zXCRdYeSPQ HTTP/1.1
                                                                                                    Host: localhost:9090
                                                                                                    Connection: Upgrade
                                                                                                    Sec-WebSocket-Key: xce1aGIMyT0Umxig8Ay3YA==
                                                                                                    Sec-WebSocket-Protocol: com.mongodb.realm-query-sync/7, com.mongodb.realm-query-sync/6, com.mongodb.realm-query-sync/5, com.mongodb.realm-query-sync/4, com.mongodb.realm-query-sync/3, com.mongodb.realm-query-sync/2
                                                                                                    Sec-WebSocket-Version: 13
                                                                                                    Upgrade: websocket
                                                                                                    User-Agent: RealmSync/13.0.0 (Android Linux 5.15.41-android13-8-00205-gf1bf82c3dacd-ab8747247 #1 SMP PREEMPT Sun Jun 19 02:44:07 UTC 2022 aarch64)
2022-12-02 15:20:21.758 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::handle_http_response_received()
2022-12-02 15:20:21.758 15113-15161 SYNC                    io.realm.sync.testapp.test           V  HTTP response = HTTP/1.1 101 Switching Protocols
                                                                                                    Cache-Control: no-cache, no-store, must-revalidate
                                                                                                    Connection: Upgrade
                                                                                                    Sec-Websocket-Accept: c2+JKvGz7A87VYBUF7eOfRCcYgc=
                                                                                                    Sec-Websocket-Protocol: com.mongodb.realm-query-sync/7
                                                                                                    Strict-Transport-Security: max-age=86400; includeSubdomains;
                                                                                                    Upgrade: websocket
                                                                                                    Vary: Origin
                                                                                                    X-Appservices-Request-Id: 638a09a709640f91256f9f56
                                                                                                    X-Frame-Options: DENY
2022-12-02 15:20:21.758 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Negotiated protocol version: 7
2022-12-02 15:20:21.758 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Will emit a ping in 42088 milliseconds
2022-12-02 15:20:21.773 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Received: IDENT(client_file_ident=19, client_file_ident_salt=8089262630163351948)
2022-12-02 15:20:21.775 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Sending: IDENT(client_file_ident=19, client_file_ident_salt=8089262630163351948, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0, query_version: 0 query_size: 2, query: "{}")
2022-12-02 15:20:21.775 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Sending: MARK(request_ident=1)
2022-12-02 15:20:21.793 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Download message compression: is_body_compressed = false, compressed_body_size=236, uncompressed_body_size=236
2022-12-02 15:20:21.793 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Received: DOWNLOAD CHANGESET(server_version=2, client_version=0, origin_timestamp=249920423645, origin_file_ident=1, original_changeset_size=209, changeset_size=209)
2022-12-02 15:20:21.793 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Changeset: 3F 00 0F 46 6C 65 78 43 68 69 6C 64 4F 62 6A 65 63 74 3F 01 03 5F 69 64 3F 02 12 46 6C 65 78 45 6D 62 65 64 64 65 64 4F 62 6A 65 63 74 3F 03 10 46 6C 65 78 50 61 72 65 6E 74 4F 62 6A 65 63 74 3F 04 04 6E 61 6D 65 3F 05 08 72 65 61 6C 6D 5F 69 64 3F 06 07 73 65 63 74 69 6F 6E 3F 07 0C 65 6D 62 65 64 64 65 64 4E 61 6D 65 3F 08 03 61 67 65 3F 09 05 63 68 69 6C 64 3F 0A 08 65 6D 62 65 64 64 65 64 00 00 00 01 0A 00 00 02 01 00 03 00 01 0A 00 06 00 04 03 00 00 06 00 05 03 01 00 06 00 06 01 00 00 06 02 07 03 00 00 06 03 08 01 00 00 06 03 09 09 01 00 00 06 03 0A 09 01 00 02 06 03 04 03 00 00 06 03 05 03 01 00 06 03 06 01 00 00
2022-12-02 15:20:21.793 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Changeset (parsed):
                                                                                                    InternStrings   0="FlexChildObject", 1="_id", 2="FlexEmbeddedObject", 3="FlexParentObject", 4="name", 5="realm_id", 6="section", 7="embeddedName", 8="age", 9="child", 10="embedded"
                                                                                                    AddTable        path="FlexChildObject", pk_field="_id", pk_type=ObjectId, pk_nullable=0, is_asymmetric=0
                                                                                                    AddTable        path="FlexEmbeddedObject", embedded=1
                                                                                                    AddTable        path="FlexParentObject", pk_field="_id", pk_type=ObjectId, pk_nullable=0, is_asymmetric=0
                                                                                                    AddColumn       table="FlexChildObject", field="name", type=String, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexChildObject", field="realm_id", type=String, nullable=1, collection_type=Single
                                                                                                    AddColumn       table="FlexChildObject", field="section", type=Int, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexEmbeddedObject", field="embeddedName", type=String, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="age", type=Int, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="child", type=Link, nullable=1, collection_type=Single, target_table="FlexChildObject"
                                                                                                    AddColumn       table="FlexParentObject", field="embedded", type=Link, nullable=1, collection_type=Single, target_table="FlexEmbeddedObject"
                                                                                                    AddColumn       table="FlexParentObject", field="name", type=String, nullable=0, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="realm_id", type=String, nullable=1, collection_type=Single
                                                                                                    AddColumn       table="FlexParentObject", field="section", type=Int, nullable=0, collection_type=Single
2022-12-02 15:20:21.793 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Received: DOWNLOAD(download_server_version=2, download_client_version=0, latest_server_version=2, latest_server_version_salt=7076630612205662124, upload_client_version=0, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=0, num_changesets=1, ...)
2022-12-02 15:20:21.795 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: Created new pending bootstrap object for query version 0
2022-12-02 15:20:21.795 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: Finalized pending bootstrap object for query version 0
2022-12-02 15:20:21.796 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Begin processing pending FLX bootstrap for query version 0. (changesets: 1, original total changeset size: 209)
2022-12-02 15:20:21.796 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: group.get_or_add_table_with_primary_key(group, "class_FlexChildObject", type_ObjectId, "_id", false, TopLevel);
2022-12-02 15:20:21.796 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: group.add_embedded_table("class_FlexEmbeddedObject");
2022-12-02 15:20:21.796 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: group.get_or_add_table_with_primary_key(group, "class_FlexParentObject", type_ObjectId, "_id", false, TopLevel);
2022-12-02 15:20:21.796 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: Removing pending bootstrap obj for query version 0
2022-12-02 15:20:21.799 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Integrated 1 changesets out of 1
2022-12-02 15:20:21.800 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Integrated 1 changesets from pending bootstrap for query version 0, producing client version 9 in 3 ms. 0 changesets remaining in bootstrap
2022-12-02 15:20:21.800 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Progress handler called, downloaded = 209, downloadable(total) = 209, uploaded = 0, uploadable = 0, reliable_download_progress = true, snapshot version = 9
2022-12-02 15:20:21.801 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Received: MARK(request_ident=1)
2022-12-02 15:20:21.801 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: Limiting UPLOAD message up to version 4 to send QUERY version 1
2022-12-02 15:20:21.802 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Sending: UPLOAD(progress_client_version=4, progress_server_version=0, locked_server_version=2, num_changesets=0)
2022-12-02 15:20:21.802 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Sending: QUERY(query_version=1, query_size=67, query="{"FlexParentObject":"(section == 356276355 and name == \"blue\" )"}"
2022-12-02 15:20:21.802 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Sending: MARK(request_ident=2)
2022-12-02 15:20:21.802 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Sending: UPLOAD(progress_client_version=9, progress_server_version=2, locked_server_version=2, num_changesets=0)
2022-12-02 15:20:21.823 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Download message compression: is_body_compressed = false, compressed_body_size=23, uncompressed_body_size=23
2022-12-02 15:20:21.823 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Received: DOWNLOAD CHANGESET(server_version=3, client_version=0, origin_timestamp=249920423674, origin_file_ident=1, original_changeset_size=0, changeset_size=0)
2022-12-02 15:20:21.823 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Changeset: 
2022-12-02 15:20:21.823 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Changeset (parsed):
                                                                                                    InternStrings   
2022-12-02 15:20:21.823 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Received: DOWNLOAD(download_server_version=3, download_client_version=0, latest_server_version=3, latest_server_version_salt=0, upload_client_version=4, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=1, num_changesets=1, ...)
2022-12-02 15:20:21.825 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: Created new pending bootstrap object for query version 1
2022-12-02 15:20:21.825 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: Finalized pending bootstrap object for query version 1
2022-12-02 15:20:21.825 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Begin processing pending FLX bootstrap for query version 1. (changesets: 1, original total changeset size: 0)
2022-12-02 15:20:21.825 15113-15161 SYNC                    io.realm.sync.testapp.test           V  Connection[3]: Session[3]: Removing pending bootstrap obj for query version 1
2022-12-02 15:20:21.827 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Integrated 1 changesets out of 1
2022-12-02 15:20:21.827 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Integrated 1 changesets from pending bootstrap for query version 1, producing client version 12 in 1 ms. 0 changesets remaining in bootstrap
2022-12-02 15:20:21.827 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Sending: UPLOAD(progress_client_version=12, progress_server_version=3, locked_server_version=3, num_changesets=0)
2022-12-02 15:20:21.827 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Progress handler called, downloaded = 209, downloadable(total) = 209, uploaded = 0, uploadable = 0, reliable_download_progress = true, snapshot version = 12
2022-12-02 15:20:21.829 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Received: MARK(request_ident=2)
2022-12-02 15:20:21.830 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Marking query version 1 as complete after receiving MARK message
2022-12-02 15:20:21.832 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Initiating deactivation
2022-12-02 15:20:21.832 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Session[2]: Deactivation completed
2022-12-02 15:20:21.832 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Initiating deactivation
2022-12-02 15:20:21.832 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Sending: UNBIND
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Binding '/data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm' to ''
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Activating
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: client_reset_config = true, Realm exists = true, client reset = true
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Create ClientResetOperation, realm_path = /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm, mode = RecoveOrDiscard, recovery_allowed = true
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: client_file_ident = 0, client_file_ident_salt = 0
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: last_version_available  = 0
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: progress_server_version = 0
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: progress_client_version = 0
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[2]: Destroying connection object
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Session[3]: Deactivation completed
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Allowing reconnection in 690 milliseconds
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Disconnected
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::Websocket()
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Resolving 'localhost:9090'
2022-12-02 15:20:21.833 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[3]: Destroying connection object
2022-12-02 15:20:21.834 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connecting to endpoint '127.0.0.1:9090' (1/1)
2022-12-02 15:20:21.834 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connected to endpoint '127.0.0.1:9090' (from '127.0.0.1:45586')
2022-12-02 15:20:21.834 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::initiate_client_handshake()
2022-12-02 15:20:21.834 15113-15161 SYNC                    io.realm.sync.testapp.test           V  HTTP request =
                                                                                                    GET /api/client/v2.0/app/client-reset-flx_2078-fsovj/realm-sync?baas_at=eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWViMCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTA5YTAwOTY0MGY5MTI1NmY5ZWFmIiwiZXhwIjoxNjY5OTkyNjIzLCJpYXQiOjE2Njk5OTA4MjMsImlzcyI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNiIsInN0aXRjaF9kZXZJZCI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzNSIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwOWEwMDk2NDBmOTEyNTZmOWVhZiIsInN1YiI6IjYzOGEwOWE3MDk2NDBmOTEyNTZmOWYzMyIsInR5cCI6ImFjY2VzcyJ9.Sf2M6fNYgaU9sqDgEo6hjvB9tVEvXz7SgMilfvvRDmuwXEmWQZLJXTsKjthcOM-HuV2nLjWjOmpd6hizxTJY-_1x5tlRxXijgSoOTb_c3pxjvEyDs_CiabLV8OpzasD-dzd7EPZkXG28zfVJzCtLFn4Qvhwr_IsWCMqWwrKHebXLLoNVEkC2QxT7HYUvpiKHNhqRi6lUiuoYCMWm2Z7v6gw2pUl2JFnffeoriV1ojAhAMq2C-yV6f3u0IIVaOG0W1YgSzVuPpRS8srgnhd_G_Q7T7Li6nKfOfv7yrtUtk6vSuWGlM3ww383GHunr76kHsAV899TdUT63zXCRdYeSPQ HTTP/1.1
                                                                                                    Host: localhost:9090
                                                                                                    Connection: Upgrade
                                                                                                    Sec-WebSocket-Key: D3TCD9y3J+CntQuolfBY6g==
                                                                                                    Sec-WebSocket-Protocol: com.mongodb.realm-query-sync/7, com.mongodb.realm-query-sync/6, com.mongodb.realm-query-sync/5, com.mongodb.realm-query-sync/4, com.mongodb.realm-query-sync/3, com.mongodb.realm-query-sync/2
                                                                                                    Sec-WebSocket-Version: 13
                                                                                                    Upgrade: websocket
                                                                                                    User-Agent: RealmSync/13.0.0 (Android Linux 5.15.41-android13-8-00205-gf1bf82c3dacd-ab8747247 #1 SMP PREEMPT Sun Jun 19 02:44:07 UTC 2022 aarch64)
2022-12-02 15:20:21.845 15113-15161 SYNC                    io.realm.sync.testapp.test           D  WebSocket::handle_http_response_received()
2022-12-02 15:20:21.845 15113-15161 SYNC                    io.realm.sync.testapp.test           V  HTTP response = HTTP/1.1 101 Switching Protocols
                                                                                                    Cache-Control: no-cache, no-store, must-revalidate
                                                                                                    Connection: Upgrade
                                                                                                    Sec-Websocket-Accept: JwT+P48Pl83kbLlhVIWig0ZAHVs=
                                                                                                    Sec-Websocket-Protocol: com.mongodb.realm-query-sync/7
                                                                                                    Strict-Transport-Security: max-age=86400; includeSubdomains;
                                                                                                    Upgrade: websocket
                                                                                                    Vary: Origin
                                                                                                    X-Appservices-Request-Id: 638a09a709640f91256f9f62
                                                                                                    X-Frame-Options: DENY
2022-12-02 15:20:21.845 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Negotiated protocol version: 7
2022-12-02 15:20:21.845 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Will emit a ping in 33239 milliseconds
2022-12-02 15:20:21.864 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Received: IDENT(client_file_ident=20, client_file_ident_salt=6310767041493795807)
2022-12-02 15:20:21.864 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: ClientResetOperation::finalize, realm_path = /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm, local_realm_exists = true, mode = RecoveOrDiscard
2022-12-02 15:20:21.865 15113-15161 REALM                   io.realm.sync.testapp.test           D  Realm opened: /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm
2022-12-02 15:20:21.865 15113-15161 REALM                   io.realm.sync.testapp.test           D  Client reset: attempting to automatically recover unsynced changes in Realm: /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm
2022-12-02 15:20:21.865 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Client reset, path_local = /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm, client_file_ident.ident = 20, client_file_ident.salt = 6310767041493795807,remote = /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_2078-fsovj/638a09a709640f91256f9f33/default.realm.fresh, mode = RecoveOrDiscard, recovery_is_allowed = true
2022-12-02 15:20:21.865 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Local changesets to recover: 2
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: transfer_group, src size = 9, dst size = 11
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: key = 4, table_name = class_FlexChildObject
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Table 'class_FlexChildObject' will remain
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: key = 5, table_name = class_FlexEmbeddedObject
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: key = 6, table_name = class_FlexParentObject
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Table 'class_FlexParentObject' will remain
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: The number of tables is 3
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Removing objects in 'class_FlexChildObject'
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Removing objects in 'class_FlexParentObject'
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Updating values for table 'class_FlexChildObject', number of rows = 0, number of columns = 4, primary_key_col = 0, primary_key_type = col_type_ObjectId
2022-12-02 15:20:21.866 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Updating values for table 'class_FlexParentObject', number of rows = 0, number of columns = 7, primary_key_col = 0, primary_key_type = col_type_ObjectId
2022-12-02 15:20:21.871 15113-15161 SYNC                    io.realm.sync.testapp.test           D  Connection[4]: Session[4]: Recreated the active subscription set in the complete state (2 -> 2)
2022-12-02 15:20:21.871 15113-15161 REALM                   io.realm.sync.testapp.test           E  /Users/elg/git/realm-kotlin/packages/external/core/src/realm/db.cpp:2121: [realm-core-13.0.0] Assertion failed: new_version > current_version
                                                                                                    <backtrace not supported on this platform>!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose
2022-12-02 15:20:21.872 15113-15161 libc                    io.realm.sync.testapp.test           A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15161 (Thread-13), pid 15113 (nc.testapp.test)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A  Cmdline: io.realm.sync.testapp.test
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A  pid: 15113, tid: 15161, name: Thread-13  >>> io.realm.sync.testapp.test <<<
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #01 pc 0000000000da1ea4  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (please_report_this_issue_in_github_realm_realm_core_v_13_0_0+4) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #02 pc 0000000000da20ec  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::util::terminate_internal(std::__ndk1::basic_stringstream<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >&)+336) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #03 pc 0000000000da1f74  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::util::terminate(char const*, char const*, long, std::initializer_list<realm::util::Printable>&&)+204) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #04 pc 0000000000c44648  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::DB::do_commit(realm::Transaction&, bool)+372) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #05 pc 0000000000d394f8  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::Transaction::commit_and_continue_as_read(bool)+280) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #06 pc 000000000097021c  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::_impl::client_reset::perform_client_reset_diff(std::__ndk1::shared_ptr<realm::DB>, std::__ndk1::shared_ptr<realm::DB>, realm::sync::SaltedFileIdent, realm::util::Logger&, realm::ClientResyncMode, bool, bool*, realm::sync::SubscriptionStore*, realm::util::UniqueFunction<void (long)>)+1692) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #07 pc 0000000000977c80  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::_impl::ClientResetOperation::finalize(realm::sync::SaltedFileIdent, realm::sync::SubscriptionStore*, realm::util::UniqueFunction<void (long)>)+740) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #08 pc 00000000009d07b0  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Session::receive_ident_message(realm::sync::SaltedFileIdent)::$_13::operator()() const+220) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #09 pc 00000000009cb5d4  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Session::receive_ident_message(realm::sync::SaltedFileIdent)+460) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #10 pc 00000000009cb394  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Connection::receive_ident_message(unsigned long, realm::sync::SaltedFileIdent)+172) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #11 pc 00000000009c90dc  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (void realm::_impl::ClientProtocol::parse_message_received<realm::sync::ClientImpl::Connection>(realm::sync::ClientImpl::Connection&, std::__ndk1::basic_string_view<char, std::__ndk1::char_traits<char> >)+4160) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #12 pc 00000000009c51d8  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Connection::handle_message_received(char const*, unsigned long)+84) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #13 pc 00000000009c5050  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::sync::ClientImpl::Connection::websocket_binary_message_received(char const*, unsigned long)+148) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #14 pc 0000000000ad72dc  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::util::websocket::(anonymous namespace)::EZSocketImpl::websocket_binary_message_received(char const*, unsigned long)+44) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #15 pc 0000000000ad2710  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so ((anonymous namespace)::WebSocket::frame_reader_loop()+256) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #16 pc 0000000000ad40f8  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so ((anonymous namespace)::WebSocket::frame_reader_loop()::'lambda'(std::__ndk1::error_code, unsigned long)::operator()(std::__ndk1::error_code, unsigned long) const+176) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #17 pc 0000000000ad401c  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (void realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>::call_regular_void<(anonymous namespace)::WebSocket::frame_reader_loop()::'lambda'(std::__ndk1::error_code, unsigned long)>(std::__ndk1::integral_constant<bool, true>, (anonymous namespace)::WebSocket::frame_reader_loop()::'lambda'(std::__ndk1::error_code, unsigned long)&, std::__ndk1::error_code&&, unsigned long&&)+92) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #18 pc 0000000000ad3fb0  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>::SpecificImpl<(anonymous namespace)::WebSocket::frame_reader_loop()::'lambda'(std::__ndk1::error_code, unsigned long)>::call(std::__ndk1::error_code&&, unsigned long&&)+68) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #19 pc 0000000000ae274c  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>::operator()(std::__ndk1::error_code, unsigned long) const+160) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #20 pc 0000000000ae2680  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (void realm::util::network::Service::AsyncOper::do_recycle_and_execute_helper<realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>, std::__ndk1::error_code, unsigned long>(bool, bool&, realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>, std::__ndk1::error_code, unsigned long)+128) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #21 pc 0000000000ae2550  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (void realm::util::network::Service::AsyncOper::do_recycle_and_execute<realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>, std::__ndk1::error_code&, unsigned long&>(bool, realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)>&, std::__ndk1::error_code&, unsigned long&)+156) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #22 pc 0000000000ae40c8  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::util::network::Service::BasicStreamOps<realm::util::network::Socket>::BufferedReadOper<realm::util::UniqueFunction<void (std::__ndk1::error_code, unsigned long)> >::recycle_and_execute()+628) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #23 pc 0000000000ac29bc  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::util::network::Service::Impl::execute(std::__ndk1::unique_ptr<realm::util::network::Service::AsyncOper, realm::util::network::Service::LendersOperDeleter>&)+28) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #24 pc 0000000000abf244  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::util::network::Service::Impl::run()+304) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #25 pc 0000000000abf0e0  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::util::network::Service::run()+20) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #26 pc 00000000009a4174  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::sync::ClientImpl::run()+60) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #27 pc 00000000009abe6c  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::sync::Client::run()+20) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #28 pc 000000000081f7e0  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()::operator()() const+272) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #29 pc 000000000081f688  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (decltype(std::__ndk1::forward<realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()>(fp)()) std::__ndk1::__invoke<realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()>(realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()&&)+20) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #30 pc 000000000081f5f4  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (void std::__ndk1::__thread_execute<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()>(std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()>&, std::__ndk1::__tuple_indices<>)+28) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.156 15172-15172 DEBUG                   pid-15172                            A        #31 pc 000000000081eff8  /data/app/~~Mv-GRLzvXN54Qs8P9ovcYg==/io.realm.sync.testapp.test-SO_Unia63TJM_EiQAgbXGw==/lib/arm64/librealmc.so (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, realm::_impl::SyncClient::SyncClient(std::__ndk1::shared_ptr<realm::util::Logger> const&, realm::SyncClientConfig const&, std::__ndk1::weak_ptr<realm::SyncManager const>)::'lambda0'()> >(void*)+128) (BuildId: b3c781c100e0b9a7e9202fb4dc4b4278c2879693)
2022-12-02 15:20:22.179   568-2546  ActivityManager         pid-568                              I  Process io.realm.sync.testapp.test (pid 15113) has died: fg  FGS 
2022-12-02 15:20:22.182   568-2546  ActivityManager         pid-568                              W  Crash of app io.realm.sync.testapp.test running instrumentation ComponentInfo{io.realm.sync.testapp.test/androidx.test.runner.AndroidJUnitRunner}
2022-12-02 15:20:22.183   568-2546  ActivityManager         pid-568                              I  Force stopping io.realm.sync.testapp.test appid=10162 user=0: finished inst

@edualonso
Copy link
Contributor Author

This is a working trace of the same trace running on JVM (not Android):

io.realm.kotlin.test.mongodb.shared.SyncClientResetIntegrationTests[jvm] > defaultRecoverOrDiscardUnsyncedChangesStrategy_logsReported[jvm] STANDARD_OUT
    -----------------> CLIENT-RESET-FLX_1096 START

io.realm.kotlin.test.mongodb.shared.SyncClientResetIntegrationTests[jvm] > defaultRecoverOrDiscardUnsyncedChangesStrategy_logsReported[jvm] STANDARD_ERROR
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

io.realm.kotlin.test.mongodb.shared.SyncClientResetIntegrationTests[jvm] > defaultRecoverOrDiscardUnsyncedChangesStrategy_logsReported[jvm] STANDARD_OUT
    -----------------> addition of email provider started
    -----------------> addition of email provider completed
    -----------------> app creation started
    -----------------> app creation done
Commit nr 2   ( from 1 )
  Freelist (pinned): 
  Freelist (true free): 
  Allocating file space for data:
        ** File extension to 16384     after request for 232
    alloc [24, 232]
    alloc [256, 8]
    alloc [264, 16]
    alloc [280, 8]
    alloc [288, 8]
    alloc [296, 24]
    alloc [320, 16]
    alloc [336, 16]
    alloc [352, 8]
    alloc [360, 16]
    alloc [376, 16]
    alloc [392, 40]
    alloc [432, 16]
    alloc [448, 168]
    alloc [616, 8]
    alloc [624, 32]
    alloc [656, 24]
    alloc [680, 8]
    alloc [688, 8]
    alloc [696, 8]
    alloc [704, 8]
    alloc [712, 8]
    alloc [720, 24]
    alloc [744, 8]
    alloc [752, 16]
    alloc [768, 24]
    alloc [792, 32]
    alloc [824, 48]
    alloc [872, 120]
    alloc [992, 16]
    alloc [1008, 16]
    alloc [1024, 8]
    alloc [1032, 16]
    alloc [1048, 24]
    alloc [1072, 8]
    alloc [1080, 16]
    alloc [1096, 8]
    alloc [1104, 16]
    alloc [1120, 16]
    alloc [1136, 40]
    alloc [1176, 16]
    alloc [1192, 88]
    alloc [1280, 16]
    alloc [1296, 48]
    alloc [1344, 24]
    alloc [1368, 8]
    alloc [1376, 8]
    alloc [1384, 8]
    alloc [1392, 8]
    alloc [1400, 8]
    alloc [1408, 24]
    alloc [1432, 8]
    alloc [1440, 16]
    alloc [1456, 24]
    alloc [1480, 32]
    alloc [1512, 48]
    alloc [1560, 120]
    alloc [1680, 16]
    alloc [1696, 40]
    alloc [1736, 8]
    alloc [1744, 32]
    alloc [1776, 24]
    alloc [1800, 8]
    alloc [1808, 8]
    alloc [1816, 8]
    alloc [1824, 16]
    alloc [1840, 8]
    alloc [1848, 24]
    alloc [1872, 32]
    alloc [1904, 40]
    alloc [1944, 16]
    alloc [1960, 360]
    alloc [2320, 32]
    alloc [2352, 96]
    alloc [2448, 24]
    alloc [2472, 8]
    alloc [2480, 8]
    alloc [2488, 8]
    alloc [2496, 8]
    alloc [2504, 8]
    alloc [2512, 8]
    alloc [2520, 8]
    alloc [2528, 8]
    alloc [2536, 8]
    alloc [2544, 8]
    alloc [2552, 8]
    alloc [2560, 32]
    alloc [2592, 8]
    alloc [2600, 56]
    alloc [2656, 96]
    alloc [2752, 40]
    alloc [2792, 16]
    alloc [2808, 40]
    alloc [2848, 8]
    alloc [2856, 16]
    alloc [2872, 24]
    alloc [2896, 8]
    alloc [2904, 16]
    alloc [2920, 8]
    alloc [2928, 16]
    alloc [2944, 16]
    alloc [2960, 40]
    alloc [3000, 24]
    alloc [3024, 200]
    alloc [3224, 16]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 0/0
  Allocating file space for freelists:
    alloc [3240, 280]
  Freelist size after merge: 1   freelist space required: 272
  Final Freelist:
    [3336..13048]: 0

    -----------------> user creation started
    DEBUG: [SYNC] App: register_email: rk3pvom4twb1un4tp2q7@10gen.com
    DEBUG: [REALM] REQUEST: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_1096-xyorm/location
    METHOD: HttpMethod(value=GET)
    BODY Content-Type: null
    BODY START

    BODY END
    DEBUG: [REALM] RESPONSE: 200 OK
    METHOD: HttpMethod(value=GET)
    FROM: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_1096-xyorm/location
    BODY Content-Type: application/json
    BODY START
    {"deployment_model":"GLOBAL","location":"US-VA","hostname":"http://127.0.0.1:9090","ws_hostname":"ws://localhost:9090"}
    BODY END
Commit nr 3   ( from 2 )
  Freelist (pinned): 
  Freelist (true free): [3336, 13048] 
  Allocating file space for data:
    alloc [3336, 16]
    alloc [3352, 16]
    alloc [3368, 16]
    alloc [3384, 16]
    alloc [3400, 32]
    alloc [3432, 16]
    alloc [3448, 16]
    alloc [3464, 16]
    alloc [3480, 32]
    alloc [3512, 16]
    alloc [3528, 16]
    alloc [3544, 24]
    alloc [3568, 16]
    alloc [3584, 16]
    alloc [3600, 24]
    alloc [3624, 120]
    alloc [3744, 24]
    alloc [3768, 48]
    alloc [3816, 16]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 3/3
  Allocating file space for freelists:
    alloc [3832, 328]
  Freelist size after merge: 4   freelist space required: 320
  Final Freelist:
    [680..112]: 3    [872..120]: 3    [3000..336]: 3    [3936..12448]: 0

    DEBUG: [SYNC] App: update_hostname: http://127.0.0.1:9090 | ws://localhost:9090
    DEBUG: [REALM] REQUEST: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_1096-xyorm/auth/providers/local-userpass/register
    METHOD: HttpMethod(value=POST)
    BODY Content-Type: application/json; charset=utf-8
    BODY START
    {"email":"rk3pvom4twb1un4tp2q7@10gen.com","password":"password1234"}
    BODY END
    DEBUG: [REALM] RESPONSE: 201 Created
    METHOD: HttpMethod(value=POST)
    FROM: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_1096-xyorm/auth/providers/local-userpass/register
    BODY Content-Type: application/json
    BODY START
    {}
    BODY END
    DEBUG: [SYNC] App: log_in_with_credentials: app_id: client-reset-flx_1096-xyorm - app_version: APP_VERSION
    DEBUG: [SYNC] App: version info: platform: Mac OS X/JVM  version: Mac OS X/JVM - sdk version: 1.6.0-SNAPSHOT - core version: 13.0.0
    DEBUG: [REALM] REQUEST: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_1096-xyorm/auth/providers/local-userpass/login
    METHOD: HttpMethod(value=POST)
    BODY Content-Type: application/json; charset=utf-8
    BODY START
    {"provider":"local-userpass","username":"rk3pvom4twb1un4tp2q7@10gen.com","password":"password1234","options":{"device":{"appVersion":"APP_VERSION","appId":"client-reset-flx_1096-xyorm","platform":"Mac OS X/JVM","platformVersion":"12.6.1","sdkVersion":"1.6.0-SNAPSHOT","coreVersion":"13.0.0"}}}
    BODY END
    DEBUG: [REALM] RESPONSE: 200 OK
    METHOD: HttpMethod(value=POST)
    FROM: http://127.0.0.1:9090/api/client/v2.0/app/client-reset-flx_1096-xyorm/auth/providers/local-userpass/login
    BODY Content-Type: application/json
    BODY START
    {"access_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1NCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTBiYjEwOTY0MGY5MTI1NmZhNzUzIiwiZXhwIjoxNjY5OTkzMTUxLCJpYXQiOjE2Njk5OTEzNTEsImlzcyI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlZCIsInN0aXRjaF9kZXZJZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1MyIsInN1YiI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYSIsInR5cCI6ImFjY2VzcyJ9.CNukMXxmSb7dW5G9E86yHfETsGkF0TNBhT1TegbOByamYRxlgxd0cKeIdYfLFBou2jc4OYIw13XTUSaFTSer-zfa_EHdETwi3GoUm7i6g2YuN0p3QBZzH258eYWRLPm6ntjJNjJyzNYGahx-x-DXOYi7O_5meV1MKwAKaWR9t14uTO8rMz1YERQFT2WDCjB2rg6Z_2qfSercrHolJ10l4pqW5gCt73ARICCrE-ebrvHDltTnbULqr3RQt2CdZW30s_4bADecw4flXB-POyH09Q18CiDFPJ2B7bUD-kCeGQLAAjeaL8xcPa9Ho77YnrvibflLiQrrtyvjlRac94xnlQ","refresh_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1NCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RhdGEiOm51bGwsImJhYXNfZGV2aWNlX2lkIjoiNjM4YTBiYjcwOTY0MGY5MTI1NmZhN2VjIiwiYmFhc19kb21haW5faWQiOiI2MzhhMGJiMTA5NjQwZjkxMjU2ZmE3NTMiLCJiYWFzX2lkIjoiNjM4YTBiYjcwOTY0MGY5MTI1NmZhN2VkIiwiYmFhc19pZGVudGl0eSI6eyJpZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlNyIsInByb3ZpZGVyX3R5cGUiOiJsb2NhbC11c2VycGFzcyIsInByb3ZpZGVyX2lkIjoiNjM4YTBiYjQwOTY0MGY5MTI1NmZhNzk1In0sImV4cCI6MTY3NTE3NTM1MSwiaWF0IjoxNjY5OTkxMzUxLCJzdGl0Y2hfZGF0YSI6bnVsbCwic3RpdGNoX2RldklkIjoiNjM4YTBiYjcwOTY0MGY5MTI1NmZhN2VjIiwic3RpdGNoX2RvbWFpbklkIjoiNjM4YTBiYjEwOTY0MGY5MTI1NmZhNzUzIiwic3RpdGNoX2lkIjoiNjM4YTBiYjcwOTY0MGY5MTI1NmZhN2VkIiwic3RpdGNoX2lkZW50Ijp7ImlkIjoiNjM4YTBiYjcwOTY0MGY5MTI1NmZhN2U3IiwicHJvdmlkZXJfdHlwZSI6ImxvY2FsLXVzZXJwYXNzIiwicHJvdmlkZXJfaWQiOiI2MzhhMGJiNDA5NjQwZjkxMjU2ZmE3OTUifSwic3ViIjoiNjM4YTBiYjcwOTY0MGY5MTI1NmZhN2VhIiwidHlwIjoicmVmcmVzaCJ9.jFvUXnlVy9XSnBQ-Sm6i_uAH645epo5FdFZugno0n39Kfr4WLfmRaKBzDBTN9sjmIscciDbFbddqDMdI0AWyeLqIk1AbAh92KKIqR8JXgt1p2xxi7uY6jBO8gca8kVgmaw-2kPoIMi-094AJ8UPJf4UMzIAD8gPSIZJ0ToS9aGG3WQ2LTy_XDvgx4Nnod-zhay0gqfxgBobuYE4VNDJYK4c_T39ixAI0xWYN_HpB2JQIqzY0CSKw79Z3rwfUHto-ye6Behs0YTVc5IhTV3vTrSUp0KLLYcgBcX0WqaMwNxBKVa9xilP55snPEucMjZPv0IrctIf-ELHMsSbcBGKHPA","user_id":"638a0bb709640f91256fa7ea","device_id":"638a0bb709640f91256fa7ec"}
    BODY END
Commit nr 4   ( from 3 )
  Freelist (pinned): 
  Freelist (true free): [680, 112] [872, 120] [3000, 336] [3936, 12448] 
  Allocating file space for data:
    alloc [680, 16]
    alloc [696, 40]
    alloc [736, 16]
    alloc [752, 16]
    alloc [872, 16]
    alloc [888, 48]
    alloc [936, 16]
    alloc [952, 16]
    alloc [768, 8]
    alloc [776, 8]
    alloc [968, 24]
    alloc [784, 8]
    alloc [3000, 8]
    alloc [3008, 16]
    alloc [3024, 16]
    alloc [3040, 16]
    alloc [3056, 8]
    alloc [3064, 32]
    alloc [3096, 40]
    alloc [3136, 16]
    alloc [3152, 40]
    alloc [3192, 16]
    alloc [3208, 16]
    alloc [3224, 16]
    alloc [3240, 40]
    alloc [3280, 24]
    alloc [3936, 72]
    alloc [3304, 16]
  Freelist size after allocations: 2
  In-mem freelist before/after consolidation: 5/5
  Allocating file space for freelists:
    alloc [4008, 376]
  Freelist size after merge: 7   freelist space required: 368
  Final Freelist:
    [2472..120]: 4    [2752..40]: 4    [2896..24]: 4    [2960..40]: 4    [3320..16]: 0    [3744..192]: 4    [4128..12256]: 0

Commit nr 5   ( from 4 )
  Freelist (pinned): 
  Freelist (true free): [2472, 120] [2752, 40] [2896, 24] [2960, 40] [3320, 16] [3744, 192] [4128, 12256] 
  Allocating file space for data:
    alloc [4128, 1264]
    alloc [3320, 16]
    alloc [5392, 824]
    alloc [2752, 16]
    alloc [2472, 32]
    alloc [2960, 40]
    alloc [2896, 24]
    alloc [2504, 32]
    alloc [2536, 16]
  Freelist size after allocations: 4
  In-mem freelist before/after consolidation: 4/4
  Allocating file space for freelists:
    alloc [6216, 392]
  Freelist size after merge: 8   freelist space required: 384
  Final Freelist:
    [776..16]: 5    [2552..40]: 0    [2768..24]: 0    [3064..72]: 5    [3280..40]: 5    [3744..192]: 0    [3936..192]: 5    [6336..10048]: 0

Commit nr 6   ( from 5 )
  Freelist (pinned): 
  Freelist (true free): [776, 16] [2552, 40] [2768, 24] [3064, 72] [3280, 40] [3744, 384] [6336, 10048] 
  Allocating file space for data:
    alloc [776, 16]
    alloc [2552, 40]
    alloc [3280, 16]
    alloc [3064, 16]
    alloc [3744, 32]
    alloc [3776, 40]
    alloc [2768, 24]
    alloc [3296, 24]
    alloc [3080, 16]
  Freelist size after allocations: 3
  In-mem freelist before/after consolidation: 5/5
  Allocating file space for freelists:
    alloc [6336, 392]
  Freelist size after merge: 8   freelist space required: 384
  Final Freelist:
    [2472..80]: 6    [2896..24]: 6    [2960..40]: 6    [3024..16]: 6    [3096..40]: 0    [3816..312]: 0    [6216..120]: 6    [6456..9928]: 0

    DEBUG: [SYNC] App: do_authenticated_request: GET http://127.0.0.1:9090/api/client/v2.0/auth/profile
    DEBUG: [REALM] REQUEST: http://127.0.0.1:9090/api/client/v2.0/auth/profile
    METHOD: HttpMethod(value=GET)
    BODY Content-Type: null
    BODY START

    BODY END
    DEBUG: [REALM] RESPONSE: 200 OK
    METHOD: HttpMethod(value=GET)
    FROM: http://127.0.0.1:9090/api/client/v2.0/auth/profile
    BODY Content-Type: application/json
    BODY START
    {"user_id":"638a0bb709640f91256fa7ea","domain_id":"638a0bb109640f91256fa753","identities":[{"id":"638a0bb709640f91256fa7e7","provider_type":"local-userpass","provider_id":"638a0bb409640f91256fa795"}],"data":{"email":"rk3pvom4twb1un4tp2q7@10gen.com"},"type":"normal"}
    BODY END
Commit nr 7   ( from 6 )
  Freelist (pinned): 
  Freelist (true free): [2472, 80] [2896, 24] [2960, 40] [3024, 16] [3096, 40] [3816, 312] [6216, 120] [6456, 9928] 
  Allocating file space for data:
    alloc [3024, 16]
    alloc [2960, 40]
    alloc [3096, 16]
    alloc [2472, 16]
    alloc [2896, 24]
    alloc [2488, 16]
    alloc [2504, 16]
    alloc [6216, 40]
    alloc [3112, 8]
    alloc [3120, 16]
    alloc [2520, 32]
    alloc [6256, 40]
    alloc [3816, 24]
    alloc [6296, 40]
    alloc [3840, 16]
  Freelist size after allocations: 2
  In-mem freelist before/after consolidation: 8/8
  Allocating file space for freelists:
    alloc [6456, 424]
  Freelist size after merge: 10   freelist space required: 416
  Final Freelist:
    [1800..40]: 7    [1904..40]: 7    [2768..24]: 7    [3000..8]: 7    [3080..16]: 7    [3296..24]: 7    [3744..72]: 7    [3856..272]: 0    [6336..120]: 7    [6592..9792]: 0

Commit nr 8   ( from 7 )
  Freelist (pinned): 
  Freelist (true free): [1800, 40] [1904, 40] [2768, 24] [3000, 8] [3080, 16] [3296, 24] [3744, 72] [3856, 272] [6336, 120] [6592, 9792] 
  Allocating file space for data:
    alloc [3080, 16]
    alloc [6336, 56]
    alloc [1800, 16]
    alloc [1904, 16]
    alloc [6392, 32]
    alloc [3856, 40]
    alloc [2768, 24]
    alloc [3296, 24]
    alloc [6424, 16]
  Freelist size after allocations: 7
  In-mem freelist before/after consolidation: 5/5
  Allocating file space for freelists:
    alloc [6592, 456]
  Freelist size after merge: 12   freelist space required: 448
  Final Freelist:
    [1816..24]: 0    [1920..24]: 0    [2520..32]: 8    [3000..8]: 0    [3040..16]: 8    [3744..72]: 0    [3816..40]: 8    [3896..232]: 0    [6256..80]: 8    [6440..16]: 0    [6456..136]: 8    [6728..9656]: 0

Commit nr 9   ( from 8 )
  Freelist (pinned): 
  Freelist (true free): [1816, 24] [1920, 24] [2520, 32] [3000, 8] [3040, 16] [3744, 112] [3896, 232] [6256, 80] [6440, 152] [6728, 9656] 
  Allocating file space for data:
    alloc [1816, 24]
    alloc [3040, 16]
  Freelist size after allocations: 8
  In-mem freelist before/after consolidation: 3/3
  Allocating file space for freelists:
    alloc [6728, 440]
  Freelist size after merge: 11   freelist space required: 432
  Final Freelist:
    [1920..24]: 0    [2520..32]: 0    [3000..8]: 0    [3296..24]: 9    [3744..112]: 0    [3896..232]: 0    [6256..80]: 0    [6424..16]: 9    [6440..152]: 0    [6592..136]: 9    [6864..9520]: 0

Commit nr 10   ( from 9 )
  Freelist (pinned): 
  Freelist (true free): [1920, 24] [2520, 32] [3000, 8] [3296, 24] [3744, 112] [3896, 232] [6256, 80] [6424, 304] [6864, 9520] 
  Allocating file space for data:
    alloc [1920, 24]
    alloc [2520, 16]
  Freelist size after allocations: 8
  In-mem freelist before/after consolidation: 3/3
  Allocating file space for freelists:
    alloc [6864, 440]
  Freelist size after merge: 11   freelist space required: 432
  Final Freelist:
    [1816..24]: 10    [2536..16]: 0    [3000..8]: 0    [3040..16]: 10    [3296..24]: 0    [3744..112]: 0    [3896..232]: 0    [6256..80]: 0    [6424..304]: 0    [6728..136]: 10    [7000..9384]: 0

    -----------------> user creation done
Commit nr 11   ( from 10 )
  Freelist (pinned): 
  Freelist (true free): [1816, 24] [2536, 16] [3000, 8] [3040, 16] [3296, 24] [3744, 112] [3896, 232] [6256, 80] [6424, 440] [7000, 9384] 
  Allocating file space for data:
    alloc [6424, 144]
    alloc [2536, 16]
    alloc [3040, 16]
    alloc [6256, 32]
    alloc [3744, 40]
    alloc [1816, 24]
    alloc [3296, 24]
    alloc [6288, 16]
  Freelist size after allocations: 6
  In-mem freelist before/after consolidation: 7/7
  Allocating file space for freelists:
    alloc [7000, 472]
  Freelist size after merge: 13   freelist space required: 464
  Final Freelist:
    [1920..24]: 11    [2520..16]: 11    [2768..24]: 11    [3000..8]: 0    [3056..8]: 11    [3784..72]: 0    [3856..40]: 11    [3896..232]: 0    [6304..32]: 0    [6392..32]: 11    [6568..296]: 0    [6864..136]: 11    [7152..9232]: 0

    INFO: [REALM] Realm opened: /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
    DEBUG: [SYNC] Realm sync client ([realm-core-13.0.0])
    DEBUG: [SYNC] Supported protocol versions: 2-7
    DEBUG: [SYNC] Platform: macOS Darwin 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64
    DEBUG: [SYNC] Build mode: Release
    DEBUG: [SYNC] Config param: one_connection_per_session = true
    DEBUG: [SYNC] Config param: connect_timeout = 120000 ms
    DEBUG: [SYNC] Config param: connection_linger_time = 30000 ms
    DEBUG: [SYNC] Config param: ping_keepalive_period = 60000 ms
    DEBUG: [SYNC] Config param: pong_keepalive_timeout = 120000 ms
    DEBUG: [SYNC] Config param: fast_reconnect_limit = 60000 ms
    DEBUG: [SYNC] Config param: disable_upload_compaction = false
    DEBUG: [SYNC] Config param: disable_sync_to_disk = false
    DEBUG: [SYNC] User agent string: 'RealmSync/13.0.0 (macOS Darwin 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64)  '
Commit nr 2   ( from 1 )
  Freelist (pinned): 
  Freelist (true free): 
  Allocating file space for data:
        ** File extension to 16384     after request for 40
    alloc [24, 40]
    alloc [64, 16]
    alloc [80, 72]
    alloc [152, 8]
    alloc [160, 16]
    alloc [176, 24]
    alloc [200, 8]
    alloc [208, 8]
    alloc [216, 16]
    alloc [232, 8]
    alloc [240, 16]
    alloc [256, 16]
    alloc [272, 16]
    alloc [288, 24]
    alloc [312, 64]
    alloc [376, 16]
    alloc [392, 16]
    alloc [408, 16]
    alloc [424, 16]
    alloc [440, 16]
    alloc [456, 8]
    alloc [464, 8]
    alloc [472, 16]
    alloc [488, 16]
    alloc [504, 8]
    alloc [512, 8]
    alloc [520, 16]
    alloc [536, 16]
    alloc [552, 8]
    alloc [560, 8]
    alloc [568, 16]
    alloc [584, 16]
    alloc [600, 16]
    alloc [616, 16]
    alloc [632, 16]
    alloc [648, 16]
    alloc [664, 16]
    alloc [680, 56]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 0/0
  Allocating file space for freelists:
    alloc [736, 280]
  Freelist size after merge: 1   freelist space required: 272
  Final Freelist:
    [832..15552]: 0

Commit nr 3   ( from 2 )
  Freelist (pinned): 
  Freelist (true free): [832, 15552] 
  Allocating file space for data:
    alloc [832, 104]
    alloc [936, 16]
    alloc [952, 32]
    alloc [984, 16]
    alloc [1000, 16]
    alloc [1016, 16]
    alloc [1032, 16]
    alloc [1048, 16]
    alloc [1064, 16]
    alloc [1080, 16]
    alloc [1096, 64]
    alloc [1160, 16]
    alloc [1176, 168]
    alloc [1344, 16]
    alloc [1360, 32]
    alloc [1392, 24]
    alloc [1416, 8]
    alloc [1424, 8]
    alloc [1432, 8]
    alloc [1440, 8]
    alloc [1448, 8]
    alloc [1456, 24]
    alloc [1480, 8]
    alloc [1488, 16]
    alloc [1504, 24]
    alloc [1528, 32]
    alloc [1560, 48]
    alloc [1608, 120]
    alloc [1728, 16]
    alloc [1744, 104]
    alloc [1848, 16]
    alloc [1864, 64]
    alloc [1928, 24]
    alloc [1952, 8]
    alloc [1960, 8]
    alloc [1968, 8]
    alloc [1976, 8]
    alloc [1984, 16]
    alloc [2000, 8]
    alloc [2008, 8]
    alloc [2016, 16]
    alloc [2032, 8]
    alloc [2040, 8]
    alloc [2048, 8]
    alloc [2056, 24]
    alloc [2080, 8]
    alloc [2088, 40]
    alloc [2128, 64]
    alloc [2192, 40]
    alloc [2232, 16]
    alloc [2248, 88]
    alloc [2336, 16]
    alloc [2352, 8]
    alloc [2360, 16]
    alloc [2376, 16]
    alloc [2392, 8]
    alloc [2400, 16]
    alloc [2416, 16]
    alloc [2432, 8]
    alloc [2440, 8]
    alloc [2448, 24]
    alloc [2472, 56]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 6/6
  Allocating file space for freelists:
    alloc [2528, 376]
  Freelist size after merge: 7   freelist space required: 368
  Final Freelist:
    [24..40]: 3    [200..72]: 3    [312..152]: 3    [472..40]: 3    [520..64]: 3    [680..152]: 3    [2648..13736]: 0

Commit nr 4   ( from 3 )
  Freelist (pinned): 
  Freelist (true free): [24, 40] [200, 72] [312, 152] [472, 40] [520, 64] [680, 152] [2648, 13736] 
  Allocating file space for data:
    alloc [24, 8]
    alloc [32, 16]
    alloc [48, 16]
    alloc [472, 8]
    alloc [480, 8]
    alloc [488, 24]
    alloc [520, 16]
    alloc [536, 16]
    alloc [200, 24]
    alloc [2648, 120]
    alloc [552, 16]
    alloc [312, 32]
    alloc [568, 16]
    alloc [224, 8]
    alloc [232, 16]
    alloc [344, 16]
    alloc [248, 8]
    alloc [256, 16]
    alloc [360, 16]
    alloc [376, 8]
    alloc [384, 8]
    alloc [392, 32]
    alloc [680, 56]
  Freelist size after allocations: 3
  In-mem freelist before/after consolidation: 3/3
  Allocating file space for freelists:
    alloc [2768, 360]
  Freelist size after merge: 6   freelist space required: 352
  Final Freelist:
    [424..40]: 0    [736..96]: 0    [1416..112]: 4    [1608..120]: 4    [2232..416]: 4    [2888..13496]: 0

Commit nr 5   ( from 4 )
  Freelist (pinned): 
  Freelist (true free): [424, 40] [736, 96] [1416, 112] [1608, 120] [2232, 416] [2888, 13496] 
  Allocating file space for data:
    alloc [2888, 232]
    alloc [424, 8]
    alloc [432, 16]
    alloc [448, 8]
    alloc [736, 16]
    alloc [752, 24]
    alloc [776, 16]
    alloc [792, 16]
    alloc [456, 8]
    alloc [1416, 16]
    alloc [1432, 16]
    alloc [1448, 40]
    alloc [1488, 16]
    alloc [1608, 32]
    alloc [808, 8]
    alloc [1640, 40]
    alloc [1504, 24]
    alloc [816, 8]
    alloc [824, 8]
    alloc [1680, 8]
    alloc [1688, 8]
    alloc [2232, 24]
    alloc [1696, 8]
    alloc [2256, 16]
    alloc [2272, 16]
    alloc [1704, 24]
    alloc [2288, 40]
    alloc [2328, 120]
    alloc [2448, 16]
    alloc [2464, 24]
    alloc [2488, 8]
    alloc [2496, 24]
    alloc [2520, 24]
    alloc [2544, 8]
    alloc [2552, 8]
    alloc [2560, 16]
    alloc [2576, 8]
    alloc [2584, 16]
    alloc [2600, 24]
    alloc [3120, 40]
    alloc [3160, 16]
    alloc [3176, 104]
    alloc [3280, 16]
    alloc [3296, 56]
    alloc [2624, 24]
    alloc [3352, 8]
    alloc [3360, 8]
    alloc [3368, 8]
    alloc [3376, 8]
    alloc [3384, 8]
    alloc [3392, 8]
    alloc [3400, 24]
    alloc [3424, 8]
    alloc [3432, 16]
    alloc [3448, 24]
    alloc [3472, 32]
    alloc [3504, 56]
    alloc [3560, 120]
    alloc [3680, 24]
    alloc [3704, 104]
    alloc [3808, 16]
    alloc [3824, 200]
    alloc [4024, 16]
    alloc [4040, 8]
    alloc [4048, 16]
    alloc [4064, 16]
    alloc [4080, 8]
    alloc [4088, 8]
    alloc [4096, 40]
    alloc [4136, 56]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 7/7
  Allocating file space for freelists:
    alloc [4192, 392]
  Freelist size after merge: 8   freelist space required: 384
  Final Freelist:
    [224..48]: 5    [312..112]: 5    [464..8]: 5    [552..32]: 5    [680..56]: 5    [832..104]: 5    [2768..120]: 5    [4312..12072]: 0

Commit nr 6   ( from 5 )
  Freelist (pinned): 
  Freelist (true free): [224, 48] [312, 112] [464, 8] [552, 32] [680, 56] [832, 104] [2768, 120] [4312, 12072] 
  Allocating file space for data:
    alloc [4312, 648]
    alloc [552, 16]
    alloc [680, 56]
    alloc [568, 16]
    alloc [224, 16]
    alloc [240, 16]
    alloc [256, 16]
    alloc [832, 16]
    alloc [848, 16]
    alloc [864, 16]
    alloc [4960, 64]
    alloc [880, 16]
    alloc [312, 56]
    alloc [896, 16]
    alloc [2768, 32]
    alloc [912, 24]
    alloc [464, 8]
    alloc [368, 8]
    alloc [376, 8]
    alloc [384, 16]
    alloc [400, 8]
    alloc [408, 16]
    alloc [2800, 16]
    alloc [2816, 24]
    alloc [5024, 32]
    alloc [5056, 120]
    alloc [2840, 16]
    alloc [5176, 200]
    alloc [2856, 8]
    alloc [5376, 64]
    alloc [2864, 24]
    alloc [5440, 8]
    alloc [5448, 8]
    alloc [5456, 8]
    alloc [5464, 8]
    alloc [5472, 8]
    alloc [5480, 8]
    alloc [5488, 8]
    alloc [5496, 24]
    alloc [5520, 8]
    alloc [5528, 40]
    alloc [5568, 64]
    alloc [5632, 40]
    alloc [5672, 16]
    alloc [5688, 200]
    alloc [5888, 16]
    alloc [5904, 64]
    alloc [5968, 24]
    alloc [5992, 8]
    alloc [6000, 8]
    alloc [6008, 8]
    alloc [6016, 8]
    alloc [6024, 8]
    alloc [6032, 8]
    alloc [6040, 8]
    alloc [6048, 8]
    alloc [6056, 8]
    alloc [6064, 16]
    alloc [6080, 24]
    alloc [6104, 8]
    alloc [6112, 40]
    alloc [6152, 64]
    alloc [6216, 40]
    alloc [6256, 32]
    alloc [6288, 120]
    alloc [6408, 16]
    alloc [6424, 24]
    alloc [6448, 8]
    alloc [6456, 16]
    alloc [6472, 16]
    alloc [6488, 8]
    alloc [6496, 8]
    alloc [6504, 48]
    alloc [6552, 56]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 4/4
  Allocating file space for freelists:
    alloc [6608, 344]
  Freelist size after merge: 5   freelist space required: 336
  Final Freelist:
    [936..224]: 6    [2888..232]: 6    [3680..144]: 6    [4024..288]: 6    [6728..9656]: 0

    INFO: [SYNC] Connection[1]: Session[1]: Binding '/Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm' to ''
    DEBUG: [SYNC] Connection[1]: Session[1]: Activating
    INFO: [SYNC] Connection[1]: Session[1]: client_reset_config = false, Realm exists = true, client reset = false
    DEBUG: [SYNC] Connection[1]: Session[1]: client_file_ident = 0, client_file_ident_salt = 0
    DEBUG: [SYNC] Connection[1]: Session[1]: last_version_available  = 6
    DEBUG: [SYNC] Connection[1]: Session[1]: progress_server_version = 0
    DEBUG: [SYNC] Connection[1]: Session[1]: progress_client_version = 0
    DEBUG: [SYNC] Connection[1]: Session[1]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 189, reliable_download_progress = false, snapshot version = 6
    DEBUG: [SYNC] Connection[1]: Session[1]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 189, reliable_download_progress = false, snapshot version = 6
    DEBUG: [SYNC] Connection[1]: Session[1]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 189, reliable_download_progress = false, snapshot version = 6
    DEBUG: [SYNC] WebSocket::Websocket()
    INFO: [SYNC] Resolving 'localhost:9090'
    INFO: [SYNC] Connecting to endpoint '::1:9090' (1/2)
    INFO: [SYNC] Connected to endpoint '::1:9090' (from '::1:52496')
    DEBUG: [SYNC] WebSocket::initiate_client_handshake()
    TRACE: [SYNC] HTTP request =
    GET /api/client/v2.0/app/client-reset-flx_1096-xyorm/realm-sync?baas_at=eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1NCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTBiYjEwOTY0MGY5MTI1NmZhNzUzIiwiZXhwIjoxNjY5OTkzMTUxLCJpYXQiOjE2Njk5OTEzNTEsImlzcyI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlZCIsInN0aXRjaF9kZXZJZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1MyIsInN1YiI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYSIsInR5cCI6ImFjY2VzcyJ9.CNukMXxmSb7dW5G9E86yHfETsGkF0TNBhT1TegbOByamYRxlgxd0cKeIdYfLFBou2jc4OYIw13XTUSaFTSer-zfa_EHdETwi3GoUm7i6g2YuN0p3QBZzH258eYWRLPm6ntjJNjJyzNYGahx-x-DXOYi7O_5meV1MKwAKaWR9t14uTO8rMz1YERQFT2WDCjB2rg6Z_2qfSercrHolJ10l4pqW5gCt73ARICCrE-ebrvHDltTnbULqr3RQt2CdZW30s_4bADecw4flXB-POyH09Q18CiDFPJ2B7bUD-kCeGQLAAjeaL8xcPa9Ho77YnrvibflLiQrrtyvjlRac94xnlQ HTTP/1.1
    Host: localhost:9090
    Connection: Upgrade
    Sec-WebSocket-Key: nhtROK5qdLbRcFHeBFOilg==
    Sec-WebSocket-Protocol: com.mongodb.realm-query-sync/7, com.mongodb.realm-query-sync/6, com.mongodb.realm-query-sync/5, com.mongodb.realm-query-sync/4, com.mongodb.realm-query-sync/3, com.mongodb.realm-query-sync/2
    Sec-WebSocket-Version: 13
    Upgrade: websocket
    User-Agent: RealmSync/13.0.0 (macOS Darwin 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64)


    DEBUG: [SYNC] WebSocket::handle_http_response_received()
    TRACE: [SYNC] HTTP response = HTTP/1.1 101 Switching Protocols
    Cache-Control: no-cache, no-store, must-revalidate
    Connection: Upgrade
    Sec-Websocket-Accept: vSfwBpk7bzAM0n0GU7zuGjlc5yk=
    Sec-Websocket-Protocol: com.mongodb.realm-query-sync/7
    Strict-Transport-Security: max-age=86400; includeSubdomains;
    Upgrade: websocket
    Vary: Origin
    X-Appservices-Request-Id: 638a0bb809640f91256fa7f0
    X-Frame-Options: DENY


    INFO: [SYNC] Connection[1]: Negotiated protocol version: 7
    DEBUG: [SYNC] Connection[1]: Will emit a ping in 205 milliseconds
Commit nr 7   ( from 5 )
  Freelist (pinned): [936, 224] <6>  [2888, 232] <6>  [3680, 144] <6>  [4024, 288] <6>  
  Freelist (true free): [6728, 9656] 
  Allocating file space for data:
    alloc [6728, 16]
    alloc [6744, 16]
    alloc [6760, 16]
    alloc [6776, 8]
    alloc [6784, 8]
    alloc [6792, 16]
    alloc [6808, 24]
    alloc [6832, 16]
    alloc [6848, 16]
    alloc [6864, 24]
    alloc [6888, 120]
    alloc [7008, 16]
    alloc [7024, 24]
    alloc [7048, 16]
    alloc [7064, 16]
    alloc [7080, 16]
    alloc [7096, 16]
    alloc [7112, 16]
    alloc [7128, 16]
    alloc [7144, 8]
    alloc [7152, 16]
    alloc [7168, 32]
    alloc [7200, 16]
    alloc [7216, 16]
    alloc [7232, 16]
    alloc [7248, 56]
    alloc [7304, 16]
    alloc [7320, 16]
    alloc [7336, 24]
    alloc [7360, 40]
    alloc [7400, 32]
    alloc [7432, 80]
    alloc [7512, 16]
    alloc [7528, 24]
    alloc [7552, 8]
    alloc [7560, 16]
    alloc [7576, 16]
    alloc [7592, 8]
    alloc [7600, 8]
    alloc [7608, 56]
    alloc [7664, 56]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 8/8
  Allocating file space for freelists:
    alloc [7720, 472]
  Freelist size after merge: 13   freelist space required: 464
  Final Freelist:
    [24..40]: 7    [200..24]: 7    [472..40]: 7    [520..32]: 7    [936..224]: 6    [1952..128]: 7    [2192..40]: 7    [2648..120]: 7    [2888..232]: 6    [3680..144]: 6    [4024..288]: 6    [6256..472]: 7    [7872..8512]: 0

Commit nr 8   ( from 5 )
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [472, 40] <7>  [520, 32] <7>  [936, 224] <6>  [1952, 128] <7>  [2192, 40] <7>  [2648, 120] <7>  [2888, 232] <6>  [3680, 144] <6>  [4024, 288] <6>  [6256, 472] <7>  
  Freelist (true free): [7872, 8512] 
  Allocating file space for data:
    alloc [7872, 8]
    alloc [7880, 16]
    alloc [7896, 24]
    alloc [7920, 8]
    alloc [7928, 16]
    alloc [7944, 16]
    alloc [7960, 8]
    alloc [7968, 8]
    alloc [7976, 64]
    alloc [8040, 176]
    DEBUG: [SYNC] Connection[1]: Session[1]: Received: IDENT(client_file_ident=18, client_file_ident_salt=8876210310576525279)
  Freelist size after allocations: 1
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [6256, 472]  version: 7 -> 0
  In-mem freelist before/after consolidation: 1/1
  Allocating file space for freelists:
    alloc [8216, 488]
  Freelist size after merge: 14   freelist space required: 480
  Final Freelist:
    [24..40]: 7    [200..24]: 7    [472..40]: 7    [520..32]: 7    [936..224]: 6    [1952..128]: 7    [2192..40]: 7    [2648..120]: 7    [2888..232]: 6    [3680..144]: 6    [4024..288]: 6    [6256..472]: 0    [7432..440]: 8    [8368..8016]: 0

    DEBUG: [SYNC] Connection[1]: Session[1]: Sending: IDENT(client_file_ident=18, client_file_ident_salt=8876210310576525279, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0, query_version: 0 query_size: 2, query: "{}")
    DEBUG: [SYNC] Connection[1]: Session[1]: Sending: MARK(request_ident=1)
    TRACE: [SYNC] Connection[1]: Download message compression: is_body_compressed = false, compressed_body_size=230, uncompressed_body_size=230
    DEBUG: [SYNC] Connection[1]: Received: DOWNLOAD CHANGESET(server_version=1, client_version=0, origin_timestamp=249920952143, origin_file_ident=1, original_changeset_size=203, changeset_size=203)
Commit nr 9   ( from 5 )
    TRACE: [SYNC] Connection[1]: Changeset: 3F 00 0F 46 6C 65 78 43 68 69 6C 64 4F 62 6A 65 63 74 3F 01 03 5F 69 64 3F 02 12 46 6C 65 78 45 6D 62 65 64 64 65 64 4F 62 6A 65 63 74 3F 03 10 46 6C 65 78 50 61 72 65 6E 74 4F 62 6A 65 63 74 3F 04 04 6E 61 6D 65 3F 05 08 72 65 61 6C 6D 5F 69 64 3F 06 0C 65 6D 62 65 64 64 65 64 4E 61 6D 65 3F 07 03 61 67 65 3F 08 05 63 68 69 6C 64 3F 09 08 65 6D 62 65 64 64 65 64 3F 0A 07 73 65 63 74 69 6F 6E 00 00 00 01 0A 00 00 02 01 00 03 00 01 0A 00 06 00 04 03 00 00 06 00 05 03 01 00 06 02 06 03 00 00 06 03 07 01 00 00 06 03 08 09 01 00 00 06 03 09 09 01 00 02 06 03 04 03 00 00 06 03 05 03 01 00 06 03 0A 01 00 00
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [472, 40] <7>  [520, 32] <7>  [936, 224] <6>  [1952, 128] <7>  [2192, 40] <7>  [2648, 120] <7>  [2888, 232] <6>  [3680, 144] <6>  [4024, 288] <6>  [7432, 440] <8>  
  Freelist (true free): [6256, 472] [8368, 8016] 
  Allocating file space for data:
    alloc [6256, 8]
    DEBUG: [SYNC] Connection[1]: Session[1]: Received: DOWNLOAD(download_server_version=1, download_client_version=0, latest_server_version=1, latest_server_version_salt=0, upload_client_version=0, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=0, num_changesets=1, ...)
    alloc [6264, 8]
    alloc [6272, 16]
    alloc [6288, 16]
    alloc [6304, 16]
    alloc [6320, 16]
    alloc [6336, 16]
    alloc [6352, 16]
    alloc [6368, 120]
    alloc [6488, 16]
    alloc [6504, 8]
    alloc [6512, 8]
    alloc [6520, 16]
    alloc [6536, 8]
    alloc [6544, 16]
    alloc [6560, 8]
    alloc [6568, 24]
    alloc [6592, 40]
    alloc [6632, 16]
    alloc [6648, 16]
    alloc [6664, 8]
    alloc [6672, 16]
    alloc [6688, 16]
    alloc [8368, 16]
    alloc [8384, 216]
    alloc [8600, 16]
    alloc [6704, 24]
    alloc [8616, 40]
    alloc [8656, 32]
    alloc [8688, 128]
    alloc [8816, 16]
    alloc [8832, 24]
    alloc [8856, 8]
    alloc [8864, 16]
    alloc [8880, 16]
    alloc [8896, 8]
    alloc [8904, 8]
    alloc [8912, 72]
    alloc [8984, 176]
  Freelist size after allocations: 1
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [7432, 440]  version: 8 -> 0
  In-mem freelist before/after consolidation: 10/10
  Allocating file space for freelists:
    alloc [9160, 632]
  Freelist size after merge: 23   freelist space required: 624
  Final Freelist:
    [24..40]: 7    [200..24]: 7    [368..56]: 9    [464..8]: 9    [472..40]: 7    [520..32]: 7    [936..224]: 6    [1952..128]: 7    [2192..40]: 7    [2648..120]: 7    [2800..16]: 9    [2888..232]: 6    [3680..144]: 6    [4024..288]: 6    [5056..120]: 9    [5440..80]: 9    [5632..40]: 9    [5992..112]: 9    [6216..40]: 9    [7400..32]: 9    [7432..440]: 0    [7872..496]: 9    [9352..7032]: 0

    TRACE: [SYNC] Connection[1]: Session[1]: Created new pending bootstrap object for query version 0
    TRACE: [SYNC] Connection[1]: Session[1]: Finalized pending bootstrap object for query version 0
    INFO: [SYNC] Connection[1]: Session[1]: Begin processing pending FLX bootstrap for query version 0. (changesets: 1, original total changeset size: 203)
Commit nr 10   ( from 5 )
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [368, 56] <9>  [464, 8] <9>  [472, 40] <7>  [520, 32] <7>  [936, 224] <6>  [1952, 128] <7>  [2192, 40] <7>  [2648, 120] <7>  [2800, 16] <9>  [2888, 232] <6>  [3680, 144] <6>  [4024, 288] <6>  [5056, 120] <9>  [5440, 80] <9>  [5632, 40] <9>  [5992, 112] <9>  [6216, 40] <9>  [7400, 32] <9>  [7872, 496] <9>  
  Freelist (true free): [7432, 440] [9352, 7032] 
  Allocating file space for data:
    alloc [7432, 16]
    alloc [7448, 72]
    alloc [7520, 16]
    alloc [7536, 48]
    alloc [7584, 24]
    alloc [7608, 8]
    alloc [7616, 24]
    alloc [7640, 24]
    alloc [7664, 32]
    alloc [7696, 48]
    alloc [9352, 120]
    alloc [7744, 16]
    alloc [9472, 120]
    alloc [7760, 16]
    alloc [9592, 64]
    alloc [7776, 24]
    alloc [7800, 8]
    alloc [7808, 24]
    alloc [9656, 24]
    alloc [7832, 40]
    alloc [9680, 64]
    alloc [9744, 120]
    alloc [9864, 8]
    alloc [9872, 8]
    alloc [9880, 8]
    alloc [9888, 16]
    alloc [9904, 8]
    alloc [9912, 16]
    alloc [9928, 16]
    TRACE: [SYNC] Connection[1]: Session[1]: Scanning incoming changeset [1/1] (12 instructions)
    alloc [9944, 120]
    TRACE: [SYNC] Connection[1]: Session[1]: Scanning local changeset [1/1] (11 instructions)
    alloc [10064, 8]
    alloc [10072, 8]
    alloc [10080, 8]
    alloc [10088, 8]
    alloc [10096, 8]
    alloc [10104, 8]
    alloc [10112, 8]
    alloc [10120, 24]
    alloc [10144, 40]
    alloc [10184, 8]
    alloc [10192, 8]
    alloc [10200, 8]
    alloc [10208, 8]
    TRACE: [SYNC] Connection[1]: Session[1]: Indexing incoming changeset [1/1] (12 instructions)
    alloc [10216, 8]
    DEBUG: [SYNC] Connection[1]: Session[1]: Finished changeset indexing (incoming: 1 changeset(s) / 12 instructions, local: 1 changeset(s) / 11 instructions, conflict group(s): 1)
    alloc [10224, 8]
    alloc [10232, 8]
    alloc [10240, 24]
    alloc [10264, 40]
    alloc [10304, 32]
    alloc [10336, 56]
    alloc [10392, 16]
    alloc [10408, 24]
    alloc [10432, 144]
    alloc [10576, 24]
    alloc [10600, 16]
    alloc [10616, 16]
    alloc [10632, 56]
    alloc [10688, 176]
  Freelist size after allocations: 1
 - earlier freelist: 5  not free at that point
    TRACE: [SYNC] Connection[1]: Session[1]: Transforming local changeset [1/1] through 1 incoming changeset(s) with 1 conflict group(s)
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [368, 56]  version: 9 -> 5
 - earlier freelist: 5  backdating [464, 8]  version: 9 -> 5
    DEBUG: [SYNC] Connection[1]: Session[1]: Finished transforming 1 local changesets through 1 incoming changesets (11 vs 12 instructions, in 1 conflict groups)
 - earlier freelist: 5  not free at that point
    TRACE: [SYNC] Connection[1]: Session[1]: Removing pending bootstrap obj for query version 0
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [2800, 16]  version: 9 -> 5
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [5056, 120]  version: 9 -> 0
 - earlier freelist: 5  backdating [5440, 80]  version: 9 -> 0
 - earlier freelist: 5  backdating [5632, 40]  version: 9 -> 0
 - earlier freelist: 5  backdating [5992, 112]  version: 9 -> 0
 - earlier freelist: 5  backdating [6216, 40]  version: 9 -> 0
 - earlier freelist: 5  backdating [7400, 32]  version: 9 -> 0
 - earlier freelist: 5  backdating [7872, 496]  version: 9 -> 0
  In-mem freelist before/after consolidation: 13/13
  Allocating file space for freelists:
    alloc [10864, 824]
  Freelist size after merge: 35   freelist space required: 816
  Final Freelist:
    DEBUG: [SYNC] Connection[1]: Session[1]: Integrated 1 changesets out of 1
    [24..40]: 7    [200..24]: 7    [368..56]: 5    [464..8]: 5    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2800..16]: 5    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [4024..288]: 6    [5056..120]: 0    [5440..80]: 0    [5632..40]: 0    [5992..112]: 0    [6216..40]: 0    [6256..472]: 10    [7400..32]: 0    [7872..496]: 0    [8368..984]: 10    [11112..5272]: 0

    INFO: [SYNC] Connection[1]: Session[1]: Integrated 1 changesets from pending bootstrap for query version 0, producing client version 10 in 2 ms. 0 changesets remaining in bootstrap
Commit nr 11   ( from 5 )
    DEBUG: [SYNC] Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 0, uploadable = 189, reliable_download_progress = true, snapshot version = 10
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [4024, 288] <6>  [6256, 472] <10>  [8368, 984] <10>  
  Freelist (true free): [368, 56] [464, 8] [2800, 16] [5056, 120] [5440, 80] [5632, 40] [5992, 112] [6216, 40] [7400, 32] [7872, 496] [11112, 5272] 
  Allocating file space for data:
    alloc [2800, 16]
    alloc [368, 24]
    alloc [5056, 120]
    alloc [7400, 32]
    alloc [5440, 24]
    alloc [392, 16]
    alloc [5464, 24]
    alloc [5992, 24]
    alloc [408, 16]
    alloc [5488, 16]
    alloc [7872, 64]
    alloc [7936, 176]
  Freelist size after allocations: 7
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [6256, 472]  version: 10 -> 0
 - earlier freelist: 5  backdating [8368, 984]  version: 10 -> 0
  In-mem freelist before/after consolidation: 5/5
  Allocating file space for freelists:
    alloc [11112, 840]
  Freelist size after merge: 36   freelist space required: 832
  Final Freelist:
    DEBUG: [SYNC] Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 0, uploadable = 189, reliable_download_progress = true, snapshot version = 11
    [24..40]: 7    [200..24]: 7    [464..8]: 0    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [4024..288]: 6    [5504..16]: 0    [5632..40]: 0    [6016..88]: 0    [6216..40]: 0    [6256..472]: 0    [6744..16]: 11    [6808..24]: 11    [6888..120]: 11    [8112..256]: 0    [8368..984]: 0    [10304..128]: 11    [10576..536]: 11    [11360..5024]: 0
    DEBUG: [SYNC] Connection[1]: Session[1]: Received: MARK(request_ident=1)
    TRACE: [SYNC] Connection[1]: Session[1]: Limiting UPLOAD message up to version 6 to send QUERY version 1

    DEBUG: [SYNC] Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=6, progress_server_version=0, locked_server_version=1, num_changesets=1)
    DEBUG: [SYNC] Connection[1]: Session[1]: Fetching changeset for upload (client_version=5, server_version=0, changeset_size=189, origin_timestamp=249920952085, origin_file_ident=0)
    TRACE: [SYNC] Connection[1]: Session[1]: Changeset: 3F 00 0F 46 6C 65 78 43 68 69 6C 64 4F 62 6A 65 63 74 3F 01 03 5F 69 64 00 00 00 01 0A 00 3F 02 12 46 6C 65 78 45 6D 62 65 64 64 65 64 4F 62 6A 65 63 74 00 02 01 3F 03 10 46 6C 65 78 50 61 72 65 6E 74 4F 62 6A 65 63 74 00 03 00 01 0A 00 3F 04 07 73 65 63 74 69 6F 6E 3F 05 00 06 00 04 01 00 00 3F 06 04 6E 61 6D 65 06 00 06 03 00 00 3F 07 0C 65 6D 62 65 64 64 65 64 4E 61 6D 65 06 02 07 03 00 00 06 03 04 01 00 00 06 03 06 03 00 00 3F 08 03 61 67 65 06 03 08 01 00 00 3F 09 05 63 68 69 6C 64 06 03 09 09 01 00 00 3F 0A 08 65 6D 62 65 64 64 65 64 06 03 0A 09 01 00 02
    DEBUG: [SYNC] Connection[1]: Session[1]: Sending: QUERY(query_version=1, query_size=68, query="{"FlexParentObject":"(section == 2109535858 and name == \"blue\" )"}"
    DEBUG: [SYNC] Connection[1]: Session[1]: Sending: MARK(request_ident=2)
    DEBUG: [SYNC] Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=10, progress_server_version=1, locked_server_version=1, num_changesets=0)
Commit nr 12   ( from 5 )
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [4024, 288] <6>  [6744, 16] <11>  [6808, 24] <11>  [6888, 120] <11>  [10304, 128] <11>  [10576, 536] <11>  
    TRACE: [SYNC] Connection[1]: Download message compression: is_body_compressed = false, compressed_body_size=0, uncompressed_body_size=0
  Freelist (true free): [464, 8] [5504, 16] [5632, 40] [6016, 88] [6216, 512] [8112, 1240] [11360, 5024] 
  Allocating file space for data:
    alloc [464, 8]
    DEBUG: [SYNC] Connection[1]: Session[1]: Received: DOWNLOAD(download_server_version=2, download_client_version=5, latest_server_version=2, latest_server_version_salt=8641326234849283566, upload_client_version=6, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=0, num_changesets=0, ...)
    alloc [5504, 16]
    alloc [5632, 8]
    alloc [5640, 8]
    alloc [6016, 16]
    alloc [6032, 16]
    alloc [6048, 16]
    alloc [6216, 176]
  Freelist size after allocations: 5
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [6744, 16]  version: 11 -> 0
 - earlier freelist: 5  backdating [6808, 24]  version: 11 -> 0
 - earlier freelist: 5  backdating [6888, 120]  version: 11 -> 0
 - earlier freelist: 5  backdating [10304, 128]  version: 11 -> 0
 - earlier freelist: 5  backdating [10576, 536]  version: 11 -> 0
  In-mem freelist before/after consolidation: 7/7
  Allocating file space for freelists:
    alloc [11360, 888]
  Freelist size after merge: 39   freelist space required: 880
  Final Freelist:
    [24..40]: 7    [200..24]: 7    [392..32]: 12    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [3824..200]: 12    [4024..288]: 6    [5440..64]: 12    [5648..24]: 0    [5992..24]: 12    [6064..40]: 0    [6392..336]: 0    [6744..16]: 0    [6808..24]: 0    [6888..120]: 0    [7872..240]: 12    [8112..1240]: 0    [10304..128]: 0    [10432..144]: 12    [10576..536]: 0    [11112..248]: 12    [11624..4760]: 0

    DEBUG: [SYNC] Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=12, progress_server_version=2, locked_server_version=2, num_changesets=0)
    DEBUG: [SYNC] Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 189, uploadable = 189, reliable_download_progress = true, snapshot version = 12
Commit nr 13   ( from 5 )
    TRACE: [SYNC] Connection[1]: Download message compression: is_body_compressed = false, compressed_body_size=23, uncompressed_body_size=23
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [392, 32] <12>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [3824, 200] <12>  [4024, 288] <6>  [5440, 64] <12>  [5992, 24] <12>  [7872, 240] <12>  [10432, 144] <12>  [11112, 248] <12>  
  Freelist (true free): [5648, 24] [6064, 40] [6392, 336] [6744, 16] [6808, 24] [6888, 120] [8112, 1240] [10304, 128] [10576, 536] [11624, 4760] 
  Allocating file space for data:
    alloc [6744, 16]
    DEBUG: [SYNC] Connection[1]: Received: DOWNLOAD CHANGESET(server_version=3, client_version=5, origin_timestamp=249920952254, origin_file_ident=1, original_changeset_size=0, changeset_size=0)
    alloc [6064, 16]
    TRACE: [SYNC] Connection[1]: Changeset: 
    alloc [6888, 16]
    alloc [6904, 16]
    alloc [6920, 16]
    alloc [6936, 16]
    alloc [6952, 16]
    alloc [6968, 16]
    alloc [10304, 16]
    alloc [6392, 120]
    alloc [10320, 16]
    alloc [10336, 16]
    alloc [5648, 8]
    alloc [5656, 16]
    alloc [10352, 16]
    alloc [10368, 16]
    alloc [10384, 16]
    alloc [6808, 8]
    alloc [6080, 24]
    alloc [6512, 40]
    alloc [6816, 16]
    alloc [10400, 16]
    alloc [10416, 16]
    alloc [6552, 16]
    alloc [6568, 16]
    DEBUG: [SYNC] Connection[1]: Session[1]: Received: DOWNLOAD(download_server_version=3, download_client_version=5, latest_server_version=3, latest_server_version_salt=0, upload_client_version=6, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=1, num_changesets=1, ...)
    alloc [6584, 16]
    alloc [6600, 16]
    alloc [6984, 8]
    alloc [6616, 24]
    alloc [6640, 40]
    alloc [10576, 32]
    alloc [10608, 128]
    alloc [6992, 16]
    alloc [6680, 8]
    alloc [6688, 8]
    alloc [6696, 16]
    alloc [6712, 16]
    alloc [10736, 24]
    alloc [10760, 176]
  Freelist size after allocations: 3
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [392, 32]  version: 12 -> 5
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
    TRACE: [SYNC] Connection[1]: Session[1]: Created new pending bootstrap object for query version 1
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [5440, 64]  version: 12 -> 0
 - earlier freelist: 5  backdating [5992, 24]  version: 12 -> 0
 - earlier freelist: 5  backdating [7872, 240]  version: 12 -> 0
 - earlier freelist: 5  backdating [10432, 144]  version: 12 -> 0
 - earlier freelist: 5  backdating [11112, 248]  version: 12 -> 0
  In-mem freelist before/after consolidation: 8/8
  Allocating file space for freelists:
    alloc [11624, 904]
  Freelist size after merge: 40   freelist space required: 896
  Final Freelist:
    TRACE: [SYNC] Connection[1]: Session[1]: Finalized pending bootstrap object for query version 1
    [24..40]: 7    [200..24]: 7    [392..32]: 5    [464..8]: 13    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [3824..200]: 12    [4024..288]: 6    [5440..64]: 0    [5504..16]: 13    [5632..16]: 13    [5992..24]: 0    [6016..48]: 13    [6216..176]: 13    [7400..32]: 13    [7872..240]: 0    [8112..1240]: 0    [9864..440]: 13    [10432..144]: 0    [10936..176]: 0    [11112..248]: 0    [11360..264]: 13    [11888..4496]: 0

    INFO: [SYNC] Connection[1]: Session[1]: Begin processing pending FLX bootstrap for query version 1. (changesets: 1, original total changeset size: 0)
Commit nr 14   ( from 5 )
    TRACE: [SYNC] Connection[1]: Session[1]: Removing pending bootstrap obj for query version 1
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [464, 8] <13>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [3824, 200] <12>  [4024, 288] <6>  [5504, 16] <13>  [5632, 16] <13>  [6016, 48] <13>  [6216, 176] <13>  [7400, 32] <13>  [9864, 440] <13>  [11360, 264] <13>  
  Freelist (true free): [392, 32] [5440, 64] [5992, 24] [7872, 1480] [10432, 144] [10936, 424] [11888, 4496] 
  Allocating file space for data:
    alloc [5992, 8]
    alloc [6000, 8]
    alloc [6008, 8]
    alloc [392, 8]
    alloc [5440, 16]
    alloc [400, 8]
    alloc [408, 16]
    alloc [5456, 16]
    alloc [10936, 120]
    alloc [5472, 8]
    alloc [5480, 8]
    alloc [5488, 8]
    alloc [5496, 8]
    alloc [10432, 8]
    alloc [10440, 8]
    alloc [10448, 8]
    alloc [10456, 8]
    alloc [10464, 24]
    alloc [10488, 40]
    alloc [10528, 8]
    alloc [10536, 8]
    alloc [10544, 8]
    alloc [10552, 8]
    alloc [10560, 8]
    alloc [10568, 8]
    alloc [11056, 8]
    alloc [11064, 8]
    alloc [11072, 24]
    alloc [11096, 40]
    alloc [11136, 32]
    alloc [11168, 40]
    alloc [11208, 16]
    alloc [11224, 8]
    alloc [11232, 8]
    alloc [11240, 16]
    alloc [11256, 16]
    alloc [11272, 16]
    alloc [7872, 176]
  Freelist size after allocations: 3
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [464, 8]  version: 13 -> 5
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [5504, 16]  version: 13 -> 0
 - earlier freelist: 5  backdating [5632, 16]  version: 13 -> 0
 - earlier freelist: 5  backdating [6016, 48]  version: 13 -> 0
 - earlier freelist: 5  backdating [6216, 176]  version: 13 -> 0
 - earlier freelist: 5  backdating [7400, 32]  version: 13 -> 0
 - earlier freelist: 5  backdating [9864, 440]  version: 13 -> 0
 - earlier freelist: 5  backdating [11360, 264]  version: 13 -> 0
  In-mem freelist before/after consolidation: 9/9
  Allocating file space for freelists:
    alloc [11888, 952]
  Freelist size after merge: 43   freelist space required: 944
  Final Freelist:
    [24..40]: 7    [200..24]: 7    [464..8]: 5    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [3824..200]: 12    [4024..288]: 6    [5504..16]: 0    [5632..16]: 0    [5648..24]: 14    [6016..48]: 0    [6064..40]: 14    [6216..176]: 0    [6392..336]: 14    [6744..16]: 14    [6808..24]: 14    [6888..120]: 14    [7400..32]: 0    [8048..1304]: 0    [9864..440]: 0    [10304..128]: 14    [10576..360]: 14    [11288..72]: 0    [11360..264]: 0    [11624..264]: 14    [12168..4216]: 0

    DEBUG: [SYNC] Connection[1]: Session[1]: Integrated 1 changesets out of 1
Commit nr 15   ( from 5 )
    INFO: [SYNC] Connection[1]: Session[1]: Integrated 1 changesets from pending bootstrap for query version 1, producing client version 14 in 2 ms. 0 changesets remaining in bootstrap
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [3824, 200] <12>  [4024, 288] <6>  [5648, 24] <14>  [6064, 40] <14>  [6392, 336] <14>  [6744, 16] <14>  [6808, 24] <14>  [6888, 120] <14>  [10304, 128] <14>  [10576, 360] <14>  [11624, 264] <14>  
  Freelist (true free): [464, 8] [5504, 16] [5632, 16] [6016, 48] [6216, 176] [7400, 32] [8048, 1304] [9864, 440] [11288, 336] [12168, 4216] 
  Allocating file space for data:
    alloc [5504, 16]
    alloc [6016, 24]
    alloc [11288, 120]
    alloc [7400, 32]
    alloc [6040, 24]
    alloc [5632, 16]
    alloc [464, 8]
    alloc [6216, 8]
    alloc [6224, 16]
    alloc [6240, 16]
    alloc [6256, 24]
    alloc [9864, 176]
  Freelist size after allocations: 5
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
    DEBUG: [SYNC] Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14, progress_server_version=3, locked_server_version=3, num_changesets=0)
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [5648, 24]  version: 14 -> 0
 - earlier freelist: 5  backdating [6064, 40]  version: 14 -> 0
 - earlier freelist: 5  backdating [6392, 336]  version: 14 -> 0
 - earlier freelist: 5  backdating [6744, 16]  version: 14 -> 0
 - earlier freelist: 5  backdating [6808, 24]  version: 14 -> 0
 - earlier freelist: 5  backdating [6888, 120]  version: 14 -> 0
 - earlier freelist: 5  backdating [10304, 128]  version: 14 -> 0
 - earlier freelist: 5  backdating [10576, 360]  version: 14 -> 0
 - earlier freelist: 5  backdating [11624, 264]  version: 14 -> 0
  In-mem freelist before/after consolidation: 6/6
  Allocating file space for freelists:
    alloc [12168, 952]
  Freelist size after merge: 43   freelist space required: 944
  Final Freelist:
    [24..40]: 7    [200..24]: 7    [368..24]: 15    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2800..16]: 15    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [3824..200]: 12    [4024..288]: 6    [5056..120]: 15    [5648..24]: 0    [6064..40]: 0    [6280..112]: 0    [6392..336]: 0    [6744..16]: 0    [6808..24]: 0    [6888..120]: 0    [7872..176]: 15    [8048..1304]: 0    [10040..264]: 0    [10304..128]: 0    [10576..360]: 0    [11136..152]: 15    [11408..216]: 0    [11624..264]: 0    [11888..280]: 15    [12448..3936]: 0

    DEBUG: [SYNC] Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 189, uploadable = 189, reliable_download_progress = true, snapshot version = 14
Commit nr 16   ( from 5 )
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [368, 24] <15>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2800, 16] <15>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [3824, 200] <12>  [4024, 288] <6>  [5056, 120] <15>  [7872, 176] <15>  [11136, 152] <15>  [11888, 280] <15>  
    DEBUG: [SYNC] Connection[1]: Session[1]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 189, uploadable = 189, reliable_download_progress = true, snapshot version = 15
    DEBUG: [SYNC] Connection[1]: Session[1]: Received: MARK(request_ident=2)
    DEBUG: [SYNC] Connection[1]: Session[1]: Marking query version 1 as complete after receiving MARK message
  Freelist (true free): [5648, 24] [6064, 40] [6280, 448] [6744, 16] [6808, 24] [6888, 120] [8048, 1304] [10040, 392] [10576, 360] [11408, 480] [12448, 3936] 
  Allocating file space for data:
    alloc [6744, 16]
    alloc [6064, 16]
    alloc [6888, 16]
    alloc [6904, 16]
    alloc [5648, 8]
    alloc [5656, 16]
    alloc [6808, 24]
    alloc [6920, 16]
    alloc [6936, 16]
    alloc [6080, 24]
    alloc [10576, 120]
    alloc [10696, 32]
    alloc [6952, 24]
    alloc [6976, 16]
    alloc [6992, 8]
    alloc [7000, 8]
    alloc [10728, 16]
    alloc [10744, 16]
    alloc [10760, 32]
    alloc [10040, 176]
  Freelist size after allocations: 6
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [368, 24]  version: 15 -> 5
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [2800, 16]  version: 15 -> 5
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [5056, 120]  version: 15 -> 0
 - earlier freelist: 5  backdating [7872, 176]  version: 15 -> 0
 - earlier freelist: 5  backdating [11136, 152]  version: 15 -> 0
 - earlier freelist: 5  backdating [11888, 280]  version: 15 -> 0
  In-mem freelist before/after consolidation: 13/13
  Allocating file space for freelists:
    alloc [12448, 1032]
  Freelist size after merge: 48   freelist space required: 1024
  Final Freelist:
    [24..40]: 7    [200..24]: 7    [368..24]: 5    [464..8]: 16    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2800..16]: 5    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [3824..200]: 12    [4024..288]: 6    [5056..120]: 0    [5504..16]: 16    [5632..16]: 16    [6016..48]: 16    [6216..64]: 16    [6280..448]: 0    [6728..16]: 16    [6760..24]: 16    [6792..16]: 16    [6832..56]: 16    [7400..32]: 16    [7872..176]: 0    [8048..1304]: 0    [9864..176]: 16    [10216..216]: 0    [10792..144]: 0    [11136..152]: 0    [11288..120]: 16    [11408..480]: 0    [11888..280]: 0    [12168..280]: 16    [12768..3616]: 0

    INFO: [REALM] Realm opened: /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
    DEBUG: [REALM] Updating Realm version: VersionId(version=5) -> VersionId(version=16)
    DEBUG: [REALM] Updating Realm version: VersionId(version=16) -> VersionId(version=16)
    =========-----> 1 - session state before: ACTIVE
    =========-----> 1 - session state after : INACTIVE
    =========-----> 1a - session state: INACTIVE
    DEBUG: [SYNC] Connection[1]: Session[1]: Initiating deactivation
    DEBUG: [SYNC] Connection[1]: Session[1]: Sending: UNBIND
    DEBUG: [SYNC] Connection[1]: Session[1]: Deactivation completed
    INFO: [SYNC] Connection[1]: Allowing reconnection in 763 milliseconds
    INFO: [SYNC] Connection[1]: Disconnected
    DEBUG: [SYNC] Connection[1]: Destroying connection object
    =========-----> 1b - session state: INACTIVE
    =========-----> 2 - session state before: INACTIVE
    =========-----> 2 - session state after : ACTIVE
    INFO: [SYNC] Connection[2]: Session[2]: Binding '/Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm' to ''
    DEBUG: [SYNC] Connection[2]: Session[2]: Activating
    INFO: [SYNC] Connection[2]: Session[2]: client_reset_config = false, Realm exists = true, client reset = false
    DEBUG: [SYNC] Connection[2]: Session[2]: client_file_ident = 18, client_file_ident_salt = 8876210310576525279
    DEBUG: [SYNC] Connection[2]: Session[2]: last_version_available  = 16
    DEBUG: [SYNC] Connection[2]: Session[2]: progress_server_version = 3
    DEBUG: [SYNC] Connection[2]: Session[2]: progress_client_version = 5
    DEBUG: [SYNC] Connection[2]: Session[2]: Progress handler called, downloaded = 203, downloadable(total) = 203, uploaded = 189, uploadable = 189, reliable_download_progress = false, snapshot version = 16
    DEBUG: [SYNC] WebSocket::Websocket()
    INFO: [SYNC] Resolving 'localhost:9090'
    INFO: [SYNC] Connecting to endpoint '::1:9090' (1/2)
    INFO: [SYNC] Connected to endpoint '::1:9090' (from '::1:52498')
    DEBUG: [SYNC] WebSocket::initiate_client_handshake()
    TRACE: [SYNC] HTTP request =
    GET /api/client/v2.0/app/client-reset-flx_1096-xyorm/realm-sync?baas_at=eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1NCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTBiYjEwOTY0MGY5MTI1NmZhNzUzIiwiZXhwIjoxNjY5OTkzMTUxLCJpYXQiOjE2Njk5OTEzNTEsImlzcyI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlZCIsInN0aXRjaF9kZXZJZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1MyIsInN1YiI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYSIsInR5cCI6ImFjY2VzcyJ9.CNukMXxmSb7dW5G9E86yHfETsGkF0TNBhT1TegbOByamYRxlgxd0cKeIdYfLFBou2jc4OYIw13XTUSaFTSer-zfa_EHdETwi3GoUm7i6g2YuN0p3QBZzH258eYWRLPm6ntjJNjJyzNYGahx-x-DXOYi7O_5meV1MKwAKaWR9t14uTO8rMz1YERQFT2WDCjB2rg6Z_2qfSercrHolJ10l4pqW5gCt73ARICCrE-ebrvHDltTnbULqr3RQt2CdZW30s_4bADecw4flXB-POyH09Q18CiDFPJ2B7bUD-kCeGQLAAjeaL8xcPa9Ho77YnrvibflLiQrrtyvjlRac94xnlQ HTTP/1.1
    Host: localhost:9090
    Connection: Upgrade
    Sec-WebSocket-Key: hoAYabqx7S3KmiZ4oOa9Og==
    Sec-WebSocket-Protocol: com.mongodb.realm-query-sync/7, com.mongodb.realm-query-sync/6, com.mongodb.realm-query-sync/5, com.mongodb.realm-query-sync/4, com.mongodb.realm-query-sync/3, com.mongodb.realm-query-sync/2
    Sec-WebSocket-Version: 13
    Upgrade: websocket
    User-Agent: RealmSync/13.0.0 (macOS Darwin 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64)


    DEBUG: [SYNC] WebSocket::handle_http_response_received()
    TRACE: [SYNC] HTTP response = HTTP/1.1 101 Switching Protocols
    Cache-Control: no-cache, no-store, must-revalidate
    Connection: Upgrade
    Sec-Websocket-Accept: /EV+BmksxVAomBX4g6Bd5q2S7xY=
    Sec-Websocket-Protocol: com.mongodb.realm-query-sync/7
    Strict-Transport-Security: max-age=86400; includeSubdomains;
    Upgrade: websocket
    Vary: Origin
    X-Appservices-Request-Id: 638a0bb809640f91256fa808
    X-Frame-Options: DENY


    INFO: [SYNC] Connection[2]: Negotiated protocol version: 7
    DEBUG: [SYNC] Connection[2]: Will emit a ping in 39855 milliseconds
    DEBUG: [SYNC] Connection[2]: Session[2]: Sending: IDENT(client_file_ident=18, client_file_ident_salt=8876210310576525279, scan_server_version=3, scan_client_version=5, latest_server_version=3, latest_server_version_salt=0, query_version: 1 query_size: 68, query: "{"FlexParentObject":"(section == 2109535858 and name == \"blue\" )"}")
    DEBUG: [SYNC] Connection[2]: Session[2]: Sending: MARK(request_ident=1)
    TRACE: [SYNC] Connection[2]: Error message encoded as json: {"message":"Bad client file identifier (IDENT)","isRecoveryModeDisabled":false,"tryAgain":false,"logURL":"http://localhost:9090/groups/638a07f709640f91256f9b84/apps/638a0bb109640f91256fa752/logs?co_id=638a0bb809640f91256fa808","shouldClientReset":true,"action":"ClientReset","backoffMaxDelaySec":300,"backoffIntervalSec":2,"backoffMultiplier":2}
    INFO: [SYNC] Connection[2]: Session[2]: Received: ERROR "Bad client file identifier (IDENT)" (error_code=208, try_again=false, error_action=ClientReset)
    DEBUG: [SYNC] Connection[2]: Session[2]: Suspended
Commit nr 2   ( from 1 )
  Freelist (pinned): 
  Freelist (true free): 
  Allocating file space for data:
        ** File extension to 16384     after request for 40
    alloc [24, 40]
    alloc [64, 16]
    alloc [80, 72]
    alloc [152, 8]
    alloc [160, 16]
    alloc [176, 24]
    alloc [200, 8]
    alloc [208, 8]
    alloc [216, 16]
    alloc [232, 8]
    alloc [240, 16]
    alloc [256, 16]
    alloc [272, 16]
    alloc [288, 24]
    alloc [312, 64]
    alloc [376, 16]
    alloc [392, 16]
    alloc [408, 16]
    alloc [424, 16]
    alloc [440, 16]
    alloc [456, 8]
    alloc [464, 8]
    alloc [472, 16]
    alloc [488, 16]
    alloc [504, 8]
    alloc [512, 8]
    alloc [520, 16]
    alloc [536, 16]
    alloc [552, 8]
    alloc [560, 8]
    alloc [568, 16]
    alloc [584, 16]
    alloc [600, 16]
    alloc [616, 16]
    alloc [632, 16]
    alloc [648, 16]
    alloc [664, 16]
    alloc [680, 56]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 0/0
  Allocating file space for freelists:
    alloc [736, 280]
  Freelist size after merge: 1   freelist space required: 272
  Final Freelist:
    [832..15552]: 0

Commit nr 3   ( from 2 )
  Freelist (pinned): 
  Freelist (true free): [832, 15552] 
  Allocating file space for data:
    alloc [832, 104]
    alloc [936, 16]
    alloc [952, 32]
    alloc [984, 16]
    alloc [1000, 16]
    alloc [1016, 16]
    alloc [1032, 16]
    alloc [1048, 16]
    alloc [1064, 16]
    alloc [1080, 16]
    alloc [1096, 64]
    alloc [1160, 16]
    alloc [1176, 168]
    alloc [1344, 16]
    alloc [1360, 32]
    alloc [1392, 24]
    alloc [1416, 8]
    alloc [1424, 8]
    alloc [1432, 8]
    alloc [1440, 8]
    alloc [1448, 8]
    alloc [1456, 24]
    alloc [1480, 8]
    alloc [1488, 16]
    alloc [1504, 24]
    alloc [1528, 32]
    alloc [1560, 48]
    alloc [1608, 120]
    alloc [1728, 16]
    alloc [1744, 104]
    alloc [1848, 16]
    alloc [1864, 64]
    alloc [1928, 24]
    alloc [1952, 8]
    alloc [1960, 8]
    alloc [1968, 8]
    alloc [1976, 8]
    alloc [1984, 16]
    alloc [2000, 8]
    alloc [2008, 8]
    alloc [2016, 16]
    alloc [2032, 8]
    alloc [2040, 8]
    alloc [2048, 8]
    alloc [2056, 24]
    alloc [2080, 8]
    alloc [2088, 40]
    alloc [2128, 64]
    alloc [2192, 40]
    alloc [2232, 16]
    alloc [2248, 88]
    alloc [2336, 16]
    alloc [2352, 8]
    alloc [2360, 16]
    alloc [2376, 16]
    alloc [2392, 8]
    alloc [2400, 16]
    alloc [2416, 16]
    alloc [2432, 8]
    alloc [2440, 8]
    alloc [2448, 24]
    alloc [2472, 56]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 6/6
  Allocating file space for freelists:
    alloc [2528, 376]
  Freelist size after merge: 7   freelist space required: 368
  Final Freelist:
    [24..40]: 3    [200..72]: 3    [312..152]: 3    [472..40]: 3    [520..64]: 3    [680..152]: 3    [2648..13736]: 0

Commit nr 4   ( from 3 )
  Freelist (pinned): 
  Freelist (true free): [24, 40] [200, 72] [312, 152] [472, 40] [520, 64] [680, 152] [2648, 13736] 
  Allocating file space for data:
    alloc [24, 8]
    alloc [32, 16]
    alloc [48, 16]
    alloc [472, 8]
    alloc [480, 8]
    alloc [488, 24]
    alloc [520, 16]
    alloc [536, 16]
    alloc [200, 24]
    alloc [2648, 120]
    alloc [552, 16]
    alloc [312, 32]
    alloc [568, 16]
    alloc [224, 8]
    alloc [232, 16]
    alloc [344, 16]
    alloc [248, 8]
    alloc [256, 16]
    alloc [360, 16]
    alloc [376, 8]
    alloc [384, 8]
    alloc [392, 32]
    alloc [680, 56]
  Freelist size after allocations: 3
  In-mem freelist before/after consolidation: 3/3
  Allocating file space for freelists:
    alloc [2768, 360]
  Freelist size after merge: 6   freelist space required: 352
  Final Freelist:
    [424..40]: 0    [736..96]: 0    [1416..112]: 4    [1608..120]: 4    [2232..416]: 4    [2888..13496]: 0

Commit nr 5   ( from 4 )
  Freelist (pinned): 
  Freelist (true free): [424, 40] [736, 96] [1416, 112] [1608, 120] [2232, 416] [2888, 13496] 
  Allocating file space for data:
    alloc [424, 16]
    alloc [736, 16]
    alloc [752, 16]
    alloc [440, 8]
    alloc [448, 8]
    alloc [768, 16]
    alloc [784, 24]
    alloc [1416, 16]
    alloc [1432, 16]
    alloc [808, 24]
    alloc [1608, 120]
    alloc [1448, 16]
    alloc [1464, 24]
    alloc [1488, 16]
    alloc [2232, 16]
    alloc [2248, 16]
    alloc [2264, 16]
    alloc [2280, 16]
    alloc [2296, 16]
    alloc [456, 8]
    alloc [2312, 16]
    alloc [2328, 32]
    alloc [2360, 16]
    alloc [2376, 16]
    alloc [2392, 16]
    alloc [2408, 56]
    alloc [2464, 16]
    alloc [2480, 16]
    alloc [1504, 24]
    alloc [2496, 40]
    alloc [2536, 16]
    alloc [2888, 80]
    alloc [2552, 16]
    alloc [2568, 8]
    alloc [2576, 16]
    alloc [2592, 16]
    alloc [2608, 8]
    alloc [2616, 16]
    alloc [2632, 16]
    alloc [2968, 8]
    alloc [2976, 8]
    alloc [2984, 40]
    alloc [3024, 56]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 9/9
  Allocating file space for freelists:
    alloc [3080, 424]
  Freelist size after merge: 10   freelist space required: 416
  Final Freelist:
    [24..40]: 5    [200..72]: 5    [312..112]: 5    [472..40]: 5    [520..64]: 5    [680..56]: 5    [1952..128]: 5    [2192..40]: 5    [2648..240]: 5    [3216..13168]: 0

Commit nr 6   ( from 5 )
  Freelist (pinned): 
  Freelist (true free): [24, 40] [200, 72] [312, 112] [472, 40] [520, 64] [680, 56] [1952, 128] [2192, 40] [2648, 240] [3216, 13168] 
  Allocating file space for data:
    alloc [3216, 392]
    DEBUG: [SYNC] Connection[2]: Session[2]: Sending: UNBIND
    alloc [24, 16]
    alloc [680, 56]
    alloc [472, 16]
    alloc [2192, 16]
    alloc [520, 16]
    alloc [536, 16]
    alloc [552, 16]
    alloc [568, 16]
    alloc [200, 16]
    alloc [1952, 64]
    alloc [216, 16]
    alloc [312, 56]
    alloc [232, 16]
    alloc [2016, 32]
    alloc [40, 24]
    alloc [488, 8]
    alloc [496, 8]
    alloc [504, 8]
    alloc [2048, 16]
    alloc [2064, 8]
    alloc [368, 16]
    alloc [384, 16]
    alloc [2208, 24]
    alloc [2648, 32]
    alloc [3608, 120]
    alloc [2680, 16]
    alloc [3728, 200]
    alloc [2072, 8]
    alloc [2696, 64]
    alloc [248, 24]
    alloc [400, 8]
    alloc [408, 8]
    alloc [416, 8]
    alloc [2760, 8]
    alloc [2768, 8]
    alloc [2776, 8]
    alloc [2784, 8]
    alloc [2792, 24]
    alloc [2816, 8]
    alloc [3928, 40]
    alloc [2824, 64]
    alloc [3968, 40]
    alloc [4008, 16]
    alloc [4024, 200]
    alloc [4224, 16]
    alloc [4240, 64]
    alloc [4304, 24]
    alloc [4328, 8]
    alloc [4336, 8]
    alloc [4344, 8]
    alloc [4352, 8]
    alloc [4360, 8]
    alloc [4368, 8]
    alloc [4376, 8]
    alloc [4384, 8]
    alloc [4392, 8]
    alloc [4400, 16]
    alloc [4416, 24]
    alloc [4440, 8]
    alloc [4448, 40]
    alloc [4488, 64]
    alloc [4552, 40]
    alloc [4592, 24]
    alloc [4616, 120]
    alloc [4736, 16]
    alloc [4752, 8]
    alloc [4760, 16]
    alloc [4776, 16]
    alloc [4792, 8]
    alloc [4800, 16]
    alloc [4816, 16]
    alloc [4832, 8]
    alloc [4840, 8]
    alloc [4848, 48]
    alloc [4896, 56]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 3/3
  Allocating file space for freelists:
    alloc [4952, 328]
  Freelist size after merge: 4   freelist space required: 320
  Final Freelist:
    [832..328]: 6    [2536..112]: 6    [2888..328]: 6    [5056..11328]: 0

    INFO: [SYNC] Connection[3]: Session[3]: Binding '/Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm.fresh' to ''
    DEBUG: [SYNC] Connection[3]: Session[3]: Activating
    INFO: [SYNC] Connection[3]: Session[3]: client_reset_config = false, Realm exists = true, client reset = false
    DEBUG: [SYNC] Connection[3]: Session[3]: client_file_ident = 0, client_file_ident_salt = 0
    DEBUG: [SYNC] Connection[3]: Session[3]: last_version_available  = 6
    DEBUG: [SYNC] Connection[3]: Session[3]: progress_server_version = 0
    DEBUG: [SYNC] Connection[3]: Session[3]: progress_client_version = 0
    DEBUG: [SYNC] Connection[3]: Session[3]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 0, reliable_download_progress = false, snapshot version = 6
    INFO: [SYNC] Connection[2]: Allowing reconnection in 937 milliseconds
    INFO: [SYNC] Connection[2]: Disconnected
    DEBUG: [SYNC] WebSocket::Websocket()
    INFO: [SYNC] Resolving 'localhost:9090'
    INFO: [SYNC] Connecting to endpoint '::1:9090' (1/2)
    INFO: [SYNC] Connected to endpoint '::1:9090' (from '::1:52501')
    DEBUG: [SYNC] WebSocket::initiate_client_handshake()
    TRACE: [SYNC] HTTP request =
    GET /api/client/v2.0/app/client-reset-flx_1096-xyorm/realm-sync?baas_at=eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1NCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTBiYjEwOTY0MGY5MTI1NmZhNzUzIiwiZXhwIjoxNjY5OTkzMTUxLCJpYXQiOjE2Njk5OTEzNTEsImlzcyI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlZCIsInN0aXRjaF9kZXZJZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1MyIsInN1YiI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYSIsInR5cCI6ImFjY2VzcyJ9.CNukMXxmSb7dW5G9E86yHfETsGkF0TNBhT1TegbOByamYRxlgxd0cKeIdYfLFBou2jc4OYIw13XTUSaFTSer-zfa_EHdETwi3GoUm7i6g2YuN0p3QBZzH258eYWRLPm6ntjJNjJyzNYGahx-x-DXOYi7O_5meV1MKwAKaWR9t14uTO8rMz1YERQFT2WDCjB2rg6Z_2qfSercrHolJ10l4pqW5gCt73ARICCrE-ebrvHDltTnbULqr3RQt2CdZW30s_4bADecw4flXB-POyH09Q18CiDFPJ2B7bUD-kCeGQLAAjeaL8xcPa9Ho77YnrvibflLiQrrtyvjlRac94xnlQ HTTP/1.1
    Host: localhost:9090
    Connection: Upgrade
    Sec-WebSocket-Key: ZJ069yv0tNYCf/84xUwp5Q==
    Sec-WebSocket-Protocol: com.mongodb.realm-query-sync/7, com.mongodb.realm-query-sync/6, com.mongodb.realm-query-sync/5, com.mongodb.realm-query-sync/4, com.mongodb.realm-query-sync/3, com.mongodb.realm-query-sync/2
    Sec-WebSocket-Version: 13
    Upgrade: websocket
    User-Agent: RealmSync/13.0.0 (macOS Darwin 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64)


    DEBUG: [SYNC] WebSocket::handle_http_response_received()
    TRACE: [SYNC] HTTP response = HTTP/1.1 101 Switching Protocols
    Cache-Control: no-cache, no-store, must-revalidate
    Connection: Upgrade
    Sec-Websocket-Accept: XdXJ+OyiXJ3UyzriS0jy/9hTNQs=
    Sec-Websocket-Protocol: com.mongodb.realm-query-sync/7
    Strict-Transport-Security: max-age=86400; includeSubdomains;
    Upgrade: websocket
    Vary: Origin
    X-Appservices-Request-Id: 638a0bb809640f91256fa80e
    X-Frame-Options: DENY


    INFO: [SYNC] Connection[3]: Negotiated protocol version: 7
    DEBUG: [SYNC] Connection[3]: Will emit a ping in 47411 milliseconds
Commit nr 7   ( from 6 )
  Freelist (pinned): 
  Freelist (true free): [832, 328] [2536, 112] [2888, 328] [5056, 11328] 
  Allocating file space for data:
    alloc [2536, 8]
    alloc [2544, 16]
    alloc [2560, 8]
    alloc [2568, 16]
    alloc [2584, 16]
    alloc [2600, 8]
    alloc [2608, 16]
    alloc [832, 16]
    alloc [2624, 8]
    alloc [2632, 8]
    alloc [848, 56]
    alloc [5056, 176]
  Freelist size after allocations: 4
  In-mem freelist before/after consolidation: 1/1
  Allocating file space for freelists:
    alloc [5232, 344]
  Freelist size after merge: 5   freelist space required: 336
  Final Freelist:
    [904..256]: 0    [2640..8]: 0    [2888..328]: 0    [4616..440]: 7    [5352..11032]: 0

    DEBUG: [SYNC] Connection[3]: Session[3]: Received: IDENT(client_file_ident=19, client_file_ident_salt=2161560670133804391)
    DEBUG: [SYNC] Connection[3]: Session[3]: Sending: IDENT(client_file_ident=19, client_file_ident_salt=2161560670133804391, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0, query_version: 0 query_size: 2, query: "{}")
    DEBUG: [SYNC] Connection[3]: Session[3]: Sending: MARK(request_ident=1)
    TRACE: [SYNC] Connection[3]: Download message compression: is_body_compressed = false, compressed_body_size=236, uncompressed_body_size=236
Commit nr 8   ( from 7 )
    DEBUG: [SYNC] Connection[3]: Received: DOWNLOAD CHANGESET(server_version=2, client_version=0, origin_timestamp=249920952399, origin_file_ident=1, original_changeset_size=209, changeset_size=209)
  Freelist (pinned): 
  Freelist (true free): [904, 256] [2640, 8] [2888, 328] [4616, 440] [5352, 11032] 
  Allocating file space for data:
    alloc [2640, 8]
    TRACE: [SYNC] Connection[3]: Changeset: 3F 00 0F 46 6C 65 78 43 68 69 6C 64 4F 62 6A 65 63 74 3F 01 03 5F 69 64 3F 02 12 46 6C 65 78 45 6D 62 65 64 64 65 64 4F 62 6A 65 63 74 3F 03 10 46 6C 65 78 50 61 72 65 6E 74 4F 62 6A 65 63 74 3F 04 04 6E 61 6D 65 3F 05 08 72 65 61 6C 6D 5F 69 64 3F 06 07 73 65 63 74 69 6F 6E 3F 07 0C 65 6D 62 65 64 64 65 64 4E 61 6D 65 3F 08 03 61 67 65 3F 09 05 63 68 69 6C 64 3F 0A 08 65 6D 62 65 64 64 65 64 00 00 00 01 0A 00 00 02 01 00 03 00 01 0A 00 06 00 04 03 00 00 06 00 05 03 01 00 06 00 06 01 00 00 06 02 07 03 00 00 06 03 08 01 00 00 06 03 09 09 01 00 00 06 03 0A 09 01 00 02 06 03 04 03 00 00 06 03 05 03 01 00 06 03 06 01 00 00
    alloc [904, 8]
    alloc [912, 16]
    alloc [928, 16]
    alloc [944, 16]
    alloc [960, 16]
    alloc [976, 16]
    alloc [992, 16]
    alloc [2888, 120]
    alloc [1008, 16]
    alloc [1024, 8]
    alloc [1032, 8]
    alloc [1040, 16]
    alloc [1056, 8]
    alloc [1064, 16]
    alloc [1080, 16]
    alloc [1096, 24]
    alloc [1120, 40]
    alloc [3008, 16]
    alloc [3024, 16]
    alloc [3040, 8]
    alloc [3048, 16]
    alloc [3064, 16]
    alloc [3080, 16]
    alloc [5352, 224]
    alloc [3096, 16]
    alloc [3112, 24]
    alloc [3136, 40]
    alloc [4616, 24]
    alloc [4640, 128]
    alloc [3176, 16]
    alloc [3192, 8]
    alloc [3200, 16]
    alloc [4768, 16]
    alloc [4784, 8]
    alloc [4792, 16]
    alloc [4808, 16]
    alloc [4824, 8]
    alloc [4832, 8]
    alloc [4840, 64]
    alloc [5576, 176]
  Freelist size after allocations: 2
  In-mem freelist before/after consolidation: 11/11
  Allocating file space for freelists:
    alloc [5752, 472]
  Freelist size after merge: 13   freelist space required: 464
  Final Freelist:
    [368..56]: 8    [488..24]: 8    [832..72]: 8    [2048..24]: 8    [2536..104]: 8    [2760..56]: 8    [3608..120]: 8    [3968..40]: 8    [4328..112]: 8    [4552..64]: 8    [4904..152]: 0    [5056..296]: 8    [5904..10480]: 0

    DEBUG: [SYNC] Connection[3]: Session[3]: Received: DOWNLOAD(download_server_version=2, download_client_version=0, latest_server_version=2, latest_server_version_salt=8641326234849283566, upload_client_version=0, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=0, num_changesets=1, ...)
    TRACE: [SYNC] Connection[3]: Session[3]: Created new pending bootstrap object for query version 0
Commit nr 9   ( from 8 )
    TRACE: [SYNC] Connection[3]: Session[3]: Finalized pending bootstrap object for query version 0
  Freelist (pinned): 
    INFO: [SYNC] Connection[3]: Session[3]: Begin processing pending FLX bootstrap for query version 0. (changesets: 1, original total changeset size: 209)
  Freelist (true free): [368, 56] [488, 24] [832, 72] [2048, 24] [2536, 104] [2760, 56] [3608, 120] [3968, 40] [4328, 112] [4552, 64] [4904, 448] [5904, 10480] 
    TRACE: [SYNC] Connection[3]: Session[3]: group.get_or_add_table_with_primary_key(group, "class_FlexChildObject", type_ObjectId, "_id", false, TopLevel);
  Allocating file space for data:
    alloc [5904, 584]
    alloc [488, 8]
    alloc [496, 8]
    alloc [504, 8]
    alloc [3968, 16]
    alloc [2048, 8]
    alloc [2056, 16]
    alloc [368, 16]
    alloc [3608, 120]
    alloc [3984, 8]
    alloc [3992, 8]
    alloc [4000, 8]
    alloc [384, 8]
    alloc [392, 8]
    alloc [400, 8]
    alloc [408, 8]
    alloc [2760, 24]
    alloc [2536, 40]
    alloc [416, 8]
    alloc [2784, 8]
    alloc [2792, 8]
    alloc [2800, 8]
    alloc [2808, 8]
    alloc [4552, 8]
    alloc [4560, 8]
    alloc [4568, 24]
    alloc [4328, 40]
    alloc [2576, 16]
    alloc [832, 72]
    alloc [2592, 16]
    alloc [4904, 48]
    alloc [4592, 24]
    alloc [2608, 8]
    alloc [2616, 8]
    alloc [2624, 8]
    alloc [2632, 8]
    alloc [4368, 8]
    alloc [4376, 24]
    alloc [4400, 8]
    alloc [4408, 16]
    alloc [4952, 24]
    alloc [4976, 32]
    alloc [5008, 48]
    alloc [5056, 120]
    alloc [4424, 16]
    alloc [5176, 24]
    alloc [5200, 8]
    alloc [5208, 24]
    alloc [5232, 24]
    alloc [5256, 8]
    alloc [5264, 8]
    alloc [5272, 16]
    alloc [5288, 8]
    alloc [5296, 16]
    alloc [6488, 24]
    alloc [5312, 40]
    TRACE: [SYNC] Connection[3]: Session[3]: group.add_embedded_table("class_FlexEmbeddedObject");
    alloc [6512, 16]
    alloc [6528, 120]
    alloc [6648, 16]
    alloc [6664, 64]
    alloc [6728, 24]
    alloc [6752, 8]
    alloc [6760, 8]
    alloc [6768, 8]
    alloc [6776, 8]
    alloc [6784, 8]
    alloc [6792, 8]
    alloc [6800, 8]
    alloc [6808, 24]
    alloc [6832, 8]
    alloc [6840, 16]
    alloc [6856, 24]
    alloc [6880, 40]
    alloc [6920, 64]
    alloc [6984, 120]
    alloc [7104, 32]
    alloc [7136, 112]
    alloc [7248, 16]
    alloc [7264, 8]
    alloc [7272, 16]
    alloc [7288, 16]
    alloc [7304, 8]
    alloc [7312, 16]
    alloc [7328, 16]
    alloc [7344, 16]
    alloc [7360, 16]
    alloc [7376, 16]
    alloc [7392, 176]
  Freelist size after allocations: 1
  In-mem freelist before/after consolidation: 5/5
  Allocating file space for freelists:
    alloc [7568, 360]
  Freelist size after merge: 6   freelist space required: 352
  Final Freelist:
    [904..256]: 9    [2640..8]: 9    [2888..720]: 9    [4616..288]: 9    [5352..552]: 9    [7688..8696]: 0

    TRACE: [SYNC] Connection[3]: Session[3]: group.get_or_add_table_with_primary_key(group, "class_FlexParentObject", type_ObjectId, "_id", false, TopLevel);
Commit nr 10   ( from 9 )
  Freelist (pinned): 
  Freelist (true free): [904, 256] [2640, 8] [2888, 720] [4616, 288] [5352, 552] [7688, 8696] 
  Allocating file space for data:
    alloc [904, 16]
    alloc [920, 24]
    alloc [4616, 120]
    alloc [4736, 32]
    alloc [4768, 24]
    alloc [4792, 16]
    alloc [2640, 8]
    alloc [4808, 16]
    alloc [4824, 16]
    alloc [4840, 8]
    alloc [4848, 16]
    alloc [4864, 16]
    alloc [944, 16]
    alloc [960, 16]
    alloc [4880, 24]
    alloc [5352, 176]
  Freelist size after allocations: 4
  In-mem freelist before/after consolidation: 4/4
  Allocating file space for freelists:
    alloc [7688, 392]
  Freelist size after merge: 8   freelist space required: 384
  Final Freelist:
    [736..16]: 10    [784..24]: 10    [976..184]: 0    [1608..120]: 10    [2888..720]: 0    [5528..376]: 0    [7104..584]: 10    [7808..8576]: 0

    TRACE: [SYNC] Connection[3]: Session[3]: Removing pending bootstrap obj for query version 0
    DEBUG: [SYNC] Connection[3]: Session[3]: Integrated 1 changesets out of 1
    INFO: [SYNC] Connection[3]: Session[3]: Integrated 1 changesets from pending bootstrap for query version 0, producing client version 9 in 2 ms. 0 changesets remaining in bootstrap
    DEBUG: [SYNC] Connection[3]: Session[3]: Progress handler called, downloaded = 209, downloadable(total) = 209, uploaded = 0, uploadable = 0, reliable_download_progress = true, snapshot version = 9
    DEBUG: [SYNC] Connection[3]: Session[3]: Received: MARK(request_ident=1)
    TRACE: [SYNC] Connection[3]: Session[3]: Limiting UPLOAD message up to version 4 to send QUERY version 1
    DEBUG: [SYNC] Connection[3]: Session[3]: Sending: UPLOAD(progress_client_version=4, progress_server_version=0, locked_server_version=2, num_changesets=0)
    DEBUG: [SYNC] Connection[3]: Session[3]: Sending: QUERY(query_version=1, query_size=68, query="{"FlexParentObject":"(section == 2109535858 and name == \"blue\" )"}"
    DEBUG: [SYNC] Connection[3]: Session[3]: Sending: MARK(request_ident=2)
    DEBUG: [SYNC] Connection[3]: Session[3]: Sending: UPLOAD(progress_client_version=9, progress_server_version=2, locked_server_version=2, num_changesets=0)
Commit nr 11   ( from 10 )
  Freelist (pinned): 
  Freelist (true free): [736, 16] [784, 24] [976, 184] [1608, 120] [2888, 720] [5528, 376] [7104, 584] [7808, 8576] 
  Allocating file space for data:
    alloc [736, 16]
    TRACE: [SYNC] Connection[3]: Download message compression: is_body_compressed = false, compressed_body_size=23, uncompressed_body_size=23
    alloc [1608, 16]
    alloc [1624, 16]
    alloc [1640, 16]
    alloc [1656, 16]
    alloc [1672, 16]
    alloc [1688, 16]
    alloc [976, 16]
    DEBUG: [SYNC] Connection[3]: Received: DOWNLOAD CHANGESET(server_version=4, client_version=0, origin_timestamp=249920952429, origin_file_ident=1, original_changeset_size=0, changeset_size=0)
    alloc [992, 16]
    alloc [5528, 120]
    alloc [1008, 16]
    alloc [1024, 16]
    alloc [784, 8]
    alloc [792, 16]
    alloc [1040, 16]
    alloc [1704, 8]
    alloc [1712, 16]
    TRACE: [SYNC] Connection[3]: Changeset: 
    alloc [1056, 16]
    alloc [1072, 24]
    alloc [5648, 40]
    alloc [1096, 16]
    alloc [1112, 16]
    alloc [1128, 16]
    alloc [1144, 8]
    alloc [5688, 16]
    alloc [5704, 16]
    DEBUG: [SYNC] Connection[3]: Session[3]: Received: DOWNLOAD(download_server_version=4, download_client_version=0, latest_server_version=4, latest_server_version_salt=0, upload_client_version=4, upload_server_version=0, downloadable_bytes=0, last_in_batch=true, query_version=1, num_changesets=1, ...)
    alloc [5720, 16]
    alloc [1152, 8]
    alloc [5736, 24]
    alloc [5760, 40]
    alloc [5800, 32]
    alloc [7104, 128]
    alloc [5832, 16]
    alloc [5848, 8]
    alloc [5856, 16]
    alloc [5872, 16]
    alloc [5888, 8]
    alloc [7232, 16]
    alloc [7248, 16]
    alloc [7264, 16]
    alloc [7280, 16]
    alloc [7296, 32]
    alloc [7328, 176]
  Freelist size after allocations: 4
  In-mem freelist before/after consolidation: 14/14
  Allocating file space for freelists:
    alloc [7808, 552]
  Freelist size after merge: 18   freelist space required: 544
  Final Freelist:
    TRACE: [SYNC] Connection[3]: Session[3]: Created new pending bootstrap object for query version 1
    [368..56]: 11    [488..24]: 11    [944..32]: 11    [2048..24]: 11    [2536..40]: 11    [2640..8]: 11    [2760..56]: 11    [2888..720]: 0    [3608..120]: 11    [3968..40]: 11    [4328..40]: 11    [4552..40]: 11    [4736..168]: 11    [5352..176]: 11    [5896..8]: 0    [7504..184]: 0    [7688..120]: 11    [7984..8400]: 0

    TRACE: [SYNC] Connection[3]: Session[3]: Finalized pending bootstrap object for query version 1
Commit nr 12   ( from 11 )
  Freelist (pinned): 
  Freelist (true free): [368, 56] [488, 24] [944, 32] [2048, 24] [2536, 40] [2640, 8] [2760, 56] [2888, 840] [3968, 40] [4328, 40] [4552, 40] [4736, 168] [5352, 176] [5896, 8] [7504, 304] [7984, 8400] 
  Allocating file space for data:
    alloc [2640, 8]
    alloc [5896, 8]
    alloc [488, 8]
    alloc [496, 8]
    alloc [944, 16]
    alloc [504, 8]
    alloc [960, 16]
    alloc [2536, 16]
    alloc [7504, 120]
    alloc [2048, 8]
    alloc [2056, 8]
    alloc [2064, 8]
    alloc [2552, 8]
    alloc [2560, 8]
    alloc [2568, 8]
    alloc [3968, 8]
    alloc [3976, 8]
    alloc [3984, 24]
    alloc [4328, 40]
    alloc [4552, 8]
    alloc [4560, 8]
    alloc [4568, 8]
    alloc [4576, 8]
    alloc [4584, 8]
    alloc [368, 8]
    alloc [376, 8]
    alloc [384, 8]
    alloc [2760, 24]
    alloc [4736, 40]
    alloc [392, 32]
    alloc [4776, 40]
    alloc [2784, 16]
    alloc [2800, 8]
    alloc [4816, 16]
    alloc [4832, 16]
    alloc [2808, 8]
    alloc [4848, 16]
    alloc [4864, 16]
    alloc [5352, 16]
    alloc [5368, 16]
    alloc [5384, 16]
    alloc [2888, 176]
  Freelist size after allocations: 5
  In-mem freelist before/after consolidation: 7/7
  Allocating file space for freelists:
    alloc [7984, 456]
  Freelist size after merge: 12   freelist space required: 448
  Final Freelist:
    [736..16]: 12    [784..24]: 12    [976..184]: 12    [1608..120]: 12    [3064..664]: 0    [4880..24]: 0    [5400..128]: 0    [5528..368]: 12    [7104..400]: 12    [7624..184]: 0    [7808..176]: 12    [8120..8264]: 0

    INFO: [SYNC] Connection[3]: Session[3]: Begin processing pending FLX bootstrap for query version 1. (changesets: 1, original total changeset size: 0)
Commit nr 13   ( from 12 )
  Freelist (pinned): 
  Freelist (true free): [736, 16] [784, 24] [976, 184] [1608, 120] [3064, 664] [4880, 24] [5400, 496] [7104, 400] [7624, 360] [8120, 8264] 
  Allocating file space for data:
    alloc [736, 16]
    alloc [784, 24]
    alloc [1608, 120]
    alloc [976, 32]
    alloc [4880, 24]
    alloc [1008, 16]
    alloc [1024, 8]
    alloc [1032, 16]
    alloc [1048, 16]
    alloc [1064, 8]
    alloc [1072, 16]
    alloc [1088, 16]
    alloc [1104, 16]
    alloc [1120, 16]
    alloc [1136, 24]
    alloc [7624, 176]
  Freelist size after allocations: 5
  In-mem freelist before/after consolidation: 8/8
  Allocating file space for freelists:
    alloc [8120, 472]
  Freelist size after merge: 13   freelist space required: 464
  Final Freelist:
    TRACE: [SYNC] Connection[3]: Session[3]: Removing pending bootstrap obj for query version 1
    [392..32]: 13    [904..40]: 13    [2784..32]: 13    [2888..176]: 13    [3064..664]: 0    [4616..120]: 13    [4776..104]: 13    [5352..48]: 13    [5400..496]: 0    [7104..400]: 0    [7800..184]: 0    [7984..136]: 13    [8272..8112]: 0

    DEBUG: [SYNC] Connection[3]: Session[3]: Integrated 1 changesets out of 1
    INFO: [SYNC] Connection[3]: Session[3]: Integrated 1 changesets from pending bootstrap for query version 1, producing client version 12 in 2 ms. 0 changesets remaining in bootstrap
    DEBUG: [SYNC] Connection[3]: Session[3]: Sending: UPLOAD(progress_client_version=12, progress_server_version=4, locked_server_version=4, num_changesets=0)
    DEBUG: [SYNC] Connection[3]: Session[3]: Progress handler called, downloaded = 209, downloadable(total) = 209, uploaded = 0, uploadable = 0, reliable_download_progress = true, snapshot version = 12
Commit nr 14   ( from 13 )
  Freelist (pinned): 
  Freelist (true free): [392, 32] [904, 40] [2784, 32] [2888, 840] [4616, 120] [4776, 104] [5352, 544] [7104, 400] [7800, 320] [8272, 8112] 
  Allocating file space for data:
    alloc [392, 16]
    alloc [408, 16]
    alloc [2784, 16]
    alloc [2800, 16]
    alloc [904, 8]
    alloc [912, 16]
    alloc [4776, 24]
    alloc [928, 16]
    DEBUG: [SYNC] Connection[3]: Session[3]: Received: MARK(request_ident=2)
    alloc [4800, 16]
    alloc [4816, 24]
    alloc [4616, 120]
    alloc [7800, 32]
    alloc [7832, 24]
    alloc [4840, 16]
    alloc [4856, 8]
    alloc [4864, 16]
    alloc [7856, 16]
    alloc [7872, 8]
    alloc [7880, 16]
    alloc [7896, 16]
    alloc [7912, 16]
    alloc [7928, 16]
    alloc [7944, 32]
    alloc [7104, 176]
  Freelist size after allocations: 5
  In-mem freelist before/after consolidation: 8/8
  Allocating file space for freelists:
    alloc [8272, 472]
  Freelist size after merge: 13   freelist space required: 464
  Final Freelist:
    [424..24]: 14    [736..96]: 14    [976..184]: 14    [1416..32]: 14    [1608..120]: 14    [2888..840]: 0    [4880..24]: 14    [5352..544]: 0    [7280..224]: 0    [7624..176]: 14    [7976..144]: 0    [8120..152]: 14    [8424..7960]: 0

    DEBUG: [SYNC] Connection[3]: Session[3]: Marking query version 1 as complete after receiving MARK message
    DEBUG: [SYNC] Connection[2]: Session[2]: Initiating deactivation
    DEBUG: [SYNC] Connection[2]: Session[2]: Deactivation completed
    DEBUG: [SYNC] Connection[3]: Session[3]: Initiating deactivation
    DEBUG: [SYNC] Connection[3]: Session[3]: Sending: UNBIND
    INFO: [SYNC] Connection[4]: Session[4]: Binding '/Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm' to ''
    DEBUG: [SYNC] Connection[4]: Session[4]: Activating
    INFO: [SYNC] Connection[4]: Session[4]: client_reset_config = true, Realm exists = true, client reset = true
    DEBUG: [SYNC] Connection[4]: Session[4]: Create ClientResetOperation, realm_path = /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm, mode = RecoveOrDiscard, recovery_allowed = true
    DEBUG: [SYNC] Connection[4]: Session[4]: client_file_ident = 0, client_file_ident_salt = 0
    DEBUG: [SYNC] Connection[4]: Session[4]: last_version_available  = 0
    DEBUG: [SYNC] Connection[4]: Session[4]: progress_server_version = 0
    DEBUG: [SYNC] Connection[4]: Session[4]: progress_client_version = 0
    DEBUG: [SYNC] Connection[2]: Destroying connection object
    DEBUG: [SYNC] Connection[3]: Session[3]: Deactivation completed
    INFO: [SYNC] Connection[3]: Allowing reconnection in 820 milliseconds
    INFO: [SYNC] Connection[3]: Disconnected
    DEBUG: [SYNC] WebSocket::Websocket()
    INFO: [SYNC] Resolving 'localhost:9090'
    DEBUG: [SYNC] Connection[3]: Destroying connection object
    INFO: [SYNC] Connecting to endpoint '::1:9090' (1/2)
    INFO: [SYNC] Connected to endpoint '::1:9090' (from '::1:52504')
    DEBUG: [SYNC] WebSocket::initiate_client_handshake()
    TRACE: [SYNC] HTTP request =
    GET /api/client/v2.0/app/client-reset-flx_1096-xyorm/realm-sync?baas_at=eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1NCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTBiYjEwOTY0MGY5MTI1NmZhNzUzIiwiZXhwIjoxNjY5OTkzMTUxLCJpYXQiOjE2Njk5OTEzNTEsImlzcyI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlZCIsInN0aXRjaF9kZXZJZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1MyIsInN1YiI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYSIsInR5cCI6ImFjY2VzcyJ9.CNukMXxmSb7dW5G9E86yHfETsGkF0TNBhT1TegbOByamYRxlgxd0cKeIdYfLFBou2jc4OYIw13XTUSaFTSer-zfa_EHdETwi3GoUm7i6g2YuN0p3QBZzH258eYWRLPm6ntjJNjJyzNYGahx-x-DXOYi7O_5meV1MKwAKaWR9t14uTO8rMz1YERQFT2WDCjB2rg6Z_2qfSercrHolJ10l4pqW5gCt73ARICCrE-ebrvHDltTnbULqr3RQt2CdZW30s_4bADecw4flXB-POyH09Q18CiDFPJ2B7bUD-kCeGQLAAjeaL8xcPa9Ho77YnrvibflLiQrrtyvjlRac94xnlQ HTTP/1.1
    Host: localhost:9090
    Connection: Upgrade
    Sec-WebSocket-Key: s/m4QsDzMJEAVE5vCt7O9A==
    Sec-WebSocket-Protocol: com.mongodb.realm-query-sync/7, com.mongodb.realm-query-sync/6, com.mongodb.realm-query-sync/5, com.mongodb.realm-query-sync/4, com.mongodb.realm-query-sync/3, com.mongodb.realm-query-sync/2
    Sec-WebSocket-Version: 13
    Upgrade: websocket
    User-Agent: RealmSync/13.0.0 (macOS Darwin 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64)


    DEBUG: [SYNC] WebSocket::handle_http_response_received()
    TRACE: [SYNC] HTTP response = HTTP/1.1 101 Switching Protocols
    Cache-Control: no-cache, no-store, must-revalidate
    Connection: Upgrade
    Sec-Websocket-Accept: 0KtV8ANV0VLFF7IJLHEqxxTVQ0Q=
    Sec-Websocket-Protocol: com.mongodb.realm-query-sync/7
    Strict-Transport-Security: max-age=86400; includeSubdomains;
    Upgrade: websocket
    Vary: Origin
    X-Appservices-Request-Id: 638a0bb809640f91256fa81b
    X-Frame-Options: DENY


    INFO: [SYNC] Connection[4]: Negotiated protocol version: 7
    DEBUG: [SYNC] Connection[4]: Will emit a ping in 38624 milliseconds
    DEBUG: [SYNC] Connection[4]: Session[4]: Received: IDENT(client_file_ident=20, client_file_ident_salt=7624210061182451668)
    DEBUG: [SYNC] Connection[4]: Session[4]: ClientResetOperation::finalize, realm_path = /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm, local_realm_exists = true, mode = RecoveOrDiscard
    INFO: [REALM] Realm opened: /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
    INFO: [REALM] Client reset: attempting to automatically recover unsynced changes in Realm: /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
    INFO: [SYNC] Connection[4]: Session[4]: Client reset, path_local = /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm, client_file_ident.ident = 20, client_file_ident.salt = 7624210061182451668,remote = /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm.fresh, mode = RecoveOrDiscard, recovery_is_allowed = true
    INFO: [SYNC] Connection[4]: Session[4]: Local changesets to recover: 2
    DEBUG: [SYNC] Connection[4]: Session[4]: transfer_group, src size = 9, dst size = 11
    DEBUG: [SYNC] Connection[4]: Session[4]: key = 4, table_name = class_FlexChildObject
Commit nr 17   ( from 5 )
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [464, 8] <16>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [3824, 200] <12>  [4024, 288] <6>  [5504, 16] <16>  [5632, 16] <16>  [6016, 48] <16>  [6216, 64] <16>  [6728, 16] <16>  [6760, 24] <16>  [6792, 16] <16>  [6832, 56] <16>  [7400, 32] <16>  [9864, 176] <16>  [11288, 120] <16>  [12168, 280] <16>  
  Freelist (true free): [368, 24] [2800, 16] [5056, 120] [6280, 448] [7872, 1480] [10216, 216] [10792, 144] [11136, 152] [11408, 760] [12768, 3616] 
  Allocating file space for data:
    alloc [7872, 712]
    DEBUG: [SYNC] Connection[4]: Session[4]: Table 'class_FlexChildObject' will remain
    alloc [2800, 16]
    alloc [10792, 72]
    alloc [368, 8]
    alloc [5056, 40]
    alloc [10864, 24]
    alloc [10888, 24]
    alloc [376, 16]
    alloc [5096, 16]
    alloc [5112, 16]
    alloc [5128, 16]
    DEBUG: [SYNC] Connection[4]: Session[4]: key = 5, table_name = class_FlexEmbeddedObject
    alloc [5144, 16]
    alloc [10912, 24]
    alloc [5160, 16]
    alloc [11136, 16]
    alloc [11152, 16]
    alloc [11168, 24]
    alloc [11192, 40]
    alloc [6280, 120]
    alloc [10216, 32]
    alloc [11232, 56]
    alloc [10248, 16]
    alloc [10264, 8]
    alloc [10272, 8]
    alloc [10280, 16]
    alloc [10296, 16]
    alloc [10312, 16]
    alloc [11408, 176]
  Freelist size after allocations: 5
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [464, 8]  version: 16 -> 5
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
    DEBUG: [SYNC] Connection[4]: Session[4]: key = 6, table_name = class_FlexParentObject
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  backdating [5504, 16]  version: 16 -> 0
 - earlier freelist: 5  backdating [5632, 16]  version: 16 -> 0
 - earlier freelist: 5  backdating [6016, 48]  version: 16 -> 0
 - earlier freelist: 5  backdating [6216, 64]  version: 16 -> 0
 - earlier freelist: 5  backdating [6728, 16]  version: 16 -> 0
 - earlier freelist: 5  backdating [6760, 24]  version: 16 -> 0
 - earlier freelist: 5  backdating [6792, 16]  version: 16 -> 0
 - earlier freelist: 5  backdating [6832, 56]  version: 16 -> 0
 - earlier freelist: 5  backdating [7400, 32]  version: 16 -> 0
 - earlier freelist: 5  backdating [9864, 176]  version: 16 -> 0
 - earlier freelist: 5  backdating [11288, 120]  version: 16 -> 0
    DEBUG: [SYNC] Connection[4]: Session[4]: Table 'class_FlexParentObject' will remain
 - earlier freelist: 5  backdating [12168, 280]  version: 16 -> 0
  In-mem freelist before/after consolidation: 5/5
  Allocating file space for freelists:
    alloc [12768, 1000]
  Freelist size after merge: 46   freelist space required: 992
  Final Freelist:
    DEBUG: [SYNC] Connection[4]: Session[4]: The number of tables is 3
    [24..40]: 7    [200..24]: 7    [464..8]: 5    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [3824..200]: 12    [4024..288]: 6    [4312..648]: 17    [5504..16]: 0    [5632..16]: 0    [6016..48]: 0    [6216..64]: 0    [6400..328]: 0    [6728..16]: 0    [6760..24]: 0    [6792..16]: 0    [6832..56]: 0    [6952..56]: 17    [7400..32]: 0    [8584..768]: 0    [9864..176]: 0    [10040..176]: 17    [10328..104]: 0    [10696..96]: 17    [11288..120]: 0    [11584..584]: 0    [12168..280]: 0    [12448..320]: 17    [13088..3296]: 0

Commit nr 18   ( from 5 )
    DEBUG: [SYNC] Connection[4]: Session[4]: Removing objects in 'class_FlexChildObject'
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [3824, 200] <12>  [4024, 288] <6>  [4312, 648] <17>  [6952, 56] <17>  [10040, 176] <17>  [10696, 96] <17>  [12448, 320] <17>  
  Freelist (true free): [464, 8] [5504, 16] [5632, 16] [6016, 48] [6216, 64] [6400, 344] [6760, 24] [6792, 16] [6832, 56] [7400, 32] [8584, 768] [9864, 176] [10328, 104] [11288, 120] [11584, 864] [13088, 3296] 
  Allocating file space for data:
    alloc [5504, 16]
    alloc [5632, 16]
    alloc [6792, 16]
    alloc [7400, 16]
    alloc [464, 8]
    alloc [7416, 16]
    alloc [6016, 16]
    alloc [6760, 24]
    alloc [6032, 16]
    alloc [6048, 16]
    alloc [6832, 24]
    alloc [11288, 120]
    alloc [6856, 16]
    alloc [6872, 16]
    alloc [6216, 24]
    alloc [6240, 16]
    alloc [10328, 16]
    alloc [10344, 16]
    alloc [10360, 16]
    alloc [10376, 16]
    alloc [10392, 16]
    alloc [6256, 8]
    alloc [6264, 16]
    alloc [9864, 32]
    alloc [9896, 16]
    alloc [9912, 16]
    alloc [9928, 16]
    alloc [6400, 56]
    alloc [9944, 16]
    alloc [9960, 16]
    alloc [10408, 24]
    alloc [6456, 40]
    alloc [9976, 32]
    alloc [6496, 88]
    alloc [10008, 16]
    alloc [10024, 8]
    alloc [10032, 8]
    alloc [6584, 16]
    alloc [6600, 16]
    alloc [6616, 24]
    alloc [8584, 176]
  Freelist size after allocations: 4
  In-mem freelist before/after consolidation: 11/11
  Allocating file space for freelists:
    alloc [13088, 952]
  Freelist size after merge: 43   freelist space required: 944
  Final Freelist:
    DEBUG: [SYNC] Connection[4]: Session[4]: Removing objects in 'class_FlexParentObject'
    [24..40]: 7    [200..24]: 7    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [3824..200]: 12    [4024..288]: 6    [4312..648]: 17    [5648..24]: 18    [6064..40]: 18    [6640..104]: 0    [6744..16]: 18    [6784..8]: 18    [6808..24]: 18    [6888..64]: 18    [6952..56]: 17    [7008..392]: 18    [8760..592]: 0    [10040..176]: 17    [10216..112]: 18    [10576..120]: 18    [10696..96]: 17    [11408..176]: 18    [11584..864]: 0    [12448..320]: 17    [12768..320]: 18    [13392..2992]: 0

    DEBUG: [SYNC] Connection[4]: Session[4]: Updating values for table 'class_FlexChildObject', number of rows = 0, number of columns = 4, primary_key_col = 0, primary_key_type = col_type_ObjectId
Commit nr 17   ( from 5 )
    DEBUG: [SYNC] Connection[4]: Session[4]: Updating values for table 'class_FlexParentObject', number of rows = 0, number of columns = 7, primary_key_col = 0, primary_key_type = col_type_ObjectId
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [3824, 200] <12>  [4024, 288] <6>  [4312, 648] <17>  [5648, 24] <18>  [6064, 40] <18>  [6744, 16] <18>  [6784, 8] <18>  [6808, 24] <18>  [6888, 64] <18>  [6952, 56] <17>  [7008, 392] <18>  [10040, 176] <17>  [10216, 112] <18>  [10576, 120] <18>  [10696, 96] <17>  [11408, 176] <18>  [12448, 320] <17>  [12768, 320] <18>  
  Freelist (true free): [6640, 104] [8760, 592] [11584, 864] [13392, 2992] 
  Allocating file space for data:
    INFO: [SYNC] Connection[4]: Session[4]: Recreated the active subscription set in the complete state (2 -> 2)
    alloc [6640, 8]
    alloc [6648, 16]
    alloc [6664, 8]
    alloc [6672, 8]
    alloc [6680, 16]
    alloc [6696, 16]
    alloc [6712, 32]
    alloc [8760, 176]
  Freelist size after allocations: 3
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  backdating [10216, 112]  version: 18 -> 0
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  backdating [11408, 176]  version: 18 -> 0
 - earlier freelist: 16  backdating [12768, 320]  version: 18 -> 0
  In-mem freelist before/after consolidation: 4/4
  Allocating file space for freelists:
    alloc [13392, 1000]
  Freelist size after merge: 46   freelist space required: 992
  Final Freelist:
    [24..40]: 7    [200..24]: 7    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [3824..200]: 12    [4024..288]: 6    [4312..648]: 17    [5648..24]: 18    [6064..40]: 18    [6584..56]: 17    [6744..16]: 18    [6784..8]: 18    [6808..24]: 18    [6888..64]: 18    [6952..56]: 17    [7008..392]: 18    [8584..176]: 17    [8936..416]: 0    [10008..32]: 17    [10040..176]: 17    [10216..112]: 0    [10576..120]: 18    [10696..96]: 17    [11408..176]: 0    [11584..864]: 0    [12448..320]: 17    [12768..320]: 0    [13088..304]: 17    [13712..2672]: 0

    INFO: [SYNC] Connection[4]: Session[4]: perform_client_reset_diff is done, old_version.version = 16, old_version.index = 1, new_version.version = 17, new_version.index = 2
    INFO: [REALM] Realm opened: /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
    INFO: [REALM] Realm opened: /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
Commit nr 18   ( from 5 )
  Freelist (pinned): [24, 40] <7>  [200, 24] <7>  [472, 40] <7>  [512, 8] <10>  [520, 32] <7>  [808, 8] <10>  [936, 224] <6>  [1488, 40] <10>  [1608, 72] <10>  [1704, 24] <10>  [1952, 128] <7>  [2192, 40] <7>  [2232, 24] <10>  [2272, 176] <10>  [2624, 24] <10>  [2648, 120] <7>  [2888, 232] <6>  [3160, 192] <10>  [3400, 24] <10>  [3448, 232] <10>  [3680, 144] <6>  [3824, 200] <12>  [4024, 288] <6>  [4312, 648] <17>  [5648, 24] <18>  [6064, 40] <18>  [6584, 56] <17>  [6744, 16] <18>  [6784, 8] <18>  [6808, 24] <18>  [6888, 64] <18>  [6952, 56] <17>  [7008, 392] <18>  [8584, 176] <17>  [10008, 32] <17>  [10040, 176] <17>  [10576, 120] <18>  [10696, 96] <17>  [12448, 320] <17>  [13088, 304] <17>  
    INFO: [REALM] Client reset: successfully recovered all unsynced changes in Realm: /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
  Freelist (true free): [8936, 416] [10216, 112] [11408, 1040] [12768, 320] [13712, 2672] 
  Allocating file space for data:
    alloc [10216, 8]
    alloc [10224, 16]
    alloc [10240, 8]
    alloc [10248, 8]
    alloc [10256, 16]
    alloc [10272, 16]
    alloc [10288, 40]
    alloc [8936, 176]
  Freelist size after allocations: 4
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 5  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  backdating [6584, 56]  version: 17 -> 0
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  backdating [8584, 176]  version: 17 -> 0
 - earlier freelist: 16  backdating [10008, 32]  version: 17 -> 16 - earlier freelist: 5  backdating [10008, 32]  version: 16 -> 0
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  not free at that point
 - earlier freelist: 16  backdating [13088, 304]  version: 17 -> 0
  In-mem freelist before/after consolidation: 3/3
  Allocating file space for freelists:
    alloc [13712, 1016]
  Freelist size after merge: 47   freelist space required: 1008
  Final Freelist:
    [24..40]: 7    [200..24]: 7    [472..40]: 7    [512..8]: 10    [520..32]: 7    [808..8]: 10    [936..224]: 6    [1488..40]: 10    [1608..72]: 10    [1704..24]: 10    [1952..128]: 7    [2192..40]: 7    [2232..24]: 10    [2272..176]: 10    [2624..24]: 10    [2648..120]: 7    [2888..232]: 6    [3160..192]: 10    [3400..24]: 10    [3448..232]: 10    [3680..144]: 6    [3824..200]: 12    [4024..288]: 6    [4312..648]: 17    [5648..24]: 18    [6064..40]: 18    [6584..56]: 0    [6648..96]: 18    [6744..16]: 18    [6784..8]: 18    [6808..24]: 18    [6888..64]: 18    [6952..56]: 17    [7008..392]: 18    [8584..176]: 0    [8760..176]: 18    [9112..240]: 0    [10008..32]: 0    [10040..176]: 17    [10576..120]: 18    [10696..96]: 17    [11408..1040]: 0    [12448..320]: 17    [12768..320]: 0    [13088..304]: 0    [13392..320]: 18    [14032..2352]: 0

Commit nr 12   ( from 11 )
  Freelist (pinned): 
  Freelist (true free): [1920, 24] [2520, 16] [2768, 24] [3000, 8] [3056, 8] [3784, 344] [6304, 32] [6392, 32] [6568, 432] [7152, 9232] 
  Allocating file space for data:
    alloc [3784, 136]
    alloc [2520, 16]
    alloc [6568, 160]
    alloc [6304, 16]
    alloc [6320, 16]
    alloc [6392, 16]
    alloc [6408, 16]
    alloc [3920, 40]
    alloc [3960, 16]
    alloc [3976, 16]
    alloc [1920, 24]
    alloc [3992, 16]
    alloc [4008, 16]
    alloc [2768, 24]
    alloc [6728, 120]
    alloc [4024, 24]
    alloc [6848, 48]
    alloc [4048, 16]
  Freelist size after allocations: 5
  In-mem freelist before/after consolidation: 6/6
  Allocating file space for freelists:
    alloc [7152, 440]
  Freelist size after merge: 11   freelist space required: 432
  Final Freelist:
    [1368..112]: 12    [1560..120]: 12    [1816..24]: 12    [3000..8]: 0    [3056..8]: 0    [3296..24]: 12    [4064..64]: 0    [6288..16]: 12    [6896..104]: 0    [7000..152]: 12    [7288..9096]: 0

    ERROR: [REALM] Client reset: manual reset required for Realm in '/Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm'
    DEBUG: [REALM] Updating Realm version: VersionId(version=16) -> VersionId(version=18)
    DEBUG: [SYNC] Connection[4]: Session[4]: Client reset is completed, path=/Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
    TRACE: [SYNC] Connection[4]: Session[4]: last_version_available  = 18
    DEBUG: [REALM] Closing intermediate version: 18
    DEBUG: [SYNC] Connection[4]: Session[4]: Sending: IDENT(client_file_ident=20, client_file_ident_salt=7624210061182451668, scan_server_version=4, scan_client_version=0, latest_server_version=4, latest_server_version_salt=0, query_version: 2 query_size: 68, query: "{"FlexParentObject":"(section == 2109535858 and name == \"blue\" )"}")
    DEBUG: [REALM] Closing intermediate version: 16
    DEBUG: [SYNC] Connection[4]: Session[4]: Initiating deactivation
    INFO: [SYNC] Connection[5]: Session[5]: Binding '/Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm' to ''
    DEBUG: [SYNC] Connection[5]: Session[5]: Activating
    INFO: [REALM] Realm closed: NotifierRealm[/Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm}] /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
    INFO: [SYNC] Connection[5]: Session[5]: client_reset_config = false, Realm exists = true, client reset = false
    DEBUG: [SYNC] Connection[5]: Session[5]: client_file_ident = 20, client_file_ident_salt = 7624210061182451668
    DEBUG: [REALM] Closing intermediate version: 5
    DEBUG: [SYNC] Connection[5]: Session[5]: last_version_available  = 18
    DEBUG: [SYNC] Connection[5]: Session[5]: progress_server_version = 4
    DEBUG: [SYNC] Connection[5]: Session[5]: progress_client_version = 0
    INFO: [REALM] Realm closed: RealmImpl[/Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm}] /Users/elg/git/realm-kotlin/packages/test-sync/mongodb-realm/client-reset-flx_1096-xyorm/638a0bb709640f91256fa7ea/default.realm
    DEBUG: [SYNC] Connection[5]: Session[5]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 0, reliable_download_progress = false, snapshot version = 18
    DEBUG: [SYNC] Connection[5]: Session[5]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 0, reliable_download_progress = false, snapshot version = 18
    DEBUG: [SYNC] Connection[4]: Session[4]: Deactivation completed
    INFO: [SYNC] Connection[4]: Allowing reconnection in 939 milliseconds
    INFO: [SYNC] Connection[4]: Disconnected
    DEBUG: [SYNC] WebSocket::Websocket()
    INFO: [SYNC] Resolving 'localhost:9090'
    DEBUG: [SYNC] Connection[4]: Destroying connection object
Commit nr 13   ( from 12 )
  Freelist (pinned): 
  Freelist (true free): [1368, 112] [1560, 120] [1816, 24] [3000, 8] [3056, 8] [3296, 24] [4064, 64] [6288, 16] [6896, 256] [7288, 9096] 
  Allocating file space for data:
    alloc [6288, 16]
    alloc [4064, 16]
    alloc [4080, 16]
    alloc [4096, 16]
    alloc [4112, 16]
    alloc [1368, 32]
    alloc [1400, 40]
    alloc [1816, 24]
    alloc [1560, 32]
    alloc [1440, 16]
  Freelist size after allocations: 7
  In-mem freelist before/after consolidation: 9/9
  Allocating file space for freelists:
    alloc [7288, 520]
  Freelist size after merge: 16   freelist space required: 512
  Final Freelist:
    [1456..24]: 0    [1592..88]: 0    [2752..16]: 13    [3000..8]: 0    [3008..16]: 13    [3056..8]: 0    [3296..24]: 0    [3320..16]: 13    [3744..40]: 13    [4024..40]: 13    [4128..2088]: 13    [6256..32]: 13    [6848..48]: 13    [6896..256]: 0    [7152..136]: 13    [7440..8944]: 0

    INFO: [SYNC] Connecting to endpoint '::1:9090' (1/2)
    INFO: [SYNC] Connected to endpoint '::1:9090' (from '::1:52507')
    DEBUG: [SYNC] WebSocket::initiate_client_handshake()
    TRACE: [SYNC] HTTP request =
    GET /api/client/v2.0/app/client-reset-flx_1096-xyorm/realm-sync?baas_at=eyJhbGciOiJSUzI1NiIsImtpZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1NCIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsImJhYXNfZG9tYWluX2lkIjoiNjM4YTBiYjEwOTY0MGY5MTI1NmZhNzUzIiwiZXhwIjoxNjY5OTkzMTUxLCJpYXQiOjE2Njk5OTEzNTEsImlzcyI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlZCIsInN0aXRjaF9kZXZJZCI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYyIsInN0aXRjaF9kb21haW5JZCI6IjYzOGEwYmIxMDk2NDBmOTEyNTZmYTc1MyIsInN1YiI6IjYzOGEwYmI3MDk2NDBmOTEyNTZmYTdlYSIsInR5cCI6ImFjY2VzcyJ9.CNukMXxmSb7dW5G9E86yHfETsGkF0TNBhT1TegbOByamYRxlgxd0cKeIdYfLFBou2jc4OYIw13XTUSaFTSer-zfa_EHdETwi3GoUm7i6g2YuN0p3QBZzH258eYWRLPm6ntjJNjJyzNYGahx-x-DXOYi7O_5meV1MKwAKaWR9t14uTO8rMz1YERQFT2WDCjB2rg6Z_2qfSercrHolJ10l4pqW5gCt73ARICCrE-ebrvHDltTnbULqr3RQt2CdZW30s_4bADecw4flXB-POyH09Q18CiDFPJ2B7bUD-kCeGQLAAjeaL8xcPa9Ho77YnrvibflLiQrrtyvjlRac94xnlQ HTTP/1.1
    Host: localhost:9090
    Connection: Upgrade
    Sec-WebSocket-Key: Jg7EE8Lg2mZ3JaY3jqB6hw==
    Sec-WebSocket-Protocol: com.mongodb.realm-query-sync/7, com.mongodb.realm-query-sync/6, com.mongodb.realm-query-sync/5, com.mongodb.realm-query-sync/4, com.mongodb.realm-query-sync/3, com.mongodb.realm-query-sync/2
    Sec-WebSocket-Version: 13
    Upgrade: websocket
    User-Agent: RealmSync/13.0.0 (macOS Darwin 21.6.0 Darwin Kernel Version 21.6.0: Thu Sep 29 20:13:56 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T6000 arm64)


    DEBUG: [SYNC] Connection[5]: Session[5]: Initiating deactivation
    DEBUG: [SYNC] Connection[5]: Session[5]: Deactivation completed
    INFO: [SYNC] Connection[5]: Allowing reconnection in 963 milliseconds
    INFO: [SYNC] Connection[5]: Disconnected
    DEBUG: [SYNC] Connection[5]: Destroying connection object
Commit nr 14   ( from 13 )
  Freelist (pinned): 
  Freelist (true free): [1456, 24] [1592, 88] [2752, 16] [3000, 24] [3056, 8] [3296, 40] [3744, 40] [4024, 40] [4128, 2088] [6256, 32] [6848, 440] [7440, 8944] 
  Allocating file space for data:
    alloc [2752, 16]
    alloc [6256, 16]
    alloc [6272, 16]
    alloc [3296, 16]
    alloc [3744, 40]
    alloc [1456, 24]
    alloc [3000, 24]
    alloc [4024, 16]
  Freelist size after allocations: 7
  In-mem freelist before/after consolidation: 6/6
  Allocating file space for freelists:
    alloc [4128, 472]
  Freelist size after merge: 13   freelist space required: 464
  Final Freelist:
    [1440..16]: 14    [1560..32]: 14    [1592..88]: 0    [1816..24]: 14    [3056..8]: 0    [3136..56]: 14    [3208..72]: 14    [3312..24]: 0    [4040..24]: 0    [4280..1936]: 0    [6848..440]: 0    [7288..152]: 14    [7440..8944]: 0

    DEBUG: [REALM] REQUEST: http://127.0.0.1:9090/api/client/v2.0/auth/session
    METHOD: HttpMethod(value=DELETE)
    BODY Content-Type: application/json; charset=utf-8
    BODY START

    BODY END
    DEBUG: [REALM] RESPONSE: 204 No Content
    METHOD: HttpMethod(value=DELETE)
    FROM: http://127.0.0.1:9090/api/client/v2.0/auth/session
    BODY Content-Type: null
    BODY START

    BODY END
    -----------------> CLIENT-RESET-FLX_1096 DONE
    =================================> DONE

@sync-by-unito
Copy link

sync-by-unito bot commented Dec 6, 2022

➤ Jonathan Reams commented:

So I've added some more logging to the client history impl, and this is how the version info for the sync client is changing over time:

2022-12-06 16:45:55.321  D  Connection[4]: Negotiated protocol version: 7
2022-12-06 16:45:55.321  D  Connection[4]: Will emit a ping in 25354 milliseconds
2022-12-06 16:45:55.340  D  Connection[4]: Session[4]: Received: IDENT(client_file_ident=20, client_file_ident_salt=7088940236741299748)
2022-12-06 16:45:55.341  D  Connection[4]: Session[4]: ClientResetOperation::finalize, realm_path = /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_3676-ilpng/638f68171fb3b443505fd87e/default.realm, local_realm_exists = true, mode = RecoveOrDiscard
2022-12-06 16:45:55.341  D  Realm opened: /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_3676-ilpng/638f68171fb3b443505fd87e/default.realm
2022-12-06 16:45:55.341  D  Client reset: attempting to automatically recover unsynced changes in Realm: /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_3676-ilpng/638f68171fb3b443505fd87e/default.realm
2022-12-06 16:45:55.341  D  Connection[4]: Session[4]: Client reset, path_local = /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_3676-ilpng/638f68171fb3b443505fd87e/default.realm, client_file_ident.ident = 20, client_file_ident.salt = 7088940236741299748,remote = /data/user/0/io.realm.sync.testapp.test/files/mongodb-realm/client-reset-flx_3676-ilpng/638f68171fb3b443505fd87e/default.realm.fresh, mode = RecoveOrDiscard, recovery_is_allowed = true
2022-12-06 16:45:55.341  D  client history for default.realm: update_from_ref_and_version in sync client. has ref. new base version is 16 history size is 1
2022-12-06 16:45:55.341  D  Connection[4]: Session[4]: Local changesets to recover: 2
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: transfer_group, src size = 9, dst size = 11
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: key = 4, table_name = class_FlexChildObject
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: Table 'class_FlexChildObject' will remain
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: key = 5, table_name = class_FlexEmbeddedObject
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: key = 6, table_name = class_FlexParentObject
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: Table 'class_FlexParentObject' will remain
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: The number of tables is 3
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: Removing objects in 'class_FlexChildObject'
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: Removing objects in 'class_FlexParentObject'
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: Updating values for table 'class_FlexChildObject', number of rows = 0, number of columns = 4, primary_key_col = 0, primary_key_type = col_type_ObjectId
2022-12-06 16:45:55.342  D  Connection[4]: Session[4]: Updating values for table 'class_FlexParentObject', number of rows = 0, number of columns = 7, primary_key_col = 0, primary_key_type = col_type_ObjectId
2022-12-06 16:45:55.342  D  client history for default.realm: adding CT changeset to sync history in prepare_changeset. old size 1 new size 2
2022-12-06 16:45:55.342  D  client history for default.realm: returning from prepare_changeset with new history version 15 + 2
2022-12-06 16:45:55.342  D  client history for default.realm: trimming ct history in sync client. base version is 15 + 1
2022-12-06 16:45:55.346  D  client history for default.realm: update_from_ref_and_version in sync client. has ref. new base version is 17 history size is 1
2022-12-06 16:45:55.346  D  client history for default.realm: adding CT changeset to sync history in prepare_changeset. old size 1 new size 2
2022-12-06 16:45:55.346  D  client history for default.realm: returning from prepare_changeset with new history version 16 + 2
2022-12-06 16:45:55.347  D  Connection[4]: Session[4]: Recreated the active subscription set in the complete state (2 -> 2)
2022-12-06 16:45:55.348  D  client history for default.realm: update_from_ref_and_version in sync client. has ref. new base version is 16 history size is 2
2022-12-06 16:45:55.348  D  client history for default.realm: adding CT changeset to sync history in prepare_changeset. old size 2 new size 3
2022-12-06 16:45:55.348  D  client history for default.realm: returning from prepare_changeset with new history version 14 + 3
2022-12-06 16:45:55.348  E  /Users/elg/git/realm-kotlin/packages/external/core/src/realm/group_writer.cpp:533: [realm-core-13.0.0] Assertion failed: !referenced

The first thing that jumps out to me is that the base version in History::update_from_ref_and_version goes backwards? [~finn.schiermer-andersen@mongodb.com], what could cause that do you think? The place that calls this function is here when a read transaction is advanced, and here where we set the version to whatever the version prepare_changeset() was called with.

@sync-by-unito
Copy link

sync-by-unito bot commented Dec 13, 2022

➤ bmunkholm commented:

[~jorgen.edelbo@mongodb.com] Is also looking into this.

@sync-by-unito
Copy link

sync-by-unito bot commented Dec 13, 2022

➤ Jonathan Reams commented:

I've pushed my logging changes to https://github.com/realm/realm-core/tree/jbr/client_history_logging_wip.

@sync-by-unito
Copy link

sync-by-unito bot commented Dec 21, 2022

➤ Jonathan Reams commented:

I think this turns out to be a bug in client reset with recovery that gets triggered when recovery is attempted on an FLX sync realm with only one subscription set. The sequence of events is

  1. We start a client reset with recovery and cache the version number of the write transaction we are going to recover in here
  2. We restore the active subscription set and set it to complete here - now the actual latest version is the cached version + 1
  3. We update the client file ident after the reset is complete here with the original cached version number (which is wrong).
  4. This calls into set_client_file_ident_in_wt() here which calls ensure_updated(), which if a flag is not set here calls back into ClientImplBase to actually update the replication info.
  5. Now, back down in ClientHistoryImpl we update the base version number to the now wrong cached version number here
  6. We try to commit here and it blows up because the version number has gone backwards or stayed the same.

If we have more than one subscription set (as our FLX client reset tests currently do), then the flag in step 4 is set and we don't update the base version of history to a wrong value and everything works as expected.

I've pushed some more tests/logging/etc to back up my theory to the client_history_logging_wip branch.

@sync-by-unito
Copy link

sync-by-unito bot commented Dec 22, 2022

➤ finnschiermer commented:

Nice work [~jonathan.reams@mongodb.com] 😀

@sync-by-unito
Copy link

sync-by-unito bot commented Dec 22, 2022

➤ jedelbo commented:

I think a fix like this would be fine:

@@ -612,7 +612,7 @@ LocalVersionIDs perform_client_reset_diff(DBRef db_local, DBRef db_remote, sync:
{{         // partially recovered, but interrupted may continue sync the next time it is}}
{{         // opened with only partially recovered state while having lost the history of any}}
{{         // offline modifications.}}
-        history_local->set_client_file_ident_in_wt(current_version_local, client_file_ident);
+        history_local->set_client_file_ident_in_wt(wt_local->get_version(), client_file_ident);
{{         wt_local->commit_and_continue_as_read();}}
{{     }}}
{{     else {}}

cbush pushed a commit to mongodb/docs-realm that referenced this issue Mar 17, 2023
<h3>Snyk has created this PR to upgrade realm from 11.3.1 to
11.5.0.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.
<hr/>

- The recommended version is **3 versions** ahead of your current
version.
- The recommended version was released **25 days ago**, on 2023-02-19.


<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>realm</b></summary>
    <ul>
      <li>
<b>11.5.0</b> - <a
href="https://snyk.io/redirect/github/realm/realm-js/releases/tag/v11.5.0">2023-02-19</a></br><h3>Deprecations</h3>
<ul>
<li>The ECMAScript Array APIs (such as <code>map</code>,
<code>every</code>, access using indexing operator <code>[]</code>,
etc.) on the <code>SubscriptionSet</code> types were deprecated.
<ul>
<li>The existing methods will continue to work until the next major
version.</li>
<li>The following will <strong>not</strong> be removed from
<code>BaseSubscriptionSet</code>:
<ul>
<li>Being iterable (e.g using <code>for-of</code> loop).</li>
<li>Being able to spread (e.g.
<code>[...realm.subscriptions]</code>).</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>Enhancements</h3>
<ul>
<li>Converting flexible sync Realms to bundled and local Realms is now
supported. (<a
href="https://snyk.io/redirect/github/realm/realm-core/pull/6076"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6076/hovercard">realm/realm-core#6076</a>)</li>
<li>For client reset mode <code>onRecoveryOrDiscard</code>, the
<code>onDiscard</code> and <code>onRecovery</code> callbacks now have
simple default values. (<a
href="https://snyk.io/redirect/github/realm/realm-js/pull/5288"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-js/pull/5288/hovercard">#5288</a>,
since v11.1.0)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed possible segfault in sync client where async callback was
using object after being deallocated. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6053"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6053/hovercard">realm/realm-core#6053</a>,
since v10.11.0)</li>
<li>Fixed crash when using client reset with recovery and flexible sync
with a single subscription (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6070"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6070/hovercard">#6070</a>,
since v10.19.5)</li>
<li>If <code>path</code> is defined in the configuration, it will used
for synced Realms too. Relative paths will be appended to a default
prefix (prefix is computed using app id and user id). Absolute paths are
left untouched. (since v10.0.0)</li>
<li>Fixed a bug related to parsing the client reset configuration. (<a
href="https://snyk.io/redirect/github/realm/realm-js/pull/5288"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-js/pull/5288/hovercard">#5288</a>,
since v11.1.0)</li>
<li>Client reset with recovery or discard local could fail if there were
dangling links in lists that got ressurected while the list was being
transferred from the fresh Realm. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6292"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6292/hovercard">realm/realm-core#6292</a>,
since v10.10.0)</li>
<li>Sharing Realm files between a Catalyst app and Realm Studio did not
properly synchronize access to the Realm file. (<a
href="https://snyk.io/redirect/github/realm/realm-core/pull/6258"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6258/hovercard">realm/realm-core#6258</a>,
since v6.1.0)</li>
<li>When client reset with recovery is used and the recovery does not
actually result in any new local commits, the sync client may have
gotten stuck in a cycle with a <code>A fatal error occured during client
reset: 'A previous 'Recovery' mode reset from &lt;timestamp&gt; did not
succeed, giving up on 'Recovery' mode to prevent a cycle'</code> error
message. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6195"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6195/hovercard">realm/realm-core#6195</a>,
since v10.18.0)</li>
<li>Fixed diverging history in flexible sync if writes occur during
bootstrap to objects that just came into view. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/5804"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/5804/hovercard">realm/realm-core#5804</a>,
since v10.11.0)</li>
<li>If a client reset with recovery or discard local is interrupted
while the "fresh" Realm is being downloaded, the sync client may crash
with a <code>MultipleSyncAgents</code> exception (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/6217"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/6217/hovercard">realm/realm-core#6217</a>,
since v10.15.0)</li>
<li>Online compaction may cause a single commit to take a long time. (<a
href="https://snyk.io/redirect/github/realm/realm-core/pull/6245"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6245/hovercard">realm/realm-core#6245</a>,
since v11.3.0-rc.0)</li>
</ul>
<h3>Compatibility</h3>
<ul>
<li>React Native &gt;= v0.71.0</li>
<li>Atlas App Services.</li>
<li>Realm Studio v13.0.0.</li>
<li>File format: generates Realms with format v23 (reads and upgrades
file format v5 or later for non-synced Realm, upgrades file format v10
or later for synced Realms).</li>
</ul>
<h3>Internal</h3>
<ul>
<li>Upgrade Example to use React Native 0.71.1 (<a
href="https://snyk.io/redirect/github/realm/realm-js/pull/5438"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-js/pull/5438/hovercard">#5438</a>)</li>
<li>Upgraded Realm Core from v13.1.1 to v13.4.2. (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5174"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5174/hovercard">#5174</a>, <a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5244"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5244/hovercard">#5244</a>, <a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5419"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5419/hovercard">#5419</a> and
<a href="https://snyk.io/redirect/github/realm/realm-js/issues/5450"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5450/hovercard">#5450</a>)</li>
<li>Unpin Xcode version when building locally and upgrade the Xcode
version used by Github Actions.</li>
<li>Enable tests for notifications on dictionary.</li>
<li>Automate releasing package on Github Actions.</li>
<li>Upgrade OpenSSL v1.1.1n to v3.0.8. (<a
href="https://snyk.io/redirect/github/realm/realm-core/pull/6097"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6097/hovercard">realm/realm-core#6097</a>
and <a href="https://snyk.io/redirect/github/realm/realm-core/pull/6305"
data-hovercard-type="pull_request"
data-hovercard-url="/realm/realm-core/pull/6305/hovercard">realm/realm-core#6305</a>)</li>
</ul>
      </li>
      <li>
<b>11.4.0</b> - <a
href="https://snyk.io/redirect/github/realm/realm-js/releases/tag/v11.4.0">2023-01-23</a></br><h3>Fixed</h3>
<ul>
<li>Fix no notification for write transaction that contains only change
to backlink property. (<a
href="https://snyk.io/redirect/github/realm/realm-core/issues/4994"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-core/issues/4994/hovercard">realm/realm-core#4994</a>,
since v10.8.0)</li>
</ul>
<h3>Compatibility</h3>
<ul>
<li>React Native &gt;= v0.71.0</li>
<li>File format: generates Realms with format v23 (reads and upgrades
file format v5 or later for non-synced Realm, upgrades file format v10
or later for synced Realms).</li>
</ul>
<h3>Internal</h3>
<ul>
<li>Upgraded Realm Core from v13.1.1 to v13.1.2. (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5174"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5174/hovercard">#5174</a>)</li>
<li>Switching from NDK 21 to NDK 23 for Android builds, and bumping the
required CMake version to 3.21.4. Sizes of binaries are found below. (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/3905"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/3905/hovercard">#3905</a>)</li>
</ul>
<table>
<thead>
<tr>
<th>Architecture</th>
<th>NDK 21</th>
<th>NDK 23</th>
</tr>
</thead>
<tbody>
<tr>
<td>armeabi-v7a</td>
<td>5415116</td>
<td>5554692</td>
</tr>
<tr>
<td>x86</td>
<td>9760312</td>
<td>10905472</td>
</tr>
<tr>
<td>arm64-v8a</td>
<td>8883176</td>
<td>9547032</td>
</tr>
<tr>
<td>x86_64</td>
<td>9879208</td>
<td>10574368</td>
</tr>
</tbody>
</table>
      </li>
      <li>
<b>11.3.2</b> - <a
href="https://snyk.io/redirect/github/realm/realm-js/releases/tag/v11.3.2">2023-01-17</a></br><h3>DEPRECATED</h3>
<p>Please use either 11.3.1 or 11.4.0, depending on what version of
React Native you are using.</p>
      </li>
      <li>
<b>11.3.1</b> - <a
href="https://snyk.io/redirect/github/realm/realm-js/releases/tag/v11.3.1">2022-12-07</a></br><h3>Fixed</h3>
<ul>
<li>Not possible to open an encrypted file on a device with a page size
bigger than the one on which the file was produced. (<a
href="https://snyk.io/redirect/github/realm/realm-swift/issues/8030"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-swift/issues/8030/hovercard">#8030</a>,
since v11.1.0)</li>
<li>Empty binary values will no longer be treated as null (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5114"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5114/hovercard">#5114</a>,
since v10.5.0)</li>
</ul>
<h3>Compatibility</h3>
<ul>
<li>React Native &gt;= v0.70.0</li>
<li>Atlas App Services.</li>
<li>Realm Studio v13.0.0.</li>
<li>File format: generates Realms with format v23 (reads and upgrades
file format v5 or later for non-synced Realm, upgrades file format v10
or later for synced Realms).</li>
</ul>
<h3>Internal</h3>
<ul>
<li>Upgraded Realm Core from v13.1.0 to v13.1.1. (<a
href="https://snyk.io/redirect/github/realm/realm-js/issues/5154"
data-hovercard-type="issue"
data-hovercard-url="/realm/realm-js/issues/5154/hovercard">#5154</a>)</li>
</ul>
      </li>
    </ul>
from <a
href="https://snyk.io/redirect/github/realm/realm-js/releases">realm
GitHub release notes</a>
  </details>
</details>


<details>
  <summary><b>Commit messages</b></summary>
  </br>
  <details>
    <summary>Package name: <b>realm</b></summary>
    <ul>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/12bc38cbb02bd2ebbce4b9d311c316ca7c205b1a">12bc38c</a>
[11.5.0] Bump version</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/d3697007858dc91a722f9e654ae02e2d5c06c93c">d369700</a>
Upgrade to Realm Core v13.4.2 (#5453)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/4cbf5d49d289642261211f6e30f7cc91dbb784df">4cbf5d4</a>
Upgrade to Realm Core v13.4.1 (#5435)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/d3cedd84f132df420f26a597d49ee6c883b4f1db">d3cedd8</a>
Use &#x60;rollup&#x60; for building &#x60;@ realm/react&#x60;
(#5446)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/106a9f323944022390f2a997c656977cb9b58276">106a9f3</a>
Update deploy-cluster.yml</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/61524c62cfe9ed15d94463240648944d32c4ae29">61524c6</a>
Update publish-release.yml</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/5057178932a06fb94a6360496729d243bfd43750">5057178</a>
Update deploy-cluster.yml</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/4c3ad08d6e98694821515db657b31faa4be276f8">4c3ad08</a>
Update deploy-cluster.yml</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/196201c089771b945d0fd49b3675fbd2f7c80657">196201c</a>
Deploy cluster workflow (#5420)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/f0ffa3c65deec6a479b3eab37d6438e5a74f454c">f0ffa3c</a>
Derive the config when deleting.</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/24783288671f60b7882cd3264a3c5548d4663d72">2478328</a>
Update &#x60;useUser&#x60; to never return &#x60;null&#x60; (#5443)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/fe0a4e3757c6bb8f2f5858d5ea41ba25fbeee76f">fe0a4e3</a>
Revert &quot;Use clusterName as differentiator&quot;</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/b6696df7b99a0268842778bd84263e2386916f34">b6696df</a>
Use clusterName as differentiator</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/1b804bfc02953c001f3b2f6f78b36687f3ae8e7f">1b804bf</a>
Moved &#x60;closeThisRealm&#x60; and simplified &#x60;closeRealm&#x60;
(#5437)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/2cc1541b2ddbe82c5a8ccd5c334331ef8e5b3279">2cc1541</a>
Fix &quot;Invalid Realm passed to bind_to_context()&quot; when clearing
test state (#5436)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/84f1d3cb0185b4486f3edb36057631d7f99da7b6">84f1d3c</a>
Create Default Provider and Hooks for &#x60;@ realm/react&#x60;
(#5340)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/4a5e32475c907748772c55a55bbcb84759ac8046">4a5e324</a>
Update Example to use Realm 0.71 (#5442)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/c04099fc7b7a2087c33a10d2d6c9fea3c8c6f782">c04099f</a>
Revert &quot;Update Example to use Realm 0.71 (#5438)&quot; (#5441)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/14f8179fd5f54eff8a127020e8ecfeba43b2e557">14f8179</a>
Update Example to use Realm 0.71 (#5438)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/dd7708373afd51fde6c752ba72f31697a142457f">dd77083</a>
Adding a &#x60;longTimeout&#x60; method to &#x60;Suite&#x60; and
&#x60;Context&#x60; (#5360)</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/c9c4853431ae7730406806bf20267f0e0c891fa4">c9c4853</a>
Updated package-lock of the tests package</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/308ce4f80252624b4852e883c97265550cebc801">308ce4f</a>
Update .gitignore</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/650b6ed6a05b166589ee4a436e9a85668d18fb84">650b6ed</a>
Fixed vscode integration tests task</li>
<li><a
href="https://snyk.io/redirect/github/realm/realm-js/commit/e3bebc66a3fad604dcaf618bd224043b412b73f2">e3bebc6</a>
Merge pull request #5434 from realm/papafe-patch-1</li>
    </ul>

<a
href="https://snyk.io/redirect/github/realm/realm-js/compare/14ddea6f64062f3f404de6ca3e6744ea803359b2...12bc38cbb02bd2ebbce4b9d311c316ca7c205b1a">Compare</a>
  </details>
</details>
<hr/>

**Note:** *You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs.*

For more information: <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJmYzRiZjQ0MS03YjdjLTQ1NWUtYmIwNy1kOTIxZTViOTVkMWYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImZjNGJmNDQxLTdiN2MtNDU1ZS1iYjA3LWQ5MjFlNWI5NWQxZiJ9fQ=="
width="0" height="0"/>

🧐 [View latest project
report](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🛠 [Adjust upgrade PR
settings](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)

🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55/settings/integration?pkg&#x3D;realm&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

<!---
(snyk:metadata:{"prId":"fc4bf441-7b7c-455e-bb07-d921e5b95d1f","prPublicId":"fc4bf441-7b7c-455e-bb07-d921e5b95d1f","dependencies":[{"name":"realm","from":"11.3.1","to":"11.5.0"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/sandbox-2ba/project/852e6e4f-be96-45c8-b370-1060f5ebee55?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"852e6e4f-be96-45c8-b370-1060f5ebee55","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":3,"publishedDate":"2023-02-19T15:33:31.722Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]})
--->

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants