Home
last modified time | relevance | path

Searched refs:ws_handle (Results 1 – 25 of 194) sorted by relevance

12345678

/dports/databases/mariadb104-server/mariadb-10.4.24/wsrep-lib/include/wsrep/
H A Dhigh_priority_service.hpp32 class ws_handle;
44 int apply(const ws_handle& ws_handle, const ws_meta& ws_meta, in apply() argument
47 return server_state_.on_apply(*this, ws_handle, ws_meta, data); in apply()
52 virtual int start_transaction(const wsrep::ws_handle&,
98 const wsrep::ws_handle& ws_handle,
130 virtual int commit(const wsrep::ws_handle& ws_handle,
147 virtual int rollback(const wsrep::ws_handle& ws_handle,
219 virtual int log_dummy_write_set(const ws_handle& ws_handle,
/dports/databases/mariadb104-client/mariadb-10.4.24/wsrep-lib/include/wsrep/
H A Dhigh_priority_service.hpp32 class ws_handle;
44 int apply(const ws_handle& ws_handle, const ws_meta& ws_meta, in apply() argument
47 return server_state_.on_apply(*this, ws_handle, ws_meta, data); in apply()
52 virtual int start_transaction(const wsrep::ws_handle&,
98 const wsrep::ws_handle& ws_handle,
130 virtual int commit(const wsrep::ws_handle& ws_handle,
147 virtual int rollback(const wsrep::ws_handle& ws_handle,
219 virtual int log_dummy_write_set(const ws_handle& ws_handle,
/dports/databases/mariadb105-client/mariadb-10.5.15/wsrep-lib/include/wsrep/
H A Dhigh_priority_service.hpp32 class ws_handle;
44 int apply(const ws_handle& ws_handle, const ws_meta& ws_meta, in apply() argument
47 return server_state_.on_apply(*this, ws_handle, ws_meta, data); in apply()
52 virtual int start_transaction(const wsrep::ws_handle&,
98 const wsrep::ws_handle& ws_handle,
130 virtual int commit(const wsrep::ws_handle& ws_handle,
147 virtual int rollback(const wsrep::ws_handle& ws_handle,
219 virtual int log_dummy_write_set(const ws_handle& ws_handle,
/dports/databases/mariadb105-server/mariadb-10.5.15/wsrep-lib/include/wsrep/
H A Dhigh_priority_service.hpp32 class ws_handle;
44 int apply(const ws_handle& ws_handle, const ws_meta& ws_meta, in apply() argument
47 return server_state_.on_apply(*this, ws_handle, ws_meta, data); in apply()
52 virtual int start_transaction(const wsrep::ws_handle&,
98 const wsrep::ws_handle& ws_handle,
130 virtual int commit(const wsrep::ws_handle& ws_handle,
147 virtual int rollback(const wsrep::ws_handle& ws_handle,
219 virtual int log_dummy_write_set(const ws_handle& ws_handle,
/dports/databases/galera26/galera-release_26.4.10/wsrep/src/examples/node/
H A Dtrx.c38 wsrep_ws_handle_t ws_handle = { 0, NULL }; in node_trx_execute() local
41 if (0 != (ret = node_store_execute(store, wsrep, &ws_handle))) in node_trx_execute()
54 cert = wsrep->certify(wsrep, conn_id, &ws_handle, ws_flags, &ws_meta); in node_trx_execute()
62 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
68 ret = wsrep->commit_order_enter(wsrep, &ws_handle, &ws_meta); in node_trx_execute()
79 node_store_commit(store, ws_handle.trx_id, &ws_meta.gtid); in node_trx_execute()
100 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
107 wsrep->release(wsrep, &ws_handle); in node_trx_execute()
115 const wsrep_ws_handle_t* const ws_handle, in node_trx_apply() argument
143 ret = wsrep->commit_order_enter(wsrep, ws_handle, ws_meta); in node_trx_apply()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/wsrep-lib/wsrep-API/v26/examples/node/
H A Dtrx.c38 wsrep_ws_handle_t ws_handle = { 0, NULL }; in node_trx_execute() local
41 if (0 != (ret = node_store_execute(store, wsrep, &ws_handle))) in node_trx_execute()
54 cert = wsrep->certify(wsrep, conn_id, &ws_handle, ws_flags, &ws_meta); in node_trx_execute()
62 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
68 ret = wsrep->commit_order_enter(wsrep, &ws_handle, &ws_meta); in node_trx_execute()
79 node_store_commit(store, ws_handle.trx_id, &ws_meta.gtid); in node_trx_execute()
100 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
107 wsrep->release(wsrep, &ws_handle); in node_trx_execute()
115 const wsrep_ws_handle_t* const ws_handle, in node_trx_apply() argument
143 ret = wsrep->commit_order_enter(wsrep, ws_handle, ws_meta); in node_trx_apply()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/wsrep-lib/wsrep-API/v26/examples/node/
H A Dtrx.c38 wsrep_ws_handle_t ws_handle = { 0, NULL }; in node_trx_execute() local
41 if (0 != (ret = node_store_execute(store, wsrep, &ws_handle))) in node_trx_execute()
54 cert = wsrep->certify(wsrep, conn_id, &ws_handle, ws_flags, &ws_meta); in node_trx_execute()
62 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
68 ret = wsrep->commit_order_enter(wsrep, &ws_handle, &ws_meta); in node_trx_execute()
79 node_store_commit(store, ws_handle.trx_id, &ws_meta.gtid); in node_trx_execute()
100 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
107 wsrep->release(wsrep, &ws_handle); in node_trx_execute()
115 const wsrep_ws_handle_t* const ws_handle, in node_trx_apply() argument
143 ret = wsrep->commit_order_enter(wsrep, ws_handle, ws_meta); in node_trx_apply()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/wsrep-lib/wsrep-API/v26/examples/node/
H A Dtrx.c38 wsrep_ws_handle_t ws_handle = { 0, NULL }; in node_trx_execute() local
41 if (0 != (ret = node_store_execute(store, wsrep, &ws_handle))) in node_trx_execute()
54 cert = wsrep->certify(wsrep, conn_id, &ws_handle, ws_flags, &ws_meta); in node_trx_execute()
62 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
68 ret = wsrep->commit_order_enter(wsrep, &ws_handle, &ws_meta); in node_trx_execute()
79 node_store_commit(store, ws_handle.trx_id, &ws_meta.gtid); in node_trx_execute()
100 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
107 wsrep->release(wsrep, &ws_handle); in node_trx_execute()
115 const wsrep_ws_handle_t* const ws_handle, in node_trx_apply() argument
143 ret = wsrep->commit_order_enter(wsrep, ws_handle, ws_meta); in node_trx_apply()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/wsrep-lib/wsrep-API/v26/examples/node/
H A Dtrx.c38 wsrep_ws_handle_t ws_handle = { 0, NULL }; in node_trx_execute() local
41 if (0 != (ret = node_store_execute(store, wsrep, &ws_handle))) in node_trx_execute()
54 cert = wsrep->certify(wsrep, conn_id, &ws_handle, ws_flags, &ws_meta); in node_trx_execute()
62 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
68 ret = wsrep->commit_order_enter(wsrep, &ws_handle, &ws_meta); in node_trx_execute()
79 node_store_commit(store, ws_handle.trx_id, &ws_meta.gtid); in node_trx_execute()
100 node_store_rollback(store, ws_handle.trx_id); in node_trx_execute()
107 wsrep->release(wsrep, &ws_handle); in node_trx_execute()
115 const wsrep_ws_handle_t* const ws_handle, in node_trx_apply() argument
143 ret = wsrep->commit_order_enter(wsrep, ws_handle, ws_meta); in node_trx_apply()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/wsrep-lib/test/
H A Dmock_storage_service.cpp46 const wsrep::ws_handle& ws_handle) in start_transaction() argument
48 return client_state_.start_transaction(ws_handle.transaction_id()); in start_transaction()
57 int wsrep::mock_storage_service::commit(const wsrep::ws_handle& ws_handle, in commit() argument
65 ret = ret || client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in commit()
78 client_state_.prepare_for_ordering(wsrep::ws_handle(), wsrep::ws_meta(), false); in commit()
85 int wsrep::mock_storage_service::rollback(const wsrep::ws_handle& ws_handle, in rollback() argument
89 ws_handle, ws_meta, false) || in rollback()
H A Dmock_provider.hpp80 wsrep::ws_handle& ws_handle, in certify() argument
85 ws_handle = wsrep::ws_handle(ws_handle.transaction_id(), (void*)1); in certify()
111 ws_handle.transaction_id(), in certify()
148 assign_read_view(wsrep::ws_handle&, const wsrep::gtid*) in assign_read_view() argument
151 int append_key(wsrep::ws_handle&, const wsrep::key&) in append_key() argument
166 commit_order_enter(const wsrep::ws_handle& ws_handle, in commit_order_enter() argument
170 BOOST_REQUIRE(ws_handle.opaque()); in commit_order_enter()
175 int commit_order_leave(const wsrep::ws_handle& ws_handle, in commit_order_leave() argument
180 BOOST_REQUIRE(ws_handle.opaque()); in commit_order_leave()
187 int release(wsrep::ws_handle& ) in release() argument
[all …]
H A Dmock_high_priority_service.cpp25 const wsrep::ws_handle& ws_handle, const wsrep::ws_meta& ws_meta) in start_transaction() argument
27 return client_state_->start_transaction(ws_handle, ws_meta); in start_transaction()
82 const wsrep::ws_handle& ws_handle, in commit() argument
86 client_state_->prepare_for_ordering(ws_handle, ws_meta, true); in commit()
108 const wsrep::ws_handle& ws_handle, in rollback() argument
111 client_state_->prepare_for_ordering(ws_handle, ws_meta, false); in rollback()
165 const wsrep::ws_handle&, in log_dummy_write_set() argument
/dports/databases/mariadb104-client/mariadb-10.4.24/wsrep-lib/test/
H A Dmock_storage_service.cpp46 const wsrep::ws_handle& ws_handle) in start_transaction() argument
48 return client_state_.start_transaction(ws_handle.transaction_id()); in start_transaction()
57 int wsrep::mock_storage_service::commit(const wsrep::ws_handle& ws_handle, in commit() argument
65 ret = ret || client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in commit()
78 client_state_.prepare_for_ordering(wsrep::ws_handle(), wsrep::ws_meta(), false); in commit()
85 int wsrep::mock_storage_service::rollback(const wsrep::ws_handle& ws_handle, in rollback() argument
89 ws_handle, ws_meta, false) || in rollback()
H A Dmock_provider.hpp80 wsrep::ws_handle& ws_handle, in certify() argument
85 ws_handle = wsrep::ws_handle(ws_handle.transaction_id(), (void*)1); in certify()
111 ws_handle.transaction_id(), in certify()
148 assign_read_view(wsrep::ws_handle&, const wsrep::gtid*) in assign_read_view() argument
151 int append_key(wsrep::ws_handle&, const wsrep::key&) in append_key() argument
166 commit_order_enter(const wsrep::ws_handle& ws_handle, in commit_order_enter() argument
170 BOOST_REQUIRE(ws_handle.opaque()); in commit_order_enter()
175 int commit_order_leave(const wsrep::ws_handle& ws_handle, in commit_order_leave() argument
180 BOOST_REQUIRE(ws_handle.opaque()); in commit_order_leave()
187 int release(wsrep::ws_handle& ) in release() argument
[all …]
H A Dmock_high_priority_service.cpp25 const wsrep::ws_handle& ws_handle, const wsrep::ws_meta& ws_meta) in start_transaction() argument
27 return client_state_->start_transaction(ws_handle, ws_meta); in start_transaction()
82 const wsrep::ws_handle& ws_handle, in commit() argument
86 client_state_->prepare_for_ordering(ws_handle, ws_meta, true); in commit()
108 const wsrep::ws_handle& ws_handle, in rollback() argument
111 client_state_->prepare_for_ordering(ws_handle, ws_meta, false); in rollback()
165 const wsrep::ws_handle&, in log_dummy_write_set() argument
/dports/databases/mariadb105-client/mariadb-10.5.15/wsrep-lib/test/
H A Dmock_storage_service.cpp46 const wsrep::ws_handle& ws_handle) in start_transaction() argument
48 return client_state_.start_transaction(ws_handle.transaction_id()); in start_transaction()
57 int wsrep::mock_storage_service::commit(const wsrep::ws_handle& ws_handle, in commit() argument
65 ret = ret || client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in commit()
78 client_state_.prepare_for_ordering(wsrep::ws_handle(), wsrep::ws_meta(), false); in commit()
85 int wsrep::mock_storage_service::rollback(const wsrep::ws_handle& ws_handle, in rollback() argument
89 ws_handle, ws_meta, false) || in rollback()
H A Dmock_provider.hpp80 wsrep::ws_handle& ws_handle, in certify() argument
85 ws_handle = wsrep::ws_handle(ws_handle.transaction_id(), (void*)1); in certify()
111 ws_handle.transaction_id(), in certify()
148 assign_read_view(wsrep::ws_handle&, const wsrep::gtid*) in assign_read_view() argument
151 int append_key(wsrep::ws_handle&, const wsrep::key&) in append_key() argument
166 commit_order_enter(const wsrep::ws_handle& ws_handle, in commit_order_enter() argument
170 BOOST_REQUIRE(ws_handle.opaque()); in commit_order_enter()
175 int commit_order_leave(const wsrep::ws_handle& ws_handle, in commit_order_leave() argument
180 BOOST_REQUIRE(ws_handle.opaque()); in commit_order_leave()
187 int release(wsrep::ws_handle& ) in release() argument
[all …]
H A Dmock_high_priority_service.cpp25 const wsrep::ws_handle& ws_handle, const wsrep::ws_meta& ws_meta) in start_transaction() argument
27 return client_state_->start_transaction(ws_handle, ws_meta); in start_transaction()
82 const wsrep::ws_handle& ws_handle, in commit() argument
86 client_state_->prepare_for_ordering(ws_handle, ws_meta, true); in commit()
108 const wsrep::ws_handle& ws_handle, in rollback() argument
111 client_state_->prepare_for_ordering(ws_handle, ws_meta, false); in rollback()
165 const wsrep::ws_handle&, in log_dummy_write_set() argument
/dports/databases/mariadb105-server/mariadb-10.5.15/wsrep-lib/test/
H A Dmock_storage_service.cpp46 const wsrep::ws_handle& ws_handle) in start_transaction() argument
48 return client_state_.start_transaction(ws_handle.transaction_id()); in start_transaction()
57 int wsrep::mock_storage_service::commit(const wsrep::ws_handle& ws_handle, in commit() argument
65 ret = ret || client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in commit()
78 client_state_.prepare_for_ordering(wsrep::ws_handle(), wsrep::ws_meta(), false); in commit()
85 int wsrep::mock_storage_service::rollback(const wsrep::ws_handle& ws_handle, in rollback() argument
89 ws_handle, ws_meta, false) || in rollback()
H A Dmock_provider.hpp80 wsrep::ws_handle& ws_handle, in certify() argument
85 ws_handle = wsrep::ws_handle(ws_handle.transaction_id(), (void*)1); in certify()
111 ws_handle.transaction_id(), in certify()
148 assign_read_view(wsrep::ws_handle&, const wsrep::gtid*) in assign_read_view() argument
151 int append_key(wsrep::ws_handle&, const wsrep::key&) in append_key() argument
166 commit_order_enter(const wsrep::ws_handle& ws_handle, in commit_order_enter() argument
170 BOOST_REQUIRE(ws_handle.opaque()); in commit_order_enter()
175 int commit_order_leave(const wsrep::ws_handle& ws_handle, in commit_order_leave() argument
180 BOOST_REQUIRE(ws_handle.opaque()); in commit_order_leave()
187 int release(wsrep::ws_handle& ) in release() argument
[all …]
H A Dmock_high_priority_service.cpp25 const wsrep::ws_handle& ws_handle, const wsrep::ws_meta& ws_meta) in start_transaction() argument
27 return client_state_->start_transaction(ws_handle, ws_meta); in start_transaction()
82 const wsrep::ws_handle& ws_handle, in commit() argument
86 client_state_->prepare_for_ordering(ws_handle, ws_meta, true); in commit()
108 const wsrep::ws_handle& ws_handle, in rollback() argument
111 client_state_->prepare_for_ordering(ws_handle, ws_meta, false); in rollback()
165 const wsrep::ws_handle&, in log_dummy_write_set() argument
/dports/databases/mariadb104-server/mariadb-10.4.24/wsrep-lib/dbsim/
H A Ddb_high_priority_service.cpp32 const wsrep::ws_handle& ws_handle, in start_transaction() argument
35 return client_.client_state().start_transaction(ws_handle, ws_meta); in start_transaction()
79 int db::high_priority_service::commit(const wsrep::ws_handle& ws_handle, in commit() argument
82 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in commit()
90 int db::high_priority_service::rollback(const wsrep::ws_handle& ws_handle, in rollback() argument
93 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, false); in rollback()
113 const wsrep::ws_handle& ws_handle, in log_dummy_write_set() argument
117 int ret(client_.client_state_.start_transaction(ws_handle, ws_meta)); in log_dummy_write_set()
122 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in log_dummy_write_set()
/dports/databases/mariadb104-client/mariadb-10.4.24/wsrep-lib/dbsim/
H A Ddb_high_priority_service.cpp32 const wsrep::ws_handle& ws_handle,
35 return client_.client_state().start_transaction(ws_handle, ws_meta);
79 int db::high_priority_service::commit(const wsrep::ws_handle& ws_handle,
82 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, true);
90 int db::high_priority_service::rollback(const wsrep::ws_handle& ws_handle,
93 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, false);
113 const wsrep::ws_handle& ws_handle,
117 int ret(client_.client_state_.start_transaction(ws_handle, ws_meta));
122 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, true);
/dports/databases/mariadb105-client/mariadb-10.5.15/wsrep-lib/dbsim/
H A Ddb_high_priority_service.cpp32 const wsrep::ws_handle& ws_handle, in start_transaction() argument
35 return client_.client_state().start_transaction(ws_handle, ws_meta); in start_transaction()
79 int db::high_priority_service::commit(const wsrep::ws_handle& ws_handle, in commit() argument
82 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in commit()
90 int db::high_priority_service::rollback(const wsrep::ws_handle& ws_handle, in rollback() argument
93 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, false); in rollback()
113 const wsrep::ws_handle& ws_handle, in log_dummy_write_set() argument
117 int ret(client_.client_state_.start_transaction(ws_handle, ws_meta)); in log_dummy_write_set()
122 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in log_dummy_write_set()
/dports/databases/mariadb105-server/mariadb-10.5.15/wsrep-lib/dbsim/
H A Ddb_high_priority_service.cpp32 const wsrep::ws_handle& ws_handle, in start_transaction() argument
35 return client_.client_state().start_transaction(ws_handle, ws_meta); in start_transaction()
79 int db::high_priority_service::commit(const wsrep::ws_handle& ws_handle, in commit() argument
82 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in commit()
90 int db::high_priority_service::rollback(const wsrep::ws_handle& ws_handle, in rollback() argument
93 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, false); in rollback()
113 const wsrep::ws_handle& ws_handle, in log_dummy_write_set() argument
117 int ret(client_.client_state_.start_transaction(ws_handle, ws_meta)); in log_dummy_write_set()
122 client_.client_state_.prepare_for_ordering(ws_handle, ws_meta, true); in log_dummy_write_set()

12345678