File tree Expand file tree Collapse file tree 4 files changed +181
-43
lines changed
Expand file tree Collapse file tree 4 files changed +181
-43
lines changed Original file line number Diff line number Diff line change 4343#undef NO_ATOMIC_OPS
4444
4545typedef _Atomic (unsigned long ) atomic_t ;
46+ typedef _Atomic (_Bool ) atomic_bool_t ;
4647#else /* HAVE_STDATOMIC */
4748
4849/************************* i386 & x86_64 ARCH ****************************/
@@ -72,6 +73,7 @@ typedef _Atomic(unsigned long) atomic_t;
7273 * not some alias that contains the same information.
7374 */
7475typedef struct { volatile unsigned int counter ; } atomic_t ;
76+ typedef atomic_t atomic_bool_t ;
7577
7678/*! \brief
7779 * atomic_add - add integer to atomic variable
@@ -141,6 +143,7 @@ static __inline__ void atomic_dec(atomic_t *v)
141143 * not some alias that contains the same information.
142144 */
143145typedef struct { volatile unsigned long counter ; } atomic_t ;
146+ typedef atomic_t atomic_bool_t ;
144147
145148/*! \brief
146149 * atomic_set - set atomic variable
Original file line number Diff line number Diff line change @@ -148,6 +148,15 @@ Chapter 1. Admin Guide
148148 * expire : expire period for the values stored in the cache
149149 for the on demand caching type in seconds
150150 If not present, default value is “1 hour”
151+ * full_caching_lock_scope : whether to lock reading from the cache
152+ when loading the table into the cache on a row or table basis
153+ with it set to “table” large tables writing into the cache can
154+ block reads when reading an sql_cached_value from that table
155+ stalling the SIP processing but ensures full table consistency,
156+ “row” allows reads during writing on rows not currently being written to.
157+ + row
158+ + table
159+ If not present, default value is “row”
151160
152161 The parameters must be given in the exact order specified
153162 above.
@@ -164,7 +173,8 @@ cachedb_url=mongodb:mycluster://127.0.0.1:27017/db.col
164173table=table_name
165174key=column_name_0
166175columns=column_name_1 column_name_2 column_name_3
167- on_demand=0")
176+ on_demand=0
177+ full_caching_lock_scope=row")
168178
169179
1701801.3.2. spec_delimiter (string)
You can’t perform that action at this time.
0 commit comments