Skip to content

Commit 98bdbc7

Browse files
riptlripatel-fd
authored andcommitted
funk: remove unused txn APIs
1 parent 9935919 commit 98bdbc7

File tree

9 files changed

+13
-2104
lines changed

9 files changed

+13
-2104
lines changed

src/funk/Local.mk

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,7 @@ $(call make-unit-test,test_funk_base,test_funk_base,fd_funk fd_util)
55
$(call run-unit-test,test_funk_base)
66
$(call make-unit-test,test_funk,test_funk,fd_funk fd_util)
77
$(call run-unit-test,test_funk)
8-
$(call make-unit-test,test_funk_rec,test_funk_rec test_funk_common,fd_funk fd_util)
9-
$(call run-unit-test,test_funk_rec)
10-
$(call make-unit-test,test_funk_txn,test_funk_txn test_funk_common,fd_funk fd_util)
11-
$(call run-unit-test,test_funk_txn)
12-
$(call make-unit-test,test_funk_val,test_funk_val test_funk_common,fd_funk fd_util)
13-
$(call run-unit-test,test_funk_val)
148
ifdef FD_HAS_HOSTED
159
$(call make-unit-test,bench_funk_index,bench_funk_index,fd_funk fd_util)
1610
endif
17-
ifdef FD_HAS_RACESAN
18-
$(call make-unit-test,test_funk_race,test_funk_race,fd_funk fd_util)
19-
$(call run-unit-test,test_funk_race)
20-
endif
2111
endif

src/funk/fd_funk.h

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -126,22 +126,7 @@
126126
though it wouldn't be space efficient, the shared memory region is
127127
usable as is as an on-disk checkpoint file). Or the workspace could
128128
be resized and what not to handle large needs than when the database
129-
was initially created and it all "just works".
130-
131-
Limited concurrent (multithreaded) access is supported. As a
132-
general rule, transaction level operations
133-
(e.g. fd_funk_txn_cancel and fd_funk_txn_publish) have to be
134-
single-threaded. In this case, no other access is allowed at the
135-
same time. Purely record level operations are thread safe and can
136-
be arbitrarily interleaved across multiple cpus. Specifically,
137-
these are:
138-
fd_funk_rec_query_try
139-
fd_funk_rec_query_test
140-
fd_funk_rec_query_try_global
141-
fd_funk_rec_prepare
142-
fd_funk_rec_publish
143-
fd_funk_rec_cancel
144-
*/
129+
was initially created and it all "just works". */
145130

146131
//#include "fd_funk_base.h" /* Includes ../util/fd_util.h */
147132
//#include "fd_funk_txn.h" /* Includes fd_funk_base.h */

0 commit comments

Comments
 (0)