提交 c8ec8c0b 编写于 作者: L Lei Rui 提交者: Jialin Qiao

update rpc and tsfile changelists (#480)

上级 5dcb3660
......@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
......@@ -19,22 +19,59 @@
-->
## 0.8.0 (version-0) -> version-1
# 0.8.0 (version-0) -> version-1
Last Updated on October 27th, 2019 by Lei Rui.
## 1. Delete Old
| Latest Changes | Related Committers |
| ---------------------------------- | ------------------ |
| Delete struct TSSetStorageGroupReq | Jialin Qiao |
| Remove struct TSDataValue | Lei Rui |
| Remove struct TSRowRecord | Lei Rui |
* Add Struct **TSStatusType**, including code and message. Instead of using ~~TS_StatusCode~~, ~~errorCode~~ and ~~errorMessage~~.
## 2. Add New
* Rename ~~TS_Status~~ to **TSStatus**, which use **TSStatusType** to show specific success or error status, code and message.
| Latest Changes | Related Committers |
| ------------------------------------------------------------ | ---------------------------------- |
| Add struct TSBatchInsertionReq | qiaojialin |
| Add method TSExecuteBatchStatementResp insertBatch(1:TSBatchInsertionReq req) | qiaojialin |
| Add Struct TSStatusType | Zesong Sun |
| Add TSCreateTimeseriesReq | Zesong Sun |
| Add method TSStatus setStorageGroup(1:string storageGroup) | Zesong Sun, Jialin Qiao |
| Add method TSStatus createTimeseries(1:TSCreateTimeseriesReq req) | Zesong Sun |
| Add struct TSInsertReq | qiaojialin |
| Add method TSRPCResp insertRow(1:TSInsertReq req) | qiaojialin |
| Add struct TSDeleteDataReq | Jack Tsai, qiaojialin |
| Add method TSStatus deleteData(1:TSDeleteDataReq req) | Jack Tsai, Jialin Qiao, qiaojialin |
| Add method TSStatus deleteTimeseries(1:list\<string> path) | qiaojialin |
| Add method TSStatus deleteStorageGroups(1:list\<string> storageGroup) | Yi Tao |
* Use struct **TSStatus** to replace all structs with only one field `1: required TS_Status status`, including: ~~TSCloseSessionResp~~ closeSession, ~~TSCancelOperationResp~~ cancelOperation, ~~TSCloseOperationResp~~ closeOperation, ~~TSSetTimeZoneResp~~ setTimeZone.
* Add **TSBatchInsertionReq**, **TSCreateTimeseriesReq**, **TSSetStorageGroupReq** and **TSDeleteReq**.
* Change method name ~~TSExecuteStatementResp executeInsertion(1:TSInsertionReq req)~~ to **TSExecuteStatementResp insert(1:TSInsertionReq req)**, and add method **TSExecuteBatchStatementResp insertBatch(1:TSBatchInsertionReq req)** for batch inserting interface.
## 3. Update
* Add method **TSStatus setStorageGroup(1:TSSetStorageGroupReq req)** and **TSStatus createTimeseries(1:TSCreateTimeseriesReq req)** for creating metadata interface.
| Latest Changes | Related Committers |
| ------------------------------------------------------------ | ---------------------- |
| Add required string timestampPrecision in ServerProperties | 1160300922 |
| Add optional list\<string\> dataTypeList in TSExecuteStatementResp | suyue |
| Update TSStatus to use TSStatusType, instead of using ~~TS_StatusCode, errorCode and errorMessage~~ | Zesong Sun |
| Rename item in enum TSProtocolVersion from ~~TSFILE_SERVICE_PROTOCOL_V1~~ to IOTDB_SERVICE_PROTOCOL_V1 | qiaojialin |
| Rename method name from ~~TSExecuteStatementResp executeInsertion(1:TSInsertionReq req)~~ to TSExecuteStatementResp insert(1:TSInsertionReq req) | qiaojialin |
| Add required i32 compressor in TSCreateTimeseriesReq | Jialin Qiao |
| Add optional list\<string> nodesList, optional map\<string, string> nodeTimeseriesNum in TSFetchMetadataResp | jack870131 |
| Add optional i32 nodeLevel in TSFetchMetadataReq | jack870131, Zesong Sun |
| Change the following methods' returned type to be TSStatus: <br />TSStatus closeSession(1:TSCloseSessionReq req), <br />TSStatus cancelOperation(1:TSCancelOperationReq req), <br />TSStatus closeOperation(1:TSCloseOperationReq req), <br />TSStatus setTimeZone(1:TSSetTimeZoneReq req), <br />TSStatus setStorageGroup(1:string storageGroup), <br />TSStatus createTimeseries(1:TSCreateTimeseriesReq req), <br />TSStatus insertRow(1:TSInsertReq req), <br />TSStatus deleteData(1:TSDeleteDataReq req) | Zesong Sun, qiaojialin |
| Change from ~~required string path~~ to required list\<string> paths in TSDeleteDataReq | qiaojialin |
| Add optional set\<string> devices in TSFetchMetadataResp | Zesong Sun |
| Rename some fields in TSFetchMetadataResp: ~~ColumnsList~~ to columnsList, ~~showTimeseriesList~~ to timeseriesList, ~~showStorageGroups~~ to storageGroups | Zesong Sun |
| Change struct TSQueryDataSet to eliminate row-wise rpc writing | Lei Rui |
| Add optional i32 timeseriesNum in TSFetchMetadataResp | Jack Tsai |
* Add method **TSStatus deleteTimeseries(1:TSDeleteReq req)** for deleting timeseries.
* Change item in enum **TSProtocolVersion** from ~~TSFILE_SERVICE_PROTOCOL_V1~~ to IOTDB_SERVICE_PROTOCOL_V1.
* Add **storageGroups** in struct **TSFetchMetadataResp**. Rename ~~ColumnsList~~ to **columnsList**, ~~showTimeseriesList~~ to **timeseriesList**, ~~showStorageGroups~~ to **storageGroups**.
\ No newline at end of file
......@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
......@@ -19,7 +19,17 @@
-->
## 0.8.0 (version-0) -> version-1
format: #PR ID change
#409 Genius_pig Delete a current version and add a number version.
*
\ No newline at end of file
# 0.8.0 (version-0) -> version-1
Last Updated on October 27th, 2019 by Lei Rui.
| PR# | Name | Author | Changes |
| ---- | ------------------------------------------------------------ | --------------- | ------------------------------------------------------------ |
| 258 | [IOTDB-143]Development of merge | jt2594838 | Add totalChunkNum and invalidChunkNum to TsFileMetaData. |
| 409 | \[IOTDB-165\]\[TsFile\] Delete a current version and add a number version and an exception. | Genius_pig | (1) Delete a current version in TsFileMetaData; <br />(2) Change the TsFile magic number from 12 bytes to: 6 bytes magic string ("TsFile") + 6 bytes version number ({"000001", "000002", ""000003"}) ("v0.8.0" is the first version (we treat it as "000000"));<br />(3) The tail of a TsFile only has "TsFile" magic string, without the version number. |
| 466 | [IOTDB-208] Bloom filter | SilverNarcissus | Add four fields for the bloom filter to TsFileMetaData: 1) bit vector byte array length, 2) bit vector byte array, 3) the number of bits, 4) the number of hash functions. |
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册