XuPeng-SH
dbff431d2a
(db/snapshot): Add new TypeNameField and update some ut ( #3100 )
...
* (db/snapshot): Add TypeNameField
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add test for DropAllIndexOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Co-authored-by: Jin Hai <hai.jin@zilliz.com>
2020-08-03 09:54:55 +08:00
XuPeng-SH
4e143775de
(db/snapshot): Update DropAllIndexOperation and some small changes ( #3087 )
...
* (db/snapshot): update for row count
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix bug in NewSegmentOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove dummy print
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add some test for row count
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update size logic
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update size logic related ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): rollback if operation is not done
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): clean store
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove some dependency
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update for store
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update Store.h
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update store related code
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add field element modification operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change new operation name
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add Segment File Operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): crtp for BaseResource
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add InActiveResourcesGCEvent
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix ut error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small change
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update snapshot segmentcommit operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update drop all index operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix gc
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix gc segment files
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor Event related
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change 1
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change for GC event
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix build error for high version of boost filesystem
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small change
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update compound operations
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add operation test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update for CompoundSegmentsOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add test for CompoundSegmentsOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add time stat in operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): timeout handling
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): timeout handling 2
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): timeout handling 3
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small refactor
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update for DropAllIndexOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
Co-authored-by: Wang XiangYu <xy.wang@zilliz.com>
2020-08-01 11:06:57 +08:00
XuPeng-SH
412eac3e8f
(db/snapshot): add CompoundSegmentsOperation and related test ( #3057 )
...
* (db/snapshot): update for row count
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix bug in NewSegmentOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove dummy print
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add some test for row count
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update size logic
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update size logic related ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): rollback if operation is not done
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): clean store
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove some dependency
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update for store
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update Store.h
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update store related code
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add field element modification operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change new operation name
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add Segment File Operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): crtp for BaseResource
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add InActiveResourcesGCEvent
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix ut error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small change
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update snapshot segmentcommit operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update drop all index operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix gc
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix gc segment files
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor Event related
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change 1
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change for GC event
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix build error for high version of boost filesystem
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small change
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update compound operations
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add operation test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update for CompoundSegmentsOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add test for CompoundSegmentsOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-07-29 20:09:04 +08:00
XuPeng-SH
442e6aee9a
(snapshot/db): add ChangeSegmentFileOperation and related test ( #3050 )
...
* (db/snapshot): update for row count
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix bug in NewSegmentOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove dummy print
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add some test for row count
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update size logic
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update size logic related ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): rollback if operation is not done
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): clean store
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove some dependency
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update for store
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update Store.h
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update store related code
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add field element modification operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change new operation name
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add Segment File Operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): crtp for BaseResource
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add InActiveResourcesGCEvent
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix ut error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small change
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update snapshot segmentcommit operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update drop all index operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix gc
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix gc segment files
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor Event related
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change 1
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change for GC event
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix build error for high version of boost filesystem
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small change
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update compound operations
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add operation test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-07-28 19:34:23 +08:00
XuPeng-SH
ecf05526c2
(snapshot/db): fix GC bug and some enhancement ( #3035 )
...
* (db/snapshot): update for row count
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix bug in NewSegmentOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove dummy print
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add some test for row count
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update size logic
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update size logic related ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): rollback if operation is not done
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): clean store
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove some dependency
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update for store
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update Store.h
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update store related code
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add field element modification operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change new operation name
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add Segment File Operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): crtp for BaseResource
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add InActiveResourcesGCEvent
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix ut error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small change
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update snapshot segmentcommit operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update drop all index operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix gc
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix gc segment files
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor Event related
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change 1
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): change for GC event
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix build error for high version of boost filesystem
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small change
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-07-28 14:05:23 +08:00
groot
8b3b15c980
refine code ( #3022 )
...
* clean code first stage
Signed-off-by: groot <yihua.mo@zilliz.com>
* rename some files
Signed-off-by: groot <yihua.mo@zilliz.com>
* rename
Signed-off-by: groot <yihua.mo@zilliz.com>
* typo
Signed-off-by: groot <yihua.mo@zilliz.com>
2020-07-26 17:36:06 +08:00
Cai Yudong
cfa5b14e73
add SSDBImpl and ssdb for ut ( #2683 )
...
* rename StatusField to StateField
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* fix typo
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* enable GC in OnNoRefCallBack
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* code opt
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* add SSDBimpl and unittest/ssdb
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* fix clang format
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2020-06-29 10:08:25 +08:00
XuPeng-SH
39c7e8a4e8
(db/snapshot): Add SoftDeleteOperation and related test ( #2647 )
...
* (db/snapshot): add soft delete operation and related test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): more readable error msg in snapshot
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix clang format
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix clang format
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-06-22 08:35:01 +00:00
Cai Yudong
5c833ca688
snapshot gc ( #2634 )
...
* opt test_snapshot
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* rename BaseHolders to ResourceHolder
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* rename DBBaseResource to BaseResource
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* remove ResourceHolder.inl
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* fix clang-format
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* add GarbageCollector.h
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* combine ReferenceProxy.cpp into ReferenceProxy.h
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* fix clang-format
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* fix clang-format
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* reorg Resources.h
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* rename GarbageCollector to EventExecutor
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* fix test_snapshot
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* fix clang-format
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* opt executor
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2020-06-21 02:40:08 +00:00
Jin Hai
f1a1ee8678
Snapshot improve ( #2608 )
...
* Format code style
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
* Fix bug && Format code style
* Format code style
* Format code style
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
* Update lint
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
* Update merge config
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
* Fix compiling error
Signed-off-by: JinHai-CN <hai.jin@zilliz.com>
2020-06-19 23:09:30 +08:00
Cai Yudong
b3e8856a34
move all APIs in utils into namespace milvus ( #2614 )
...
* move APIs in util into namespace milvus
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* fix clang-format
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* update changelog
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* combine BlockingQueue.h and src/utils/BlockingQueue.inl
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* retry ci
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2020-06-19 15:53:36 +08:00
Cai Yudong
2bc9c0cf25
snapshot code opt ( #2609 )
...
* opt test_snapshot
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* rename BaseHolders to ResourceHolder
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* rename DBBaseResource to BaseResource
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* remove ResourceHolder.inl
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
* fix clang-format
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2020-06-19 11:35:25 +08:00
XuPeng-SH
ecc52d365c
(db/snapshot): fix ut errors ( #2605 )
...
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-06-19 10:37:41 +08:00
XuPeng-SH
a12ce5bf6b
(db/snapshot): update ut ( #2588 )
...
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-06-18 01:55:46 +00:00
XuPeng-SH
aa31b0c251
(db/snapshot): fix bugs and enhance unit test ( #2562 )
...
* (db/snapshot): add ToString for Snapshot
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix bugs and enhance CompoundTest1
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix bug in operations
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): some code refactor
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): small change
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-06-16 15:05:55 +08:00
XuPeng-SH
5727cd139e
(db/snapshot): Fix bugs and more unit test ( #2538 )
...
* (db/snapshot): refactor CompoundBaseOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): some refactor for CompoundOperation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove one of Operations constructor
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add DropPartition API and related test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix bugs for multi threads
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add some print
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): some bug fix
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): some bug fix 1
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix bugs
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add build worker for unittest
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
(db/snapshot): update ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
(db/snapshot): update ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
(db/snapshot): update ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix bug in ReferenceProxy
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-06-13 15:46:17 +08:00
XuPeng-SH
295105ff40
Snapshot code update ( #2497 )
...
* (db/snapshot): Add LSN in Resource
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add AddStepWithLsn
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add Lsn related logic
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add operator << for Operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint errors
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add more test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): operation rollback api placeholder
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): remove hard code status code
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): support more printable dump for some operations
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add ToString for Context
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): more friendly context print
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): rename some apis
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-06-06 05:03:02 +00:00
XuPeng-SH
530ee76a76
(db/snapshot): Add new features for Snapshot Impl ( #2483 )
...
* (db/snapshot): Add new features for Snapshot Impl
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update changelog
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Small changes to remove some dummy code
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Small changes to remove some dummy code
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-06-03 03:55:40 +00:00
XuPeng-SH
9b2fd331fc
Add CreateCollection and DropCollection for Snapshot ( #2454 )
...
* (db/snapshot): add merge opration test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add UpdatedOnField
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add Utils.h
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor Snapshot
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 2
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 3
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 4
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 5
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 6
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add CreateCollectionOperation and related test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): changes for code style and clang format
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): improve ut coverage 1
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): improve ut coverage 2
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): improve ut coverage 3
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add soft delete collection operation
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update drop collection 1
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update drop collection 2
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update drop collection 3
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update drop collection 4
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix lint error
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-06-01 06:36:56 +00:00
XuPeng-SH
2fe4cc10de
Snapshot code optimization 1 ( #2440 )
...
* (db/snapshot): add merge opration test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add UpdatedOnField
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add Utils.h
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor Snapshot
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 2
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 3
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 4
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 5
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor snapshot 6
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-05-28 02:25:14 +00:00
XuPeng-SH
96166e1a5b
Metadata Snapshot Implementation Phase I ( #2414 )
...
* (db/snapshot): migrate code from milvus_metatdata_design repo
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add license info
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add namespace snapshot
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add test_snapshot unit test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add ScopedResourceTest
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): refactor
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): add ResourceHodlersTest
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): update ResourceHodlersTest
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add Operation Test and fix some bug
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Update Operation Test
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Update Operation Test to test build
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): Add Reset API for static instance
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix snapshot bug
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* (db/snapshot): fix dead lock bug
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* fix bug in concurrent mode
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* fix lint error in ut
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* fix lint error in snapshot 1
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* fix lint error in snapshot 2
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* fix lint error in snapshot 3
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* fix lint error in snapshot 4
Signed-off-by: peng.xu <peng.xu@zilliz.com>
* fix lint error in snapshot 5
Signed-off-by: peng.xu <peng.xu@zilliz.com>
2020-05-25 10:50:34 +08:00