Alexander Tokmakov
08ce7b031e
release shared ptrs after finishing a transaction
2023-03-04 22:07:59 +01:00
Anton Popov
a2fee110b8
add query for waiting of loading parts and fix test_transactions
2022-12-12 14:33:42 +00:00
Alexander Tokmakov
51c4ffad8c
block memory exceptions in TransactionLog
2022-07-18 17:40:09 +02:00
Alexander Tokmakov
e69ea920bf
Merge branch 'master' into fix_assertion_in_transactions
2022-07-15 18:18:34 +03:00
Alexander Tokmakov
94b5f1f536
disable transactions with Ordinary database
2022-07-15 15:36:01 +02:00
Azat Khuzhin
b20407fab9
Fix NOEXCEPT_SCOPE (before it calls std::terminate and looses the exception)
...
Current implementation of NOEXCEPT_SCOPE will not work, you cannot
rethrow exception outside the catch block, this will simply terminate
(via std::terminate) the program.
In other words NOEXCEPT_SCOPE macro will simply call std::terminate on
exception and will lost original exception.
But if NOEXCEPT_SCOPE will accept the code that should be runned w/o
exceptions, then it can catch exception and log it, rewrite it in this
way.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-14 17:16:18 +03:00
Alexander Tokmakov
4f54abf67f
better names for macros
2022-06-28 16:27:18 +02:00
Alexander Tokmakov
f4883f1f7e
add some TSA aanotations
2022-06-27 22:48:27 +02:00
Alexander Tokmakov
39c0219c11
fixes
2022-06-16 19:41:32 +02:00
Alexander Tokmakov
a262492cc1
slightly better
2022-05-23 20:53:33 +02:00
Alexander Tokmakov
44f2d4529a
better waiting, add fault injection
2022-05-20 22:10:01 +02:00
Alexander Tokmakov
1027798517
handle connection loss on commit
2022-05-20 17:35:29 +02:00
Alexander Tokmakov
12bbb7de87
fix race on TID allocation
2022-05-20 12:41:44 +02:00
Alexander Tokmakov
38c80940fd
slightly beter fix
2022-04-11 16:25:59 +02:00
Alexander Tokmakov
2e2e2b9190
fix a race condition
2022-04-07 18:17:43 +02:00
Alexander Tokmakov
461ecd56a4
fix race when database is Ordinary
2022-03-31 13:47:38 +02:00
Alexander Tokmakov
0719d01d39
more introspection
2022-03-18 14:33:59 +01:00
Alexander Tokmakov
07d952b728
use snapshots for semistructured data, durability fixes
2022-03-17 18:26:18 +01:00
Alexander Tokmakov
c2ac8d4a5c
review fixes
2022-03-16 21:05:34 +01:00
Alexander Tokmakov
b5b3d09b4a
fix
2022-03-15 17:51:53 +01:00
Alexander Tokmakov
9c3e4cdc6e
fix
2022-03-15 14:35:48 +01:00
Alexander Tokmakov
c8d6c13c2d
fix
2022-03-15 00:08:25 +01:00
Alexander Tokmakov
278d779a01
log cleanup, more comments
2022-03-14 21:43:34 +01:00
Alexander Tokmakov
7f47f20aba
add kill transaction query
2022-03-10 22:29:58 +01:00
Alexander Tokmakov
0906b59fba
fixes
2022-03-09 21:38:18 +01:00
Alexander Tokmakov
d2f838bd91
fix another race condition
2022-03-08 20:11:47 +01:00
Alexander Tokmakov
f4a46a13fb
fixes
2022-02-18 00:26:37 +03:00
Alexander Tokmakov
ae5aa8c12d
write part version before other files
2022-02-15 02:24:51 +03:00
Alexander Tokmakov
e0304c2a58
review fixes, write tid into mutation entry
2022-01-28 20:47:37 +03:00
Alexander Tokmakov
7458012103
some fixes, add test with restart
2022-01-19 21:29:31 +03:00
Alexander Tokmakov
e1a41fc694
add system log for introspection
2022-01-14 17:03:00 +03:00
Alexander Tokmakov
0d91887cdc
save versions of parts
2021-12-30 16:15:28 +03:00
Alexander Tokmakov
a15444031c
add test
2021-12-20 21:53:05 +03:00
Alexander Tokmakov
f330ac31c3
fix test
2021-12-16 00:49:06 +03:00
Alexander Tokmakov
6e1c16c2e7
add support for mutations
2021-12-14 23:06:34 +03:00
Alexander Tokmakov
9a88b9dacc
set maxtid on drop part
2021-06-08 21:17:18 +03:00
Alexander Tokmakov
881889ef22
parts cleanup, fixes
2021-06-07 21:22:58 +03:00
Alexander Tokmakov
9a9e95172f
add test with mv
2021-06-02 23:03:44 +03:00
Alexander Tokmakov
529d1aeb19
fix merges of uncommitted parts
2021-05-18 20:07:29 +03:00
Alexander Tokmakov
1fd6142c1a
try enable merges
2021-05-18 13:35:48 +03:00
Alexander Tokmakov
f270fa1843
rollback on exception
2021-04-09 15:53:51 +03:00
Alexander Tokmakov
3422bd1742
check parts visibility for select
2021-04-08 20:20:45 +03:00
Alexander Tokmakov
f596906f47
add transaction counters
2021-04-05 14:41:34 +03:00