Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
272c05df
Commit
272c05df
authored
Oct 09, 2016
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporarily (?) disable read-free replication in MariaRocks
parent
d4f6c77c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
storage/rocksdb/ha_rocksdb.cc
storage/rocksdb/ha_rocksdb.cc
+2
-0
storage/rocksdb/ha_rocksdb.h
storage/rocksdb/ha_rocksdb.h
+2
-0
No files found.
storage/rocksdb/ha_rocksdb.cc
View file @
272c05df
...
...
@@ -10626,6 +10626,7 @@ void rdb_queue_save_stats_request()
rdb_bg_thread
.
request_save_stats
();
}
#ifdef MARIAROCKS_NOT_YET // MDEV-10976
void
ha_rocksdb
::
rpl_before_delete_rows
()
{
m_in_rpl_delete_rows
=
true
;
...
...
@@ -10646,6 +10647,7 @@ void ha_rocksdb::rpl_after_update_rows()
m_in_rpl_update_rows
=
false
;
}
#endif // MARIAROCKS_NOT_YET
/**
@brief
Read Free Replication can be used or not. Returning False means
...
...
storage/rocksdb/ha_rocksdb.h
View file @
272c05df
...
...
@@ -978,12 +978,14 @@ class ha_rocksdb: public my_core::handler
void
set_use_read_free_rpl
(
const
char
*
whitelist
);
void
set_skip_unique_check_tables
(
const
char
*
whitelist
);
#ifdef MARIAROCKS_NOT_YET // MDEV-10976
public:
virtual
void
rpl_before_delete_rows
()
override
;
virtual
void
rpl_after_delete_rows
()
override
;
virtual
void
rpl_before_update_rows
()
override
;
virtual
void
rpl_after_update_rows
()
override
;
virtual
bool
use_read_free_rpl
();
#endif // MARIAROCKS_NOT_YET
private:
/* Flags tracking if we are inside different replication operation */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment