Proto commits in pixelsdb/pixels

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:83ad492
Author:Dongyang Geng
Committer:GitHub

[Issue #1327] implement retina recovery protocol (#1328)

The documentation is generated from this commit.

Commit:eb01bb5
Author:Dongyang Geng
Committer:GitHub

[Issue #1288] implement file rewriting to enable garbage collection at the storage layer and fix some visibility bugs (#1310)

Commit:6e2d2ab
Author:Dongyang Geng
Committer:GitHub

[Issue #1293] implement visibility checkpoint cache on worker node (#1295)

Commit:9a135a6
Author:Li Zinuo
Committer:GitHub

[Issue #1275] partition a single point index into multiple cf (#1276)

Commit:5c7451a
Author:Li Zinuo
Committer:GitHub

[Issue #1257] support multiple WriteBuffers (#1258) Using multiple write buffers in one retina instance to improve data writing concurrency.

Commit:e2c1b23
Author:Haoqiong Bian
Committer:GitHub

[Issue #1245] fix watermark push (#1246)

Commit:4deb60c
Author:Haoqiong Bian
Committer:GitHub

[Issue #1163] implement lease protocol for transaction (#1235) Transaction lease is only enabled for non-readonly transactions. The default lease expire time is 300 seconds, which means a write transaction will be rollbacked if it does not extend its lease by calling TransService::extendTransLease/extendTransLeaseBatch in time.

Commit:4bed357
Author:Dongyang Geng
Committer:GitHub

[Issue #1236] revise checkpoint-related RPC interfaces (#1239) In this PR, the query engine is responsible for checking and marking a long-running query, and sends RPC requests to transaction server and retina to push watermarks and checkpoint (offload) visibility structures.

Commit:3cac917
Author:Dongyang Geng
Committer:GitHub

[Issue #1229] implement visibility checkpoint for long-running queries to unblock GC (#1232)

Commit:5f62f16
Author:Li Zinuo
Committer:GitHub

[Issue #1133] add PixelsPollingService for polling cdc record (#1234)

Commit:2a10965
Author:Dongyang Geng
Committer:GitHub

[Issue #1211] rename PixelsWriterBuffer to PixelsWriteBuffer (#1228)

Commit:d559156
Author:Li Zinuo
Committer:GitHub

[Issue #1215] implement NodeService, Retina Node Heartbeat, and Consistent Hashing (#1216) Co-authored-by: Haoqiong Bian <bianhaoqiong@gmail.com>

Commit:c9a6651
Author:Dongyang Geng
Committer:GitHub

[Issue #1202] implemented periodic garbage collection of visibility (#1203)

Commit:d3acccf
Author:Dongyang Geng
Committer:GitHub

[Issue #1151] add retina update api and fix memory leak in processUpdateRequest (#1155)

Commit:7d0a6cb
Author:Haoqiong Bian
Committer:GitHub

[Issue #1116] remove unused import in sink.proto (#1118)

Commit:dd3b50e
Author:Li Zinuo
Committer:GitHub

[Issue #1108] add support for querying Metadata by tableId in MetadataService (#1109)

Commit:fee881b
Author:Li Zinuo
Committer:GitHub

[Issue #1106] remove unnecessary proto messages to speed up serde (#1107)

Commit:8e7ddb4
Author:Haoqiong Bian
Committer:GitHub

[Issue #1099] Increase DEFAULT_AI_STEP and simplify trans commit protocol (#1103) Increase DEFAULT_AI_STEP from 1000 to 10000 and remove timestamp from the trans commit and trans commit batch rpc methods.

Commit:0d1ce2e
Author:Dongyang Geng
Committer:GitHub

[Issue #1076] implement batch transaction commit functionality (#1077)

Commit:fdd5849
Author:Li Zinuo
Committer:Haoqiong Bian

[Issue #1055] handle Multiple Transactions in a Single Retina Update RPC Request (#1056)

Commit:d4832b5
Author:Li Zinuo
Committer:Haoqiong Bian

[Issue #983] modify index in retina service (#984)

Commit:cf39d5c
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #944] remove duplicate RowLocation definition in proto (#945)

Commit:c638830
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #932] add file type to identify empty files (#936)

Commit:affc910
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #930] add corresponding writer buffer when create new table (#931)

Commit:b210dea
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #926] implement retina insert related interfaces (#927)

Commit:8a2f397
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #901] implement the writerBuffer (#919) Element addition is currently implemented; however, element deletion functionality has to wait for the index to be implemented.

Commit:c0b1b8b
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #862] update retina interfaces (#863)

Commit:ba26d6c
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #860] fix visibility merge error (#861)

Commit:0290320
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #999] change the empty file type to temporary (#1001)

Commit:2ec0481
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #998] exclude temporary files when compacting (#1000) The creation of empty files: Retina's writer buffer needs to write data from memory to a file using PixelsWriter. When the writer is created, empty files are generated. The information about these files is stored in advance in the metadata and marked as EMPTY. After the file completes writing, it is marked as REGULAR. To avoid reading these temporary files during compaction, non-regular files must be excluded. These empty files may have written partial data, resulting in a non-zero length, so they cannot be directly identified by file length and instead require reading the metadata.

Commit:fd32726
Author:Li Zinuo
Committer:Haoqiong Bian

[Issue #964] remove unused dependency in sink.proto (#995)

Commit:ae36f52
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #986] bidirectional streaming rpc for update records (#991)

Commit:b7d8b8f
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #978] reconstruct retina and adjust interface (#979)

Commit:a58f9cd
Author:Dongyang Geng
Committer:GitHub

[Issue #999] change the empty file type to temporary (#1001)

Commit:5b7628f
Author:Dongyang Geng
Committer:GitHub

[Issue #998] exclude temporary files when compacting (#1000) The creation of empty files: Retina's writer buffer needs to write data from memory to a file using PixelsWriter. When the writer is created, empty files are generated. The information about these files is stored in advance in the metadata and marked as EMPTY. After the file completes writing, it is marked as REGULAR. To avoid reading these temporary files during compaction, non-regular files must be excluded. These empty files may have written partial data, resulting in a non-zero length, so they cannot be directly identified by file length and instead require reading the metadata.

Commit:35f66a4
Author:Li Zinuo
Committer:GitHub

[Issue #964] remove unused dependency in sink.proto (#995)

Commit:c4217e9
Author:Dongyang Geng
Committer:GitHub

[Issue #986] bidirectional streaming rpc for update records (#991)

Commit:b4cd333
Author:Li Zinuo
Committer:GitHub

[Issue #983] modify index in retina service (#984)

Commit:31363ed
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #978] reconstruct retina and adjust interface (#979)

Commit:91fff09
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #944] remove duplicate RowLocation definition in proto (#945)

Commit:8869316
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #926] implement retina insert related interfaces (#927)

Commit:fa618e6
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #932] add file type to identify empty files (#936)

Commit:3bc2b22
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #901] implement the writerBuffer (#919) Element addition is currently implemented; however, element deletion functionality has to wait for the index to be implemented.

Commit:41ecf7e
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #930] add corresponding writer buffer when create new table (#931)

Commit:1fbe385
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #860] fix visibility merge error (#861)

Commit:db9e12a
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #862] update retina interfaces (#863)

Commit:92a1e5d
Author:Haoqiong Bian
Committer:GitHub

[Issue #916] revise index service interface and add purge index (#981)

Commit:7934aa0
Author:Dongyang Geng
Committer:GitHub

[Issue #978] reconstruct retina and adjust interface (#979)

Commit:bd22a48
Author:Haoqiong Bian
Committer:GitHub

[Issue #916] implement open/close/remove/flush index in index service (#976)

Commit:8a11ff0
Author:Haoqiong Bian
Committer:GitHub

[Issue #916] revise the index framework and the main index implementation (#975) 1. Implement main index backed by SQLite, add a main index buffer. 2. Redesign the gRPC protocol of the cache service, add update index entry, open, close, and remove methods. 3. Change the MainIndexManager to a MainIndexFactory and a MainIndexProvider. 4. Revise the interfaces of single-point index, get scheme and unique from metadata. 5. Revise SinglePointIndexFactory, support managing index instances of different index IDs. 6. Remove some redundant data structure definitions.

Commit:0ddb099
Author:Haoqiong Bian
Committer:GitHub

[Issue #916] update index service interface, index docs, and the rockset Jni code structure. (#969) We also revise DaemonMain for the index server startup.

Commit:89ffacf
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #944] remove duplicate RowLocation definition in proto (#945)

Commit:e8f94bd
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #932] add file type to identify empty files (#936)

Commit:6266fab
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #930] add corresponding writer buffer when create new table (#931)

Commit:711be5a
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #926] implement retina insert related interfaces (#927)

Commit:47cfea6
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #901] implement the writerBuffer (#919) Element addition is currently implemented; however, element deletion functionality has to wait for the index to be implemented.

Commit:198e50b
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #862] update retina interfaces (#863)

Commit:3bef2de
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #860] fix visibility merge error (#861)

Commit:7cf6172
Author:Li Zinuo
Committer:GitHub

[Issue #939] update the retina-dev branch (#940) Co-authored-by: Haoqiong Bian <bianhaoqiong@gmail.com> Co-authored-by: whzruc <72006683+whzruc@users.noreply.github.com> Co-authored-by: vladaliii <2773158174@qq.com> Co-authored-by: slzo <85170982+slzo@users.noreply.github.com> Co-authored-by: Ubuntu <ubuntu@ip-172-31-31-111.us-east-2.compute.internal> Co-authored-by: AgentGuo <57658408+AgentGuo@users.noreply.github.com> Co-authored-by: Rolland1944 <145736819+Rolland1944@users.noreply.github.com> Co-authored-by: Ubuntu <ubuntu@ip-172-31-2-226.cn-north-1.compute.internal> Co-authored-by: Hua Siyuan <64294509+huasiy@users.noreply.github.com>

Commit:a95f169
Author:Dongyang Geng
Committer:GitHub

[Issue #930] add corresponding writer buffer when create new table (#931)

Commit:1fa95f1
Author:Dongyang Geng
Committer:GitHub

[Issue #926] implement retina insert related interfaces (#927)

Commit:76d36b6
Author:Haoqiong Bian
Committer:GitHub

[Issue #923] simplify dependencies of pixels-invoker-spike and remove the duplicated apiserver.proto (#925)

Commit:e65d456
Author:Dongyang Geng
Committer:GitHub

[Issue #901] implement the writerBuffer (#919) Element addition is currently implemented; however, element deletion functionality has to wait for the index to be implemented.

Commit:6c1e496
Author:Rolland1944
Committer:GitHub

[Issue #916] Redesign the main index implementation to support primary/secondary index and allocateRowIdBatch (#922)

Commit:5e7a8ee
Author:Haoqiong Bian
Committer:GitHub

[Issue #916] cleanup the poms for pixels-index and pixels-spike (#920)

Commit:61ebf76
Author:Haoqiong Bian
Committer:GitHub

[Issue #916] update index service rpc interface (#917) Finish the first two tasks in Issue #916.

Commit:2debcac
Author:Haoqiong Bian
Committer:GitHub

[Issue #913] rename secondary index to single point index and implement the related metadata RPCs (#915)

Commit:dee7f00
Author:Rolland1944
Committer:GitHub

[Issue #900] fix putRowId and deleteRowId interfaces of MainIndex and SecondaryIndex (#910) 1. Add putRowId and deleteRowId interfaces to insert and delete a single index in the MainIndex. 2. Put the MainIndex insert inside the SecondaryIndex insert to form an atomic operation. 3. Remove the sorting code from the MainIndex insert. 4. Change the return value of putRowId from boolean to rowid.

Commit:0c6712e
Author:Hua Siyuan
Committer:GitHub

[Issue #869] support pipline execution (#868) Currently, pipeline execution is only supported on vHive. Pipeline execution on pixels-spike still has network issues when pixels-work-spike tries to connect to the query coordinator in EC2.

Commit:ed1c959
Author:Dongyang Geng
Committer:GitHub

[Issue #906] update the retina-dev branch (#909) Co-authored-by: Haoqiong Bian <bianhaoqiong@gmail.com> Co-authored-by: whzruc <72006683+whzruc@users.noreply.github.com> Co-authored-by: vladaliii <2773158174@qq.com> Co-authored-by: slzo <85170982+slzo@users.noreply.github.com> Co-authored-by: Ubuntu <ubuntu@ip-172-31-31-111.us-east-2.compute.internal> Co-authored-by: AgentGuo <57658408+AgentGuo@users.noreply.github.com> Co-authored-by: Li Zinuo <antio2@qq.com> Co-authored-by: Rolland1944 <145736819+Rolland1944@users.noreply.github.com> Co-authored-by: Ubuntu <ubuntu@ip-172-31-2-226.cn-north-1.compute.internal>

Commit:d6f8196
Author:dongyang geng
Committer:dongyang geng

feat/use one state atomic variable to ensure consistency

Commit:e4ddd22
Author:Dongyang Geng
Committer:dongyang geng

[Issue #741] add visibility structure (#822) pixels-daemon: create retina rpc server. pixels-common: acts as a client and sends rpc requests to the retina server. pixels-retina: build and manage various data structures.

Commit:7d37485
Author:Dongyang Geng
Committer:dongyang geng

[Issue #741] add visibility structure for real-time CRUD (#847) Co-authored-by: slzo <85170982+slzo@users.noreply.github.com> Co-authored-by: Haoqiong Bian <bianhaoqiong@gmail.com>

Commit:b12a3f6
Author:Dongyang Geng
Committer:dongyang geng

[Issue #860] fix visibility merge error (#861)

Commit:44d1cd6
Author:Dongyang Geng
Committer:dongyang geng

[Issue #862] update retina interfaces (#863)

Commit:9f48b65
Author:dongyang geng
Committer:dongyang geng

feat/create schema from column types

Commit:c7d979c
Author:dongyang geng
Committer:dongyang geng

fix/use bytes type to represent column data instead

Commit:b395a68
Author:Li Zinuo
Committer:GitHub

[Issue #904] update Sink proto to align with Retina proto changes (#905)

Commit:f22fc18
Author:Haoqiong Bian
Committer:GitHub

[Issue #897] support begin a batch of transactions in transaction service (#898) This allows the client to begin a batch of transactions with a single RPC request. --------- Co-authored-by: antio2 <antio2@qq.com>

Commit:b865e4b
Author:Li Zinuo
Committer:GitHub

[Issue #893] Update sink and retina proto files (#894)

Commit:15dd474
Author:Rolland1944
Committer:GitHub

[Issue #838] support index services backed by rocksdb and rockset (#885)

Commit:3d69284
Author:AgentGuo
Committer:GitHub

[Issue #880] implement spike worker and invoker (#883)

Commit:df09a64
Author:huasiy
Committer:huasiy

only one worker will pass schema to down stream

Commit:0947cd2
Author:huasiy
Committer:huasiy

one worker write to one port of down stream worker

Commit:eeb09a8
Author:Dongyang Geng
Committer:GitHub

[Issue #862] update retina interfaces (#863)

Commit:48c7fa3
Author:Dongyang Geng
Committer:GitHub

[Issue #860] fix visibility merge error (#861)

Commit:561a2e8
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #741] add visibility structure for real-time CRUD (#847) Co-authored-by: slzo <85170982+slzo@users.noreply.github.com> Co-authored-by: Haoqiong Bian <bianhaoqiong@gmail.com>

Commit:6a717c9
Author:Dongyang Geng
Committer:Haoqiong Bian

[Issue #741] add visibility structure (#822) pixels-daemon: create retina rpc server. pixels-common: acts as a client and sends rpc requests to the retina server. pixels-retina: build and manage various data structures.

Commit:d8684a4
Author:Haoqiong Bian
Committer:GitHub

[Issue #838] support lookup unique and non-unique indexes. (#850) Secondary indexes can be unique or non-unique.

Commit:0bf8ec8
Author:Haoqiong Bian
Committer:GitHub

[Issue #838] implement the framework for secondary indexes (#844)

Commit:f6abe87
Author:Haoqiong Bian
Committer:GitHub

[Issue #838] implement metadata service for secondary index (#839) Also add min/max row ids into file metadata objects and fix some minor problems in metadata.

Commit:9d27783
Author:Haoqiong Bian
Committer:GitHub

[Issue #658] revise range index definition (#837) Remove the index structure from the metadata table RANGE_INDEXES.

Commit:f6396dc
Author:slzo
Committer:GitHub

[Issue #745] add ML-based auto-scaling policy (#818)

Commit:dde7312
Author:Haoqiong Bian
Committer:GitHub

[Issue #787] revise hidden column implementation and fix cf reading error (#788) 1. move row group level hidden column statistic into RowGroupStatistics. 2. revise the variable names related to the hidden column and transaction timestamp. 3. fix a buy at line 445 of PixelsRecordReaderImpl, using (this.timestamp != -1) to check whether hidden column should be read is incorrect.

Commit:1401421
Author:Haoqiong Bian
Committer:GitHub

[Issue #82] clean old retina implementation (#766) We will use a new design for real-time updates.

Commit:3f01bae
Author:Dongyang Geng
Committer:GitHub

[Issue #737] implement hidden timestamp column (#754) Adding a hidden column into the pixels file and filtering out invisible tuples based on timestamp ordering. This is compatible with the previous file format without such a hidden column.

Commit:0c7538c
Author:Haoqiong Bian
Committer:GitHub

[pixels-retine] clean proto files (#765)

Commit:0915e2c
Author:Jiaxuan Zhu
Committer:GitHub

[Issue #645] add scaling server and auto-scaling policies (#747) Add a grpc service to collect the scaling metrics and a background thread to trigger auto-scaling according to scaling policies.

Commit:ea992ee
Author:Haoqiong Bian
Committer:GitHub

[Issue #708] remove the file id generated by etcd (#709) The file ID is now generated in the metadata. The metadata schema should be updated using the SQL scripts provided in PR #709.

Commit:dd68717
Author:Haoqiong Bian
Committer:GitHub

[Issue #700] getting layout while getting table (#702) This is needed by `show create table` in the clients.