Commit Graph

26 Commits (9aae8f1eba757eb5c0af7d8ac79948dd10dd4695)

Author SHA1 Message Date
Yury Kurlykov 9aae8f1eba
Add journal file specification (WIP) 2019-12-05 13:52:31 +10:00
Yury Kurlykov 8e25e7a472
Fix signature size constant
I should have paid more attention to sizeof of string literals.
2019-12-05 00:45:39 +10:00
Yury Kurlykov 6e6c7df9a3
Add seeking to the first page 2019-12-05 00:19:49 +10:00
Yury Kurlykov 0cf4623c7a
Migrate to v1 data format
Some bugs were fixed too, such as checking for table existence in ydb_create_table() wasn't working and broken instance status after page appending or deletion.
2019-12-05 00:12:09 +10:00
Yury Kurlykov 3704f944e7
Optimize data file constants 2019-12-04 13:46:32 +10:00
Yury Kurlykov ab4ea22cc1 Add table file v1 doc 2019-12-03 23:38:00 +10:00
Yury Kurlykov 9aa270106f Add @brief for ydb_delete_current_page 2019-12-03 23:12:22 +10:00
Yury Kurlykov a6a8d43f91 Implement big-endian machines support 2019-12-03 20:00:22 +10:00
Yury Kurlykov 8d56569dd5 Remove magic numbers from code 2019-11-24 20:30:51 +10:00
Yury Kurlykov c26bc18d8d Fix next_page was not updated after page appending 2019-11-14 21:27:00 +10:00
Yury Kurlykov 30b4daff22 Fix linker error for internal functions 2019-11-07 23:00:33 +10:00
Yury Kurlykov 33fdb0183a Update table file specification 2019-11-07 22:58:30 +10:00
Yury Kurlykov 22ab490e3c Fix page was not rewinded before file write 2019-10-31 03:50:50 +10:00
Yury Kurlykov a0fb9e6a63 Fix page data was not copied during clone 2019-10-31 03:38:28 +10:00
Yury Kurlykov 81a23135c4 Add *true* page replace 2019-10-31 03:14:25 +10:00
Yury Kurlykov c914cddcc3 Fix page replace was broken if passed the same page pointer 2019-10-31 03:09:54 +10:00
Yury Kurlykov 918a2a0192 Add page cloning 2019-10-31 03:03:40 +10:00
Yury Kurlykov 6bfa43da67 Add const qualifier for page memory source 2019-10-31 02:56:14 +10:00
Yury Kurlykov a2a25826cf Add check on page delete if it's the last one 2019-10-31 01:47:54 +10:00
Yury Kurlykov 7bfa64403e Fix offsets in storage file generation 2019-10-31 01:10:23 +10:00
Yury Kurlykov 24381f6bcb Fix linker error 2019-10-30 22:37:18 +10:00
Yury Kurlykov fbe24f72d7 Fix C++ integration 2019-10-30 22:09:01 +10:00
Yury Kurlykov 31c5b08f6a Fix broken instance state after table read failure
Also fix memory leak in the same case
2019-10-30 01:34:58 +10:00
Yury Kurlykov ebedf5619c Fix page deletion logic 2019-10-29 15:52:41 +10:00
Yury Kurlykov f838445bed Fix docs generation 2019-10-28 22:36:33 +10:00
Yury Kurlykov 37632a207a Initial commit 2019-10-28 20:47:53 +10:00