You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2020/11/04 08:08:38 UTC
[iotdb] branch jira-768 updated (be8f23d -> c31aa43)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a change to branch jira-768
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
from be8f23d fix test and sonar
add dc9c8fc wait all wals are replayed successfully
add 99028b7 modify the logic to support cluster
add 0f2f84b use device node when update last cache
add 05bfe1c avoid string concat for single node version
add f6dc9a8 Merge pull request #1474 from mychaow/master
add f71116d change lock way
add 7f95b1a change the default fetch size in session
add fe8f60c [IOTDB-800] Add a new config type for those which could not be modified after first start
add 0af58a0 fix limit in group by
add 0c167bb improve group by
add c5e8642 Merge branch 'master' of https://github.com/apache/incubator-iotdb into jira-768
add 99e2596 [IOTDB-799]remove log visualizer code and doc (#1516)
add 72169dc feat:add vm
add 1771ef0 fix chunkmeta bugs
add ea534cf update hot merge
add de6130e Merge branch 'hot_compaction' into add_vm_merge
add 873ad3b Merge pull request #1401 from zhanglingzhe0820/add_vm_merge
add 6483032 query adapter
add a10b404 update StorageGroupProcessor
add d08b086 Merge pull request #1410 from zhanglingzhe0820/add_vm_merge
add 8466408 resolve conflicts
add 6e0b8bd some changes in flush
add f88863b fix ChunkHeader merge
add c682ab3 fix small issues
add 5711c27 fix some small issues
add c2216eb clear get num
add bdb67d8 Fix hot compaction (#1412)
add 96f72bf fix recover folder
add 27a579d Fix hot compaction (#1415)
add ae637b6 add comment
add 6510a20 fix restart
add a50f46f fix recover vm
add b68bc19 delete unusable serialize
add a64002a query lock
add 96d2909 remove unused config
add acd8039 Merge branch 'hot_compaction' of https://github.com/apache/incubator-iotdb into hot_compaction
add 9aa0bc2 Merge branch 'hot_compaction' of https://github.com/apache/incubator-iotdb into hot_compaction
add 0b81e0b update mergeio
add c6abcb9 Merge branch 'hot_compaction' of https://github.com/apache/incubator-iotdb into hot_compaction
add 7596294 Merge branch 'hot_compaction' of https://github.com/apache/incubator-iotdb into hot_compaction
add 0ed3f9f Merge branch 'hot_compaction' of https://github.com/apache/incubator-iotdb into hot_compaction
add 39235aa Merge branch 'hot_compaction' of https://github.com/apache/incubator-iotdb into hot_compaction
add d3f80d2 update schema get
add 4cc7103 Merge pull request #1419 from zhanglingzhe0820/hot_compaction
add d2bd803 format memtable flush task
add 343b7e8 fix path
add cf089c6 Merge branch 'hot_compaction' of https://github.com/apache/incubator-iotdb into hot_compaction
add 2d4b394 Merge remote-tracking branch 'origin/hot_compaction' into hot_compaction
add 2ac8ce3 fix failed tests
add abee581 add recover support
add 62f4095 no need to serialize vmfile
add 7767fac update merge recover (#1421)
add 99cbcf4 add unseq tsfile processor recover
add 888daa4 fix resource readlock lack origin readlock
add 1e05957 fix sequence in TsFileReoverPerformer and MemtableFlushTask
add 820c377 Merge branch 'hot_compaction' of https://github.com/apache/incubator-iotdb into hot_compaction
add 5c4f304 only serialize closed file
add 7fae051 and file exists judgment
add 886084e fix close bug
add 5b70863 and file exists judgment (#1424)
add 71b0c45 update startTime and endTime in vmfile tsfile resource
add f2057b3 add licenses
add aba6218 Merge branch 'hot_compaction' into fix_hot_compaction_recover
add 50b4054 Merge pull request #1426 from zhanglingzhe0820/fix_hot_compaction_recover
add 2f71fb2 fix query deadlock
add 564d42d recover bug
add 105c019 fix recover bug
add cf15a27 add some comments
add 09f0bcb add merge version
add 592612c Merge commit '2f71fb218d32646396f34e5fd2819968923b125a' into fix_hot_compaction_recover
add 3471ff9 Merge branch 'hot_compaction' into fix_hot_compaction_recover
add 451d422 add tmp remove logic
add a622a26 Merge pull request #1427 from zhanglingzhe0820/fix_hot_compaction_recover
add f3e21bf fix recover
add 85ba4ee update version
add 731a526 Merge branch 'hot_compaction' into fix_hot_compaction_recover
add e93b1dc add merge
add cd7481f Merge pull request #1428 from zhanglingzhe0820/fix_hot_compaction_recover
add 4f68137 fix SeriesReaderIT
add 9934b36 fix vm file merge bug
add 5b94dc2 Merge pull request #1432 from zhanglingzhe0820/fix_vm_merge_bug
add b44f46a add recover processing for crashing while memtable is not full
add 83f3d9b fix recover
add b01f724 Merge branch 'master' into hot_compaction
add 9fcb20d Merge branch 'hot_compaction' of https://github.com/apache/incubator-iotdb into hot_compaction
add 871fce0 add test
add 524c9fe resolve conflict
add c493621 add properties
add cff8f1d change vm mergeTimes to flushTimes
add b263bf0 change flush vm times to 11 and add log
add c038c03 fix test
add b59aad1 merge master
add c1472cb Merge branch 'master' of https://github.com/apache/incubator-iotdb into hot_compaction
add 71b4711 fix review
add a9b2e87 fix test
add acfdee2 fix test
add d0d5815 split vm with flush (#1468)
add a7e9030 fix shouldClose
add 11f747a fix bug
add 336c034 Fix sonar problems in hot_compaction branch (#1469)
add 4b6fe39 Fix more sonar issues
add c20cdb7 Fix typo
add 732c112 fix conflicts
add 80355cd Fix tests
add 4dcd1d3 fix conflicts
add 42ce3f6 Fix conflicts
add 95de1f8 Merge remote-tracking branch 'origin/master' into hot_compaction2
add 6b8e118 Fix sonar problems resulted by merging master
add caae141 change back the delete way
add dd88ab1 change name
add d4ff7f9 make query right
add 25c40da add javadoc for RestorableTsFileIOWriter
add 938e80a add log
add 07cc9dc fix windows ci bug
add 703014b add log close
add cb4bcf0 fix
add 782518d fix
add a100b24 fix
add e52e0e4 Merge branch 'hot_compaction' into fix_windows_ci_bug
add 9bf7da2 fix
add a436db2 just end file
add 9e30f0f Merge branch 'fix_windows_ci_bug' into add_vm_logs
add 2cefde3 update
add 4d7b1cf remove endFile
add f6d6d1d Merge pull request #1477 from zhanglingzhe0820/add_vm_logs
add 5e97e01 fix tests
add a4922ca Merge branch 'master' into hot_compaction
add 4b023b7 update log and add some reader close (#1480)
add 619172f fix sonar
add 92546c4 fix sonar
add e71e710 rename upgrade to tmp suffix
add 6d6ae7b reduce duplication
add f53b94a fix vm recover bug
add c2675fa fix
add 69ae505 update vm logger
add 7f35d50 fix
add 8f2fc3b add truncate
add 1e9297c add logger close
add f39b9e9 update vm merge utils
add f620159 log
add 2943f48 update log
add c979feb fix vm pack bug
add 3b3ac1a update filename compare
add 326898e add log
add f1f0307 fix sonar
add 97a9937 change back memtable size in IoTDBConfig
add 4d2cc32 Merge remote-tracking branch 'origin/master' into hot_compaction
add f1adbb4 Merge pull request #1411 from apache/hot_compaction
add 21a0740 [IOTDB-805] Fix BufferUnderflowException when querying TsFile stored in HDFS (#1519)
add 0d4492c add vm level test and fix bug (#1522)
add 8361653 Added python session client.
add 4dddddb added Apache licenses to Python files.
add db48ebb Rm vm tmp file (#1528)
add 9e5f824 Add doc for MeasurementSchema in Tablet (#1534)
add be4d4b1 delete old-version python example & update README file
add a3df582 Fix recover bug with vm (#1529)
add 5a5b12a Add file list on disk (#1541)
add 75ad80c [IOTDB-811] fix upgrading mlog many times when upgrading system.properties crashed (#1543)
add 9f24a93 improve recover process
add 8b916e8 fix bug
add 86f6a67 add docs for recover process
add b2b6d32 Add tracing part of FileLists doc (#1547)
add 6eb95cc fix deadlock after showing latest timeseries
add 0b788bb update new range delete doc
add 6d616b5 Improve maven for stability (#1554)
add e4996e1 add keyword
add 1ca9aae add lost README_ZH
add e121e41 change query audit log to debug level
add 358640c fix TsFileWriteWithTablet (#1558)
add 289cfb0 fix the third party dependencies to make license compatible with apache-license 2.0 (#1569)
add 0110fe7 fix load file
add 876451e Cherry from 0.10.1 (#1576)
add 51b5d4d fix doc links
add 3517a5c fix space encoding
add 0c17797 Fix UserGuide/Overview/Architecture
add 86405ca set props in MeasurementSchema to null by default to release memory (#1585)
add 9fc0e17 [IOTDB-827] Fix no permissions for operation LAST (#1587)
add 8c252de fix null pointer
add 346e7a7 add a test
add d56e94f fix headers format
add 12de9c5 server log_info.log does not contain INFO level log (#1598)
add f465f06 Use readLock in `getActiveRatio`
add 794ad5f [ISSUE#1599]check datatype with encoding. (#1600)
add ffdf15f fix spark package name in doc (#1607)
add b3f21a3 [IOTDB-832] fix reconnection failure bug in sessionPool (#1610)
add 5e6c4b3 fix docker jmx
add d70758c Merge pull request #1612 from apache/fix_docker_jmx
add 72aa40c [IOTDB-835] Fix delete timeseries and change data type then write failed (#1625)
add d674035 [hotfix] Delete useless code in Jenkinsfile
add 5709256 add a data migration example (#1601)
add 571b7f5 [IOTDB-841] Unify the IOTDBConfig with iotdb-engine.cofig (#1629)
add 379a7df disable vm (#1643)
add f0b8a4b [IOTDB-836] Fix merging statistics failed when endFile (#1637)
add 6ef6646 add Delete Storage Group statement to User Guide DDL (#1644)
add e502a4a change prepared statement log level from info to debug (#1649)
add c160923 Fix bug that 'List role privileges' cannot apply to root and other issues in doc (#1647)
add ec9ef4f [IOTDB-849] Optimize value filter query (#1651)
add fd6992b [IOTDB-682] C++ client build (#1616)
add 9789c2c Update the master branch for releasing 0.10.1 (#1646)
add 12e1332 Support double quotation in Path and optimize the Path String usage v2 (#1627)
add 4c224bc - Made it possible to load the config from the classpath (#1661)
add 55c2e20 [IOTDB-855] Put back SessionPool resources if RuntimeException occurs (#1663)
add afafc79 [IOTDB-839] Make Tablet api more friendly (#1658)
add 2ec3916 fix a bug which caused delete timeseries unsuccessfully (#1664)
add 2c6e057 resolve grammatical mistake (#1669)
add 76a9aaa [IOTDB-837] ArrayIndexOutOfBoundsException if the measurementId size is not consistent with the value size (#1662)
add 1fc68e7 IoTDB Session Interface Updates(0.9-0.10) (#1672)
add 988deda fix Chinese webpage translation (#1677)
add 1132192 fixed typo (#1674)
add 11323fe modify data manipulation doc (#1678)
add 393a91f [New feature] Add the alias and show it as column name when querying (#1621)
add 4cedb4e Add java doc. (#1681)
add 7eeae49 Reduce unnecessary initialization (#1682)
add 1e48707 fix scheduleWithFixedDelay in wal
add 7e3f820 enlarge force_wal_period_in_ms to 100ms
add a7cfb1e Merge pull request #1679 from apache/real_fix_wal
add c626197 [Sonar] Fix Sonar checking bugs (#1673)
add 545d912 Fix thrift put some unnecessary bytes in a ByteBuffer (#1655)
add b3ea173 add new committer chaow (#1688)
add d71da59 IOTDB-851: enhance failure tolerance when recover WAL (#1665)
add 1aa0c50 Add show TTL to DDL Data Definition Language.md (#1695)
add df250c3 [IOTDB-813] Show storage group under given path prefix (#1694)
add 7e2dbc6 fix Url bug (#1699)
add 1a02d88 fix dead lock on UpgradeUtils (#1701)
add 0014143 Change hot compact way to level merge (#1620)
add 1e0933b [IOTDB-856] Clear up the IoTDBSessionIT (#1670)
add 287f3fa Add PPMC info for Jincheng Sun (#1709)
add 399917a [IOTDB-670] raw data query interface (#1704)
add d944de9 Move Session API updates into Native_API.md (#1706)
add 0c1822d [IOTDB-878][connector] Bump Flink to Flink 1.11.1 (#1711)
add 2c4fae5 [IOTDB-875]fix flush storage group error when no data in storage group (#1700)
add 32abc11 [Hot compaction] Add upgrade logic for TsFileManagement (#1707)
add 168cbbd Add merge speed limiting (#1712)
add 62f009c [IOTDB-873] Add count devices DDL (#1705)
add 883b5dc Fix As clause doc (#1697)
add 4852a10 Fix Python method "set_time_zone" exception message (#1713)
add 13c246e [IOTDB-871] change port to rpc port in session (#1720)
add b0b943a fix mem setting on windws when using 64-bit Java
add 237bd6f Merge pull request #1702 from xiaoyekanren/fix_mem_setting_on_wind
add 83b7fce add new PPMC members Haonan Hou and Dawei Liu (#1729)
add d729f99 fix some importcsv tool bug (#1692)
add 7834fc8 [IOTDB-881] Fix Double quotes bug in Align by device (#1717)
add 42e3c16 fix importCsvIT bug (#1730)
add 3aaf7de [IOTDB-840] Encode the three enum fields in MeasurementSchema to save memory (#1724)
add 2323f26 fix bug that cross-test generates data out of the target folder (#1738)
add da54ec5 [IOTDB-850] check list user/role privilege (#1698)
add fc795d3 [IOTDB-848] support order by time asc/desc (#1650)
add 4e4df33 [IOTDB-877] fix prefix bug on show storage group and show devices (#1723)
add e9defff [Doc]Add wal test doc (#1735)
add 686f066 [IOTDB-876] Add count storage group DDL (#1734)
add ffa9b2d Revert incorrect sonar fix in sync module (#1740)
add 0d853dc [IOTDB-869] Failed to insert data via Windows CLI (#1714)
add 5160615 add compaction resource delete (#1741)
add 8421bbb fix cross-tests bug (#1743)
add 0d8fd2e delete lock in the LeafNode (#1745)
add 8971a3a catch exception (#1748)
add 7809b9c fix ProgressBar bug (#1747)
add 85ff7e6 [IOTDB-872] Use system timezone in CLI (#1722)
add 0de9fff [IOTDB-904] fix update last cache NullPointerException (#1752)
add 479bfad Update maven download url for TravisCI (WinOS) (#1754)
add 0bdc1e1 Change TreeSet to List in getAllDevices (#1756)
add 38bf656 Improve the readUnLock way while inserting (#1757)
add ee8c17f update the website because of graduation (#1755)
add 3df2da3 fix ImportCsvToolIT bug
add a1260a0 Fixed getFloat(int ColumnIndex) Method.
add f2820e4 [bug] modify disableIS08601 to disableISO8601
add 3db6cb0 - Removed the incubation resources from the produced jars - Made the source plugin create source-jars even for SNAPSHOT builds
add adb5926 [IOTDB-870] change tags and attributes output format to two columns with json values(#1731)
add 5fa23d0 [IOTDB-892] Replace fastjson with Gson (#1728)
add c2ca774 Avoid type conversion when encoding MeasureSchema (#1749)
add ece4928 Update DML Data Manipulation Language.md (#1769)
add 2e7d902 [IOTDB-863]: add a switch to drop ouf-of-order data that is recognized by IoTDB (#1693)
add 410815d [IOTDB-907] Change TreeSet to HashSet in getAllDevices (#1772)
add 1e3d945 [IOTDB-919] Update License binary as fastjson has been removed (#1773)
add 79fe721 remove some redundant code (#1778)
add 52b087f [IOTDB-929] Update show timeseries information in readme (#1786)
add c916da9 [IOTDB-934] Update TsFile structure graph (#1797)
add 1eb3cbe remove incubating or incubator word
add a12c90e revert travis.xml as sonarcloud does not rename iotdb repo
add 665df9b revert travis.xml as sonarcloud does not rename iotdb repo
add af08781 Update docs/zh/UserGuide/Get Started/Frequently asked questions.md
add efbf93a Update docs/zh/SystemDesign/TsFile/Format.md
add 1cb82ba Update docs/UserGuide/Server/Download.md
add 45b803f Update README.md
add 9f44105 remove incubating or incubator word (#1790)
add c1cf736 [IOTDB-934] Add statistics description in TsFile document (#1798)
add 7d63289 remove "incubator" word in all urls (#1802)
add f82f180 delete some useless type transfer while deserializing and serializing MeasurementMNode (#1803)
add 3976682 fix progressBar print problem (#1805)
add 4b5e66f fix homepage link (#1806)
add 52ffce3 [IOTDB-920] Disable insert row thats only contains time/timestamp column (#1774)
add 2f71cd7 [IOTDB-922] Int and Long can convert to each other in ResultSet (#1775)
add eba7c0b [IOTDB-916] Add a config entry to make Last cache configurable (#1770)
add 5195490 [IOTDB-934] Update TsFile structure graph (#1807)
add df8f876 Remove unnecessary lock in MManager (#1783)
add f24f637 fix Tracing bug (#1811)
add 5822e2b [IOTDB-936] Refactor getAllDevices in TsFileSequenceReader (#1808)
add ba1ec68 print error log when set illegal sg name (#1810)
add ec0d69c Update MetadataIndexTree graph (#1812)
add c9d275e fix session raw data query rpc pass statementId bug (#1819)
add a2db8a4 [IOTDB-884] batch create timeSeriesPlan (#1771)
add 6d7e639 fix duplicated logger (#1822)
add 9bed072 [IOTDB-933] Fix antlr4 which caused benchmark throw exception (#1795)
add 40adb82 fix a class name in jdbc module and reformat (#1817)
add 3f6358e Put all log level setting together (#1816)
add 34468e2 update google guava version (#1814)
add a1adaf2 [Sonar] Fix Codesmell blocker and critical issue (#1750)
add 844b4e6 Supplement the document (#1710)
add e77d26a fix LOCAL_JMX to JMX_LOCAL
add a224edc update start-cli bash (#1829)
add 102bd16 [IOTDB-829] Accelerate delete timeseries (#1732)
add ae766b0 [IOTDB-947] Fix error when counting node with wildcard (#1832)
add b323b78 [IOTDB-921] Solve the statement twice call bug (#1784)
add f72064d [IOTDB-928] Make ENCODING optional in create time series sentence (#1785)
add 1c1ccb6 rm update in md (#1835)
add 90ff56a IOTDB-932 Removed (wrong and redundant) Verification of Paths in Session API.
add df48add IOTDB-932 Removed unnecessary Constant PATH_PATTERN and related Test.
add 8ba9284 Trigger
add 6ba9889 Merge pull request #1793 from apache/bugfix/932-wrong-verification
add 48f01b7 [IOTDB-926] Support reconnection of Session (#1821)
add c889776 [IOTDB-845]Enable to stop iotdb server by iotdb.IoTDB (#1633)
add 7755ffc [IOTDB-912] Implement wasNull method in AbstractIoTDBJDBCResultSet (#1791)
add 6511a88 [IOTDB-908] Implement ResultSetMetadata interface for JDBC (#1768)
add b67f669 Add readChunksInDevice method to TsFileSequenceReader (#1765)
add f352932 [IOTDB-942] Optimization of query with long time unsequence page (#1824)
add 74eedae add device chunk point cache (#1758)
add e5f213c [IOTDB-949] fix align by device bug (#1837)
add 64dc16b [IOTDB-927] Remove fastjson introduced by rocketmq (#1782)
add 0964b95 [IOTDB-902] Optimize max_time aggregation and fix order by time desc aggregation bug (#1751)
add 2600bf8 [IOTDB-749] Handle select * from root OOM (#1367)
add bcd8990 [IOTDB-931] update start-cli bash (#1847)
add 8253181 add expression in group by align by device (#1853)
add 4a1dc2d [IOTDB-886]fix float loss precision (#1796)
add ac0af88 Remove duplicate declaration of plugin org.apache.maven.plugins:maven-assembly-plugin in tsfile model (#1852)
add c1fcaa4 add more tracing log
add 0496d75 fix typo
add d40fbcb remove tracing dir reInitial
add efbe467 merge master and fix review comments
add c924847 Merge pull request #1845 from Alima777/addMoreTracing
add 78954ea fix tsfilemanage concurrent bug (#1849)
add c2b6c5a Revert "[IOTDB-955] Add more tracing log" (#1858)
add 3053112 IOTDB-889 (#1857)
add 6fef74a [IOTDB-951] Fix auto-creating schema in parallel may write unrecognizable timeseries in mlog.txt (#1851)
add b52b2e1 update comment of VersionController (#1848)
add 03d37b0 [IOTDB-958] Fix MLog bug and add switch for MTree snapshot (#1863)
add 0c85956 [IOTDB-716] add lz4 doc and support compression=lz4 statement (#1860)
add 35e9d9f minor correction of the "Comparison" documentation (#1871)
add 263b783 Update docs/Documentation-CHN/UserGuide/5-Operation Manual/4-SQL Reference.md
add 63d5b09 Update docs/Documentation/UserGuide/5-Operation Manual/4-SQL Reference.md
add e705465 Merge branch 'master' of https://github.com/apache/iotdb
add 4771a8d Merge pull request #2 from apache/master
add 7dc521a Merge branch 'master' of https://github.com/apache/iotdb
add 145801b Merge branch 'master' of https://github.com/apache/iotdb
add d1daf27 tracing log
add 2b3de88 Merge pull request #1867 from Alima777/tracingLog
add a79f252 add plan index and flush/close listeners (#1850)
add 908e2db [IOTDB-716] add lz4 to cpp and python client (#1870)
add d19de4e upgrade spring boot from 1.5.4 to 1.5.15 (#1861)
add df6dddc fix hot compaction read bug (#1876)
add ea7f6bd fixSeriesReader
add 68901b1 update currentPageEndPointTime
add a132614 fix typo
add 2e6c093 fix typo, add bracket
add 4740090 Merge pull request #1879 from Alima777/fixSeriesReader
add 0698da6 [IOTDB-963] Redo deleteStorageGroupPlan failed when recovering (#1880)
add 0cedde0 A fix for delete that use incorrect way to match partial path (#1882)
add aecbd40 Fix mlog recover log level (#1883)
add 4c8f5fb Temporarily disable website checker (#1887)
add b30b550 Cluster premerge (#1736)
add e1edeb7 fix count timeseries bug (#1891)
add 699998f [IOTDB-872] Use system timezone in CLI (Session) (#1846)
add dc3d9f1 [IOTDB-749] Handle select * from root OOM (#1884)
add 654662f fix a sonar bug (#1897)
add 1b433c1 add more logs in LocalTsFileInput (#1899)
add 8f6f210 fix a sonar bug (#1900)
add 67d6100 [IOTDB-970] Change logback rollingPolicy and triggeringPolicy (#1895)
add 8bacba5 Synchronize the English and Chinese version of "Grafana" doc (#1901)
add bfd5af6 [IOTDB-968] Support time predicate in select last (#1898)
add 6ccb5a0 Update start-cli.sh (#1906)
add 172db70 [IOTDB-938] Re-implement Gorilla encoding algorithm (#1856)
add e897267 Fix open session bug (#1905)
add 26a70b1 correct errors in English documents (#1904)
add 3215d5e support
add ce4a471 fix format
add f25cbd1 remove doller chars in markdown, add latex template for exporting docs to pdf
add 4362188 add apache-rat
add fc0f3f7 [IOTDB-962] Improve the chunk metadata cache process (#1874)
add d1f6357 update hot compaction config name (#1859)
add ebf63b1 [IOTDB-975] Improve readTimeseriesMetadata (#1909)
add 913f0b7 Stop iotdb instance when RPC ip address or port is unavailable (#1868)
add 539b8f1 add debug SQL log (#1912)
add 597d7ce update vue to 1.7.1 and fix shell render name in markdowns (#1911)
add 0cf358c Add restrictions for LAST query filter (#1917)
add 36b332d Remove mqtt log and add InsertRowPlan check (#1916)
add 5851ac9 [IOTDB-973] fix bug when start-cli with -e parameter (#1908)
add b7b293f Add more query log (#1918)
add b5fcd7f [IOTDB-971] More precise error messages of slimit and soffset (#1913)
add 9f09a93 [IOTDB-975] Fix reading file error in getChunkMetadataList (#1920)
add 6e67357 add solution for network broken when downloading thrift files from github (#1921)
add 04d3ac0 [IOTDB-776] Control the memory usage of flushing the memtable (#1524)
add 9f83279 update AbstractCli (#1926)
add 99c421e fix compaction recover when restart (#1928)
add 1961dde More precise fetch size on query while calculating query memory footprint (#1927)
add e4e5a90 add changelist files in server (#1933)
add 284f8a7 remove useless line (#1932)
add 8576a5e add docker file for 0.11 (#1934)
add 20d0c49 remove compaction read limiter (#1930)
add 804de2d add release note 0.11 (#1936)
add 472eaea fix mlogs with special characters like comma bug
add 8eb954e fix mlogs with special characters like comma bug (#1935)
add 3606aaa Fix time zone in python session (#1937)
add e0bd43c Python session time zone example (#1938)
add 04d60f7 remove incubator in md
add 49976b0 refactor the packaging structure of Python API module on Pypi (#1939)
add 4696f0f change seq level to 3
add 7359c53 remove incubating in release notes
add c31aa43 resolve conflicts
No new revisions were added by this update.
Summary of changes:
.gitignore | 7 +
.mvn/wrapper/MavenWrapperDownloader.java | 10 +-
.travis.yml | 52 +-
DISCLAIMER | 6 -
Jenkinsfile | 38 +-
LICENSE | 27 +-
LICENSE-binary | 4 +-
README.md | 55 +-
README_ZH.md | 46 +-
RELEASE_NOTES.md | 97 ++
.../org/apache/iotdb/db/qp/strategy/SqlBase.g4 | 310 +++-
cli/pom.xml | 14 +
cli/src/assembly/resources/sbin/start-cli.bat | 16 +-
cli/src/assembly/resources/sbin/start-cli.sh | 33 +-
.../java/org/apache/iotdb/cli/AbstractCli.java | 12 +-
.../main/java/org/apache/iotdb/tool/ExportCsv.java | 1 +
.../main/java/org/apache/iotdb/tool/ImportCsv.java | 76 +-
.../org/apache/iotdb/cli/StartClientScriptIT.java | 26 +-
cli/src/test/resources/logback.xml | 52 +-
.../StorageEngine/WAL.md => client-cpp/README.md | 8 +-
client-cpp/client-cpp-example/pom.xml | 162 ++
.../client-cpp-example/src/CMakeLists.txt | 35 +-
.../client-cpp-example/src/SessionExample.cpp | 296 ++++
client-cpp/pom.xml | 360 ++++
client-cpp/src/assembly/client-cpp.xml | 60 +
client-cpp/src/main/CMakeLists.txt | 42 +
client-cpp/src/main/IOTDBSession.cpp | 1018 +++++++++++
client-cpp/src/main/IOTDBSession.h | 641 +++++++
client-cpp/src/test/CMakeLists.txt | 41 +
client-cpp/src/test/cpp/sessionIT.cpp | 171 ++
.../LogParser.java => client-cpp/src/test/main.cpp | 42 +-
client-py/pom.xml | 126 ++
{thrift/src => client-py}/pypi/README.md | 16 +-
{thrift/src => client-py}/pypi/setup.py | 4 +-
client-py/readme.md | 19 +-
client-py/src/Session.py | 458 +++++
client-py/src/SessionExample.py | 107 ++
.../config.properties => client-py/src/__init__.py | 4 -
client-py/src/client_example.py | 347 ----
client-py/src/utils/Field.py | 176 ++
.../src/utils/IoTDBConstants.py | 53 +-
client-py/src/utils/IoTDBRpcDataSet.py | 219 +++
client-py/src/utils/RowRecord.py | 55 +
client-py/src/utils/SessionDataSet.py | 101 ++
client-py/src/utils/Tablet.py | 133 ++
.../src/utils/__init__.py | 12 -
compile-tools/README.md | 147 ++
compile-tools/boost/pom.xml | 141 ++
.../boost/src/assembly/bundle.xml | 30 +-
compile-tools/pom.xml | 121 ++
compile-tools/thrift/pom.xml | 420 +++++
.../thrift/src/assembly/compiler.xml | 32 +-
compile-tools/thrift/src/assembly/cpp.xml | 51 +
.../thrift/src/assembly/python.xml | 33 +-
cross-tests/pom.xml | 87 +
.../tests/tools/importCsv/AbstractScript.java | 92 +
.../tests/tools/importCsv/ImportCsvTestIT.java | 157 ++
.../src/test/resources/iotdb-engine.properties | 0
distribution/pom.xml | 4 +-
distribution/src/assembly/distribution.xml | 6 +-
docker/src/main/Dockerfile | 10 +-
.../main/{Dockerfile-0.9.0 => Dockerfile-0.10.1} | 10 +-
.../main/{Dockerfile-0.9.0 => Dockerfile-0.11.0} | 10 +-
docker/src/main/Dockerfile-0.8.1 | 4 +-
docker/src/main/Dockerfile-0.9.0 | 4 +-
docker/src/main/Dockerfile-0.9.1 | 4 +-
docker/src/main/Dockerfile-0.9.1-jre8 | 4 +-
docs/Blog/Release0_93.md | 2 +-
docs/Blog/index.md | 2 +-
docs/Community/Community-Powered By.md | 2 +-
docs/Community/Feedback.md | 4 +-
docs/Development/ContributeGuide.md | 19 +-
docs/Development/HowToCommit.md | 22 +-
docs/Development/VoteRelease.md | 16 +-
docs/Download/README.md | 48 +-
docs/SystemDesign/Architecture/Architecture.md | 22 +-
docs/SystemDesign/DataQuery/AlignByDeviceQuery.md | 14 +-
docs/SystemDesign/DataQuery/DataQuery.md | 18 +-
docs/SystemDesign/DataQuery/QueryFundamentals.md | 2 +-
docs/SystemDesign/QueryEngine/QueryEngine.md | 4 +-
.../QueryEngine/ResultSetConstruction.md | 4 +-
.../SystemDesign/StorageEngine/DataManipulation.md | 24 +-
docs/SystemDesign/StorageEngine/Recover.md | 106 ++
docs/SystemDesign/StorageEngine/StorageEngine.md | 8 +-
docs/SystemDesign/StorageEngine/WAL.md | 24 +-
docs/SystemDesign/Tools/Sync.md | 2 +-
docs/SystemDesign/TsFile/Format.md | 46 +-
docs/SystemDesign/TsFile/TsFile.md | 6 +-
docs/UserGuide/Architecture/Files.md | 18 +-
.../UserGuide/Architecture/Writing Data on HDFS.md | 6 +-
docs/UserGuide/Client/Command Line Interface.md | 38 +-
docs/UserGuide/Client/Programming - JDBC.md | 6 +-
docs/UserGuide/Client/Programming - MQTT.md | 4 +-
docs/UserGuide/Client/Programming - Native API.md | 189 +-
.../Client/Programming - Other Languages.md | 6 +-
docs/UserGuide/Client/Programming - TsFile API.md | 30 +-
docs/UserGuide/Client/Status Codes.md | 3 +-
docs/UserGuide/Comparison/TSDB-Comparison.md | 59 +-
docs/UserGuide/Concept/Compression.md | 8 +-
.../Concept/Data Model and Terminology.md | 12 +-
docs/UserGuide/Concept/Data Type.md | 6 +-
docs/UserGuide/Concept/Encoding.md | 16 +-
docs/UserGuide/Ecosystem Integration/Grafana.md | 29 +-
.../UserGuide/Ecosystem Integration/Hive TsFile.md | 36 +-
.../Ecosystem Integration/MapReduce TsFile.md | 10 +-
.../UserGuide/Ecosystem Integration/Spark IoTDB.md | 2 +-
.../Ecosystem Integration/Spark TsFile.md | 48 +-
.../Get Started/Frequently asked questions.md | 16 +-
docs/UserGuide/Get Started/Publication.md | 6 +-
docs/UserGuide/Get Started/QuickStart.md | 22 +-
docs/UserGuide/Operation Manual/Administration.md | 11 +-
.../DDL Data Definition Language.md | 51 +-
.../DML Data Manipulation Language.md | 86 +-
docs/UserGuide/Operation Manual/SQL Reference.md | 128 +-
docs/UserGuide/Overview/Architecture.md | 2 +-
docs/UserGuide/Server/Cluster Setup.md | 207 ++-
docs/UserGuide/Server/Config Manual.md | 22 +-
docs/UserGuide/Server/Docker Image.md | 8 +-
docs/UserGuide/Server/Download.md | 16 +-
docs/UserGuide/Server/ServerFileList.md | 157 ++
docs/UserGuide/System Tools/Log Visualizer.md | 160 --
.../System Tools/Memory Estimation Tool.md | 84 -
.../System Tools/Monitor and Log Tools.md | 4 +-
docs/UserGuide/System Tools/NodeTool.md | 289 ++++
.../System Tools/Performance Tracing Tool.md | 18 +-
docs/UserGuide/UserGuideReadme.md | 7 +-
docs/zh/Community/Community-Powered By.md | 2 +-
docs/zh/Community/Feedback.md | 4 +-
docs/zh/Development/ContributeGuide.md | 17 +-
docs/zh/Development/HowToCommit.md | 20 +-
docs/zh/Development/VoteRelease.md | 16 +-
docs/zh/Download/README.md | 48 +-
docs/zh/SystemDesign/Architecture/Architecture.md | 22 +-
.../SystemDesign/DataQuery/AlignByDeviceQuery.md | 14 +-
docs/zh/SystemDesign/DataQuery/DataQuery.md | 20 +-
docs/zh/SystemDesign/DataQuery/OrderByTimeQuery.md | 190 ++
.../zh/SystemDesign/DataQuery/QueryFundamentals.md | 2 +-
docs/zh/SystemDesign/QueryEngine/QueryEngine.md | 4 +-
.../QueryEngine/ResultSetConstruction.md | 4 +-
docs/zh/SystemDesign/StorageEngine/Compaction.md | 226 +++
.../SystemDesign/StorageEngine/DataManipulation.md | 24 +-
docs/zh/SystemDesign/StorageEngine/FileLists.md | 156 ++
docs/zh/SystemDesign/StorageEngine/Recover.md | 107 ++
.../zh/SystemDesign/StorageEngine/StorageEngine.md | 8 +-
docs/zh/SystemDesign/StorageEngine/WAL.md | 23 +
docs/zh/SystemDesign/TsFile/Format.md | 43 +-
docs/zh/SystemDesign/TsFile/TsFile.md | 6 +-
docs/zh/UserGuide/Architecture/Files.md | 8 +-
.../UserGuide/Architecture/Writing Data on HDFS.md | 2 +-
docs/zh/UserGuide/Client/Command Line Interface.md | 30 +-
.../UserGuide/Client/Programming - Native API.md | 180 +-
.../UserGuide/Client/Programming - TsFile API.md | 8 +-
docs/zh/UserGuide/Client/Status Codes.md | 1 +
docs/zh/UserGuide/Concept/Compression.md | 5 +-
.../Concept/Data Model and Terminology.md | 4 +
docs/zh/UserGuide/Concept/Data Type.md | 2 +-
docs/zh/UserGuide/Concept/Encoding.md | 16 +-
docs/zh/UserGuide/Ecosystem Integration/Grafana.md | 11 +-
.../UserGuide/Ecosystem Integration/Hive TsFile.md | 12 +-
.../Ecosystem Integration/MapReduce TsFile.md | 6 +-
.../Ecosystem Integration/Spark TsFile.md | 24 +-
.../Get Started/Frequently asked questions.md | 14 +-
docs/zh/UserGuide/Get Started/QuickStart.md | 10 +-
.../UserGuide/Operation Manual/Administration.md | 3 +-
.../DDL Data Definition Language.md | 40 +-
.../DML Data Manipulation Language.md | 56 +-
.../zh/UserGuide/Operation Manual/SQL Reference.md | 126 +-
docs/zh/UserGuide/Overview/Architecture.md | 2 +-
docs/zh/UserGuide/Server/Cluster Setup.md | 197 ++-
docs/zh/UserGuide/Server/Config Manual.md | 33 +-
docs/zh/UserGuide/Server/Docker Image.md | 10 +-
docs/zh/UserGuide/Server/Download.md | 4 +-
docs/zh/UserGuide/Server/ServerFileList.md | 153 ++
docs/zh/UserGuide/System Tools/Log Visualizer.md | 146 --
.../System Tools/Memory Estimation Tool.md | 88 -
.../System Tools/Monitor and Log Tools.md | 6 +-
docs/zh/UserGuide/System Tools/NodeTool.md | 294 ++++
.../System Tools/Performance Tracing Tool.md | 16 +-
docs/zh/UserGuide/UserGuideReadme.md | 7 +-
docs/zh/chinese-render-template.latex | 220 +++
.../org/apache/iotdb/flink/FlinkIoTDBSink.java | 4 +-
.../apache/iotdb/flink/FlinkTsFileBatchSink.java | 2 +-
.../apache/iotdb/flink/FlinkTsFileBatchSource.java | 2 +-
.../apache/iotdb/flink/FlinkTsFileStreamSink.java | 2 +-
.../iotdb/flink/FlinkTsFileStreamSource.java | 2 +-
.../iotdb/hadoop/tsfile/TSFMRReadExample.java | 4 +-
.../iotdb/hadoop/tsfile/TSMRWriteExample.java | 9 +-
.../apache/iotdb/hadoop/tsfile/TsFileHelper.java | 44 +-
example/rocketmq/pom.xml | 6 +
.../java/org/apache/iotdb/rocketmq/Constant.java | 17 +-
.../org/apache/iotdb/DataMigrationExample.java | 185 ++
.../main/java/org/apache/iotdb/SessionExample.java | 149 +-
example/tsfile/readme.md | 2 +-
.../java/org/apache/iotdb/tsfile/TsFileRead.java | 50 +-
.../apache/iotdb/tsfile/TsFileSequenceRead.java | 137 +-
.../iotdb/tsfile/TsFileWriteWithTSRecord.java | 46 +-
.../apache/iotdb/tsfile/TsFileWriteWithTablet.java | 17 +-
flink-iotdb-connector/pom.xml | 2 +-
.../java/org/apache/iotdb/flink/IoTDBSink.java | 3 +-
flink-tsfile-connector/pom.xml | 7 +
.../iotdb/flink/tsfile/RowTSRecordConverter.java | 5 +-
.../iotdb/flink/tsfile/TsFileInputFormat.java | 19 +-
.../flink/tsfile/RowTsFileConnectorTestBase.java | 2 +-
grafana/pom.xml | 6 +-
grafana/readme.md | 8 +-
grafana/readme_zh.md | 8 +-
.../controller/DatabaseConnectController.java | 120 +-
.../iotdb/hadoop/fileSystem/HDFSConfUtil.java | 3 +-
.../apache/iotdb/hadoop/fileSystem/HDFSFile.java | 59 +-
.../apache/iotdb/hadoop/fileSystem/HDFSOutput.java | 7 +-
.../iotdb/hadoop/tsfile/TSFRecordReader.java | 22 +-
hive-connector/pom.xml | 25 +
.../org/apache/iotdb/hive/TSFHiveRecordReader.java | 1 +
.../org/apache/iotdb/hive/TsFileDeserializer.java | 18 +-
.../iotdb/jdbc/AbstractIoTDBJDBCResultSet.java | 21 +-
.../main/java/org/apache/iotdb/jdbc/Activator.java | 21 +-
.../main/java/org/apache/iotdb/jdbc/Config.java | 2 +-
.../org/apache/iotdb/jdbc/IoTDBConnection.java | 44 +-
.../org/apache/iotdb/jdbc/IoTDBDataSource.java | 230 ++-
.../apache/iotdb/jdbc/IoTDBDataSourceFactory.java | 79 +
.../apache/iotdb/jdbc/IoTDBDatabaseMetadata.java | 2 +-
.../iotdb/jdbc/IoTDBNonAlignJDBCResultSet.java | 8 +-
.../apache/iotdb/jdbc/IoTDBPreparedStatement.java | 6 +-
.../org/apache/iotdb/jdbc/IoTDBResultMetadata.java | 46 +-
.../java/org/apache/iotdb/jdbc/IoTDBStatement.java | 78 +-
.../apache/iotdb/jdbc/IoTDbDataSourceFactory.java | 79 -
.../org/apache/iotdb/jdbc/IoTDBConnectionTest.java | 6 +-
.../apache/iotdb/jdbc/IoTDBJDBCResultSetTest.java | 28 +-
.../apache/iotdb/jdbc/IoTDBResultMetadataTest.java | 4 +-
pom.xml | 73 +-
.../file-changelists/TsFileResource-changelist.md | 4 +-
.../file-changelists/mlog-changelist.md | 4 -
.../file-changelists/role-changelist.md | 4 -
.../storage_group_version-changelist.md | 4 -
.../system.properties-changelist.md | 4 -
.../file-changelists/tlog-changelist.md | 4 -
.../file-changelists/user-changelist.md | 4 -
.../file-changelists/wal-changelist.md | 4 -
server/pom.xml | 15 +-
server/server-changelist.md | 16 +-
.../resources/conf/iotdb-engine.properties | 156 +-
server/src/assembly/resources/conf/iotdb-env.bat | 68 +-
server/src/assembly/resources/conf/iotdb-env.sh | 1 +
server/src/assembly/resources/conf/logback.xml | 176 +-
.../src/assembly/resources/sbin/start-server.bat | 3 +-
server/src/assembly/resources/sbin/stop-server.bat | 17 +-
server/src/assembly/resources/sbin/stop-server.sh | 11 +-
.../tools/logVisualize/default.log.pattern | 45 -
.../tools/logVisualize/log-visualizer-cmd.bat | 65 -
.../tools/logVisualize/log-visualizer-gui.bat | 65 -
.../tools/logVisualize/log-visualizer-gui.sh | 47 -
.../plans/closeMetadataConsumption.plan | 6 -
.../tools/logVisualize/plans/compressionRatio.plan | 6 -
.../logVisualize/plans/dynamicParameters.plan | 6 -
.../tools/logVisualize/plans/flushSubmits.plan | 7 -
.../plans/flushTimeConsumption.plan.example | 56 -
.../tools/logVisualize/plans/memTableWait.plan | 6 -
.../tools/logVisualize/plans/mergeFileNum.plan | 7 -
.../tools/logVisualize/plans/mergeRate.plan | 10 -
.../logVisualize/plans/mergeSeriesProgress.plan | 7 -
.../src/assembly/resources/tools/memory-tool.bat | 65 -
.../org/apache/iotdb/db/auth/AuthorityChecker.java | 9 +-
.../iotdb/db/auth/authorizer/BasicAuthorizer.java | 1 -
.../iotdb/db/auth/authorizer/OpenIdAuthorizer.java | 41 +-
.../iotdb/db/auth/role/LocalFileRoleAccessor.java | 4 +
.../iotdb/db/auth/user/BasicUserManager.java | 4 +-
.../iotdb/db/auth/user/LocalFileUserAccessor.java | 25 +-
.../org/apache/iotdb/db/concurrent/ThreadName.java | 1 +
.../java/org/apache/iotdb/db/conf/IoTDBConfig.java | 492 +++++-
.../org/apache/iotdb/db/conf/IoTDBConfigCheck.java | 13 +-
.../org/apache/iotdb/db/conf/IoTDBConstant.java | 4 +-
.../org/apache/iotdb/db/conf/IoTDBDescriptor.java | 263 ++-
.../db/conf/adapter/ActiveTimeSeriesCounter.java | 159 --
.../iotdb/db/conf/adapter/CompressionRatio.java | 21 +-
.../db/conf/adapter/IActiveTimeSeriesCounter.java | 61 -
.../iotdb/db/conf/adapter/IDynamicAdapter.java | 47 -
.../db/conf/adapter/IoTDBConfigDynamicAdapter.java | 300 ----
.../db/conf/adapter/ManageDynamicParameters.java | 135 --
.../conf/adapter/ManageDynamicParametersMBean.java | 46 -
.../strategy/RandomOnDiskUsableSpaceStrategy.java | 4 +-
.../iotdb/db/cost/statistic/Measurement.java | 29 +-
.../org/apache/iotdb/db/engine/StorageEngine.java | 343 +++-
.../apache/iotdb/db/engine/cache/ChunkCache.java | 51 +-
.../iotdb/db/engine/cache/ChunkMetadataCache.java | 70 +-
.../db/engine/cache/TimeSeriesMetadataCache.java | 96 +-
.../compaction/CompactionMergeTaskPoolManager.java | 118 ++
.../compaction/CompactionStrategy.java} | 21 +-
.../db/engine/compaction/TsFileManagement.java | 397 +++++
.../level/LevelCompactionTsFileManagement.java | 532 ++++++
.../no/NoCompactionTsFileManagement.java | 171 ++
.../compaction/utils/CompactionLogAnalyzer.java | 123 ++
.../engine/compaction/utils/CompactionLogger.java | 87 +
.../engine/compaction/utils/CompactionUtils.java | 302 ++++
.../db/engine/fileSystem/SystemFileFactory.java | 15 +-
.../flush/CloseFileListener.java} | 14 +-
.../flush/FlushListener.java} | 28 +-
.../apache/iotdb/db/engine/flush/FlushManager.java | 12 +-
.../iotdb/db/engine/flush/FlushManagerMBean.java | 1 -
.../iotdb/db/engine/flush/MemTableFlushTask.java | 55 +-
.../iotdb/db/engine/flush/TsFileFlushPolicy.java | 6 +-
.../db/engine/flush/pool/AbstractPoolManager.java | 8 +-
.../engine/flush/pool/FlushSubTaskPoolManager.java | 5 +-
.../db/engine/flush/pool/FlushTaskPoolManager.java | 5 +-
.../iotdb/db/engine/memtable/AbstractMemTable.java | 118 +-
.../apache/iotdb/db/engine/memtable/IMemTable.java | 45 +-
.../db/engine/memtable/IWritableMemChunk.java | 13 +-
.../db/engine/memtable/PrimitiveMemTable.java | 4 +-
.../iotdb/db/engine/memtable/WritableMemChunk.java | 31 -
.../iotdb/db/engine/merge/manage/MergeContext.java | 8 +-
.../iotdb/db/engine/merge/manage/MergeManager.java | 69 +-
.../db/engine/merge/manage/MergeResource.java | 28 +-
.../iotdb/db/engine/merge/recover/LogAnalyzer.java | 72 +-
.../iotdb/db/engine/merge/recover/MergeLogger.java | 12 +-
.../engine/merge/selector/IMergePathSelector.java | 4 +-
.../merge/selector/MaxFileMergeFileSelector.java | 6 +-
.../engine/merge/selector/NaivePathSelector.java | 10 +-
.../iotdb/db/engine/merge/task/MergeFileTask.java | 92 +-
.../db/engine/merge/task/MergeMultiChunkTask.java | 26 +-
.../iotdb/db/engine/merge/task/MergeTask.java | 30 +-
.../db/engine/merge/task/RecoverMergeTask.java | 16 +-
.../iotdb/db/engine/modification/Deletion.java | 6 +-
.../iotdb/db/engine/modification/Modification.java | 10 +-
.../db/engine/modification/ModificationFile.java | 3 +-
.../io/LocalTextModificationAccessor.java | 18 +-
.../engine/modification/io/ModificationReader.java | 1 -
.../engine/modification/io/ModificationWriter.java | 1 -
.../db/engine/querycontext/QueryDataSource.java | 11 +-
.../db/engine/querycontext/ReadOnlyMemChunk.java | 9 +-
.../db/engine/storagegroup/StorageGroupInfo.java | 105 ++
.../engine/storagegroup/StorageGroupProcessor.java | 1207 ++++++-------
.../iotdb/db/engine/storagegroup/TsFileLock.java | 10 +-
.../db/engine/storagegroup/TsFileProcessor.java | 543 ++++--
.../engine/storagegroup/TsFileProcessorInfo.java | 65 +
.../db/engine/storagegroup/TsFileResource.java | 233 ++-
.../iotdb/db/engine/upgrade/UpgradeTask.java | 62 +-
.../version/SimpleFileVersionController.java | 5 +-
.../iotdb/db/engine/version/VersionController.java | 8 +-
...ception.java => DataTypeMismatchException.java} | 14 +-
.../exception/metadata/PathNotExistException.java | 14 +-
.../exception/query/PathNumOverLimitException.java | 35 +
.../db/exception/runtime/SQLParserException.java | 5 +-
.../org/apache/iotdb/db/metadata/MLogWriter.java | 115 +-
.../org/apache/iotdb/db/metadata/MManager.java | 1821 +++++++++-----------
.../java/org/apache/iotdb/db/metadata/MTree.java | 858 +++++----
.../apache/iotdb/db/metadata/MeasurementMeta.java | 83 +
.../org/apache/iotdb/db/metadata/MetaUtils.java | 79 +-
.../org/apache/iotdb/db/metadata/PartialPath.java | 274 +++
.../org/apache/iotdb/db/metadata/TagLogFile.java | 15 +-
.../org/apache/iotdb/db/metadata/mnode/MNode.java | 139 +-
.../iotdb/db/metadata/mnode/MeasurementMNode.java | 19 +-
.../apache/iotdb/db/metrics/server/JettyUtil.java | 34 +-
.../iotdb/db/metrics/server/MetricsSystem.java | 28 +-
.../iotdb/db/metrics/server/QueryServlet.java | 28 +-
.../iotdb/db/metrics/server/ServerArgument.java | 65 +-
.../iotdb/db/metrics/server/SqlArgument.java | 26 +-
.../apache/iotdb/db/metrics/sink/ConsoleSink.java | 28 +-
.../iotdb/db/metrics/sink/MetricsServletSink.java | 32 +-
.../org/apache/iotdb/db/metrics/sink/Sink.java | 26 +-
.../apache/iotdb/db/metrics/source/JvmSource.java | 40 +-
.../iotdb/db/metrics/source/MetricsSource.java | 52 +-
.../org/apache/iotdb/db/metrics/source/Source.java | 26 +-
.../apache/iotdb/db/metrics/ui/MetricsPage.java | 39 +-
.../apache/iotdb/db/metrics/ui/MetricsWebUI.java | 28 +-
.../org/apache/iotdb/db/monitor/IStatistic.java | 1 -
.../apache/iotdb/db/monitor/MonitorConstants.java | 11 +-
.../org/apache/iotdb/db/monitor/StatMonitor.java | 33 +-
.../apache/iotdb/db/mqtt/BrokerAuthenticator.java | 2 +-
.../apache/iotdb/db/mqtt/JSONPayloadFormatter.java | 28 +-
.../apache/iotdb/db/mqtt/PayloadFormatManager.java | 1 -
.../org/apache/iotdb/db/mqtt/PayloadFormatter.java | 1 -
.../org/apache/iotdb/db/mqtt/PublishHandler.java | 6 +-
.../main/java/org/apache/iotdb/db/qp/Planner.java | 106 +-
.../apache/iotdb/db/qp/constant/DatetimeUtils.java | 17 +-
.../apache/iotdb/db/qp/constant/SQLConstant.java | 33 +-
.../apache/iotdb/db/qp/executor/IPlanExecutor.java | 7 +-
.../apache/iotdb/db/qp/executor/PlanExecutor.java | 606 ++++---
.../org/apache/iotdb/db/qp/logical/Operator.java | 3 +-
.../db/qp/logical/crud/BasicFunctionOperator.java | 10 +-
.../db/qp/logical/crud/BasicOperatorType.java | 14 +-
.../iotdb/db/qp/logical/crud/FilterOperator.java | 26 +-
.../iotdb/db/qp/logical/crud/FromOperator.java | 8 +-
.../iotdb/db/qp/logical/crud/InOperator.java | 10 +-
.../iotdb/db/qp/logical/crud/QueryOperator.java | 23 +-
.../iotdb/db/qp/logical/crud/SFWOperator.java | 6 +-
.../iotdb/db/qp/logical/crud/SelectOperator.java | 15 +-
.../db/qp/logical/sys/AlterTimeSeriesOperator.java | 11 +-
.../iotdb/db/qp/logical/sys/AuthorOperator.java | 8 +-
.../iotdb/db/qp/logical/sys/CountOperator.java | 10 +-
.../qp/logical/sys/CreateTimeSeriesOperator.java | 17 +-
.../db/qp/logical/sys/DeletePartitionOperator.java | 7 +-
.../qp/logical/sys/DeleteStorageGroupOperator.java | 9 +-
.../qp/logical/sys/DeleteTimeSeriesOperator.java | 9 +-
.../iotdb/db/qp/logical/sys/FlushOperator.java | 8 +-
.../db/qp/logical/sys/SetStorageGroupOperator.java | 8 +-
.../iotdb/db/qp/logical/sys/SetTTLOperator.java | 7 +-
.../db/qp/logical/sys/ShowChildPathsOperator.java | 8 +-
.../db/qp/logical/sys/ShowDevicesOperator.java | 8 +-
...Operator.java => ShowStorageGroupOperator.java} | 72 +-
.../iotdb/db/qp/logical/sys/ShowTTLOperator.java | 8 +-
.../db/qp/logical/sys/ShowTimeSeriesOperator.java | 8 +-
.../apache/iotdb/db/qp/physical/PhysicalPlan.java | 51 +-
.../db/qp/physical/crud/AlignByDevicePlan.java | 17 +-
.../db/qp/physical/crud/DeletePartitionPlan.java | 13 +-
.../iotdb/db/qp/physical/crud/DeletePlan.java | 34 +-
.../db/qp/physical/crud/GroupByTimeFillPlan.java | 3 +-
.../iotdb/db/qp/physical/crud/InsertPlan.java | 84 +-
.../iotdb/db/qp/physical/crud/InsertRowPlan.java | 140 +-
.../db/qp/physical/crud/InsertTabletPlan.java | 204 ++-
.../iotdb/db/qp/physical/crud/LastQueryPlan.java | 25 +
.../iotdb/db/qp/physical/crud/QueryPlan.java | 26 +-
.../db/qp/physical/crud/RawDataQueryPlan.java | 12 +-
.../iotdb/db/qp/physical/crud/UpdatePlan.java | 33 +-
.../db/qp/physical/sys/AlterTimeSeriesPlan.java | 152 +-
.../iotdb/db/qp/physical/sys/AuthorPlan.java | 40 +-
.../iotdb/db/qp/physical/sys/ClearCachePlan.java | 8 +-
.../apache/iotdb/db/qp/physical/sys/CountPlan.java | 10 +-
.../qp/physical/sys/CreateMultiTimeSeriesPlan.java | 309 ++++
.../db/qp/physical/sys/CreateSnapshotPlan.java | 9 +-
.../db/qp/physical/sys/CreateTimeSeriesPlan.java | 35 +-
.../iotdb/db/qp/physical/sys/DataAuthPlan.java | 11 +-
.../db/qp/physical/sys/DeleteStorageGroupPlan.java | 24 +-
.../db/qp/physical/sys/DeleteTimeSeriesPlan.java | 28 +-
.../apache/iotdb/db/qp/physical/sys/FlushPlan.java | 213 ++-
.../db/qp/physical/sys/LoadConfigurationPlan.java | 10 +-
.../iotdb/db/qp/physical/sys/LoadDataPlan.java | 14 +-
.../apache/iotdb/db/qp/physical/sys/MergePlan.java | 9 +-
.../iotdb/db/qp/physical/sys/OperateFilePlan.java | 7 +-
.../db/qp/physical/sys/SetStorageGroupPlan.java | 32 +-
.../iotdb/db/qp/physical/sys/SetTTLPlan.java | 32 +-
.../db/qp/physical/sys/ShowChildPathsPlan.java | 8 +-
.../iotdb/db/qp/physical/sys/ShowDevicesPlan.java | 8 +-
.../apache/iotdb/db/qp/physical/sys/ShowPlan.java | 11 +-
...wDevicesPlan.java => ShowStorageGroupPlan.java} | 71 +-
.../iotdb/db/qp/physical/sys/ShowTTLPlan.java | 10 +-
.../db/qp/physical/sys/ShowTimeSeriesPlan.java | 19 +-
.../iotdb/db/qp/physical/sys/TracingPlan.java | 8 +-
.../iotdb/db/qp/strategy/LogicalGenerator.java | 284 +--
.../iotdb/db/qp/strategy/PhysicalGenerator.java | 305 ++--
.../qp/strategy/optimizer/ConcatPathOptimizer.java | 212 +--
.../qp/strategy/optimizer/ILogicalOptimizer.java | 4 +-
.../optimizer/MergeSingleFilterOptimizer.java | 24 +-
.../db/query/aggregation/AggregateResult.java | 45 +-
.../db/query/aggregation/impl/AvgAggrResult.java | 13 +-
.../db/query/aggregation/impl/CountAggrResult.java | 6 +-
.../aggregation/impl/FirstValueAggrResult.java | 25 +-
...grResult.java => FirstValueDescAggrResult.java} | 68 +-
.../aggregation/impl/LastValueAggrResult.java | 19 +-
...ggrResult.java => LastValueDescAggrResult.java} | 71 +-
.../query/aggregation/impl/MaxTimeAggrResult.java | 28 +-
...eAggrResult.java => MaxTimeDescAggrResult.java} | 76 +-
.../query/aggregation/impl/MaxValueAggrResult.java | 18 +-
.../query/aggregation/impl/MinTimeAggrResult.java | 28 +-
...tAggrResult.java => MinTimeDescAggrResult.java} | 65 +-
.../query/aggregation/impl/MinValueAggrResult.java | 17 +-
.../db/query/aggregation/impl/SumAggrResult.java | 9 +-
.../iotdb/db/query/context/QueryContext.java | 7 +-
.../iotdb/db/query/control/FileReaderManager.java | 31 +-
.../iotdb/db/query/control/QueryFileManager.java | 12 +-
.../db/query/control/QueryResourceManager.java | 75 +-
.../iotdb/db/query/control/TracingManager.java | 85 +-
.../db/query/dataset/AlignByDeviceDataSet.java | 32 +-
.../apache/iotdb/db/query/dataset/ListDataSet.java | 10 +-
.../db/query/dataset/NonAlignEngineDataSet.java | 24 +-
.../dataset/RawQueryDataSetWithValueFilter.java | 17 +-
.../dataset/RawQueryDataSetWithoutValueFilter.java | 44 +-
.../db/query/dataset/ShowTimeSeriesResult.java | 81 +-
.../db/query/dataset/ShowTimeseriesDataSet.java | 89 +-
.../iotdb/db/query/dataset/SingleDataSet.java | 7 +-
.../dataset/groupby/GroupByEngineDataSet.java | 49 +-
.../db/query/dataset/groupby/GroupByExecutor.java | 8 +-
.../query/dataset/groupby/GroupByFillDataSet.java | 117 +-
.../query/dataset/groupby/GroupByTimeDataSet.java | 15 +-
.../groupby/GroupByWithValueFilterDataSet.java | 129 +-
.../groupby/GroupByWithoutValueFilterDataSet.java | 76 +-
.../dataset/groupby/LocalGroupByExecutor.java | 152 +-
.../db/query/executor/AggregationExecutor.java | 143 +-
.../iotdb/db/query/executor/FillQueryExecutor.java | 19 +-
.../iotdb/db/query/executor/IQueryRouter.java | 10 +-
.../iotdb/db/query/executor/LastQueryExecutor.java | 178 +-
.../iotdb/db/query/executor/QueryRouter.java | 47 +-
.../db/query/executor/RawDataQueryExecutor.java | 74 +-
.../apache/iotdb/db/query/executor/fill/IFill.java | 4 +-
.../db/query/executor/fill/LastPointReader.java | 10 +-
.../iotdb/db/query/executor/fill/LinearFill.java | 25 +-
.../iotdb/db/query/executor/fill/PreviousFill.java | 11 +-
.../query/externalsort/ExternalSortJobEngine.java | 7 +-
.../iotdb/db/query/externalsort/LineMerger.java | 2 +-
.../externalsort/SimpleExternalSortEngine.java | 11 +-
.../SingleSourceExternalSortJobPart.java | 2 +-
.../adapter/ByTimestampReaderAdapter.java | 2 +-
.../serialize/IExternalSortFileDeserializer.java | 2 +-
.../FixLengthIExternalSortFileDeserializer.java | 79 +-
.../impl/FixLengthTimeValuePairSerializer.java | 2 +-
.../db/query/factory/AggregateResultFactory.java | 54 +-
.../db/query/reader/chunk/ChunkDataIterator.java | 5 +-
.../db/query/reader/chunk/ChunkReaderWrap.java | 3 +-
.../db/query/reader/chunk/DiskChunkLoader.java | 2 +-
.../reader/chunk/DiskChunkReaderByTimestamp.java | 3 +-
.../db/query/reader/chunk/MemChunkLoader.java | 3 +-
.../db/query/reader/chunk/MemChunkReader.java | 35 +-
.../iotdb/db/query/reader/chunk/MemPageReader.java | 38 +-
.../chunk/metadata/DiskChunkMetadataLoader.java | 33 +-
.../chunk/metadata/MemChunkMetadataLoader.java | 14 +-
.../resource/CachedUnseqResourceMergeReader.java | 5 +-
.../db/query/reader/series/IAggregateReader.java | 4 +-
.../db/query/reader/series/IReaderByTimestamp.java | 15 +-
.../query/reader/series/SeriesAggregateReader.java | 19 +-
.../reader/series/SeriesRawDataBatchReader.java | 15 +-
.../reader/series/SeriesRawDataPointReader.java | 3 +-
.../iotdb/db/query/reader/series/SeriesReader.java | 577 +++++--
.../reader/series/SeriesReaderByTimestamp.java | 38 +-
.../universal/CachedPriorityMergeReader.java | 2 +-
.../universal/DescPriorityMergeReader.java} | 30 +-
.../reader/universal/PriorityMergeReader.java | 32 +-
.../query/timegenerator/ServerTimeGenerator.java | 57 +-
.../CachedStringPool.java} | 30 +-
.../org/apache/iotdb/db/rescon/MemTablePool.java | 115 --
.../iotdb/db/rescon/PrimitiveArrayManager.java | 322 ++++
.../apache/iotdb/db/rescon/PrimitiveArrayPool.java | 166 --
.../org/apache/iotdb/db/rescon/SystemInfo.java | 185 ++
.../apache/iotdb/db/rescon/TVListAllocator.java | 4 +-
.../java/org/apache/iotdb/db/service/IoTDB.java | 42 +-
.../org/apache/iotdb/db/service/MQTTService.java | 5 +-
.../iotdb/db/service/MetricsServiceMBean.java | 26 +-
.../org/apache/iotdb/db/service/RPCService.java | 21 +-
.../apache/iotdb/db/service/RegisterManager.java | 1 -
.../org/apache/iotdb/db/service/ServiceType.java | 2 +-
.../org/apache/iotdb/db/service/StaticResps.java | 14 +-
.../org/apache/iotdb/db/service/TSServiceImpl.java | 575 ++++--
.../iotdb/db/service/thrift/ThriftService.java | 3 +-
.../db/service/thrift/ThriftServiceThread.java | 10 +-
.../iotdb/db/sync/receiver/load/FileLoader.java | 12 +-
.../db/sync/receiver/load/FileLoaderManager.java | 3 +-
.../receiver/recover/SyncReceiverLogAnalyzer.java | 3 +-
.../db/sync/receiver/transfer/SyncServiceImpl.java | 36 +-
.../db/sync/sender/manage/SyncFileManager.java | 42 +-
.../iotdb/db/sync/sender/transfer/SyncClient.java | 8 +-
.../apache/iotdb/db/tools/IoTDBDataDirViewer.java | 12 +-
.../iotdb/db/tools/TsFileResourcePrinter.java | 3 +-
.../apache/iotdb/db/tools/TsFileSketchTool.java | 255 ++-
.../java/org/apache/iotdb/db/tools/WalChecker.java | 1 -
.../apache/iotdb/db/tools/logvisual/LogEntry.java | 146 --
.../apache/iotdb/db/tools/logvisual/LogFilter.java | 220 ---
.../iotdb/db/tools/logvisual/LogVisualizer.java | 437 -----
.../iotdb/db/tools/logvisual/PatternLogParser.java | 197 ---
.../db/tools/logvisual/TimeSeriesStatistics.java | 113 --
.../iotdb/db/tools/logvisual/VisualUtils.java | 69 -
.../db/tools/logvisual/VisualizationPlan.java | 259 ---
.../db/tools/logvisual/conf/GuiPropertyKeys.java | 48 -
.../logvisual/exceptions/NoSuchPlanException.java | 28 -
.../exceptions/UnmatchedContentException.java | 28 -
.../db/tools/logvisual/gui/ClosableComboTab.java | 42 -
.../iotdb/db/tools/logvisual/gui/ClosableTab.java | 55 -
.../db/tools/logvisual/gui/FileSelectionBox.java | 109 --
.../db/tools/logvisual/gui/LabeledComboBox.java | 63 -
.../iotdb/db/tools/logvisual/gui/LoadLogBox.java | 62 -
.../tools/logvisual/gui/LogVisualizationGui.java | 182 --
.../iotdb/db/tools/logvisual/gui/MainPanel.java | 107 --
.../iotdb/db/tools/logvisual/gui/PlanBox.java | 301 ----
.../db/tools/logvisual/gui/PlanDetailPanel.java | 242 ---
.../db/tools/logvisual/gui/ResultPlotTab.java | 49 -
.../db/tools/logvisual/gui/ResultStatisticTab.java | 74 -
.../iotdb/db/tools/memestimation/MemEstTool.java | 93 -
.../db/tools/memestimation/MemEstToolCmd.java | 120 --
.../db/tools/upgrade/TsFileOnlineUpgradeTool.java | 1 +
.../db/tools/watermark/WatermarkDetector.java | 94 +-
.../org/apache/iotdb/db/utils/CommonUtils.java | 23 +-
.../iotdb/db/utils/EncodingInferenceUtils.java | 57 +
.../org/apache/iotdb/db/utils/FileLoaderUtils.java | 17 +-
.../org/apache/iotdb/db/utils/FilePathUtils.java | 23 +-
.../java/org/apache/iotdb/db/utils/MathUtils.java | 1 -
.../java/org/apache/iotdb/db/utils/MemUtils.java | 29 +-
.../java/org/apache/iotdb/db/utils/MergeUtils.java | 54 +-
.../org/apache/iotdb/db/utils/OpenFileNumUtil.java | 10 +-
.../apache/iotdb/db/utils/QueryDataSetUtils.java | 15 +-
.../java/org/apache/iotdb/db/utils/QueryUtils.java | 107 +-
.../org/apache/iotdb/db/utils/SchemaUtils.java | 139 +-
.../org/apache/iotdb/db/utils/SerializeUtils.java | 4 +-
.../apache/iotdb/db/utils/TypeInferenceUtils.java | 12 +-
.../org/apache/iotdb/db/utils/UpgradeUtils.java | 17 +-
.../iotdb/db/utils/datastructure/BinaryTVList.java | 52 +-
.../db/utils/datastructure/BooleanTVList.java | 53 +-
.../iotdb/db/utils/datastructure/DoubleTVList.java | 53 +-
.../iotdb/db/utils/datastructure/FloatTVList.java | 52 +-
.../iotdb/db/utils/datastructure/IntTVList.java | 52 +-
.../iotdb/db/utils/datastructure/LongTVList.java | 52 +-
.../iotdb/db/utils/datastructure/TVList.java | 66 +-
.../WALFlushListener.java} | 40 +-
.../iotdb/db/writelog/io/BatchLogReader.java | 3 +-
.../writelog/manager/MultiFileLogNodeManager.java | 36 +-
.../db/writelog/node/ExclusiveWriteLogNode.java | 3 +-
.../iotdb/db/writelog/recover/LogReplayer.java | 82 +-
.../writelog/recover/TsFileRecoverPerformer.java | 151 +-
.../db/auth/authorizer/OpenIdAuthorizerTest.java | 18 +-
.../apache/iotdb/db/conf/IoTDBDescriptorTest.java | 76 +
.../conf/adapter/ActiveTimeSeriesCounterTest.java | 125 --
.../db/conf/adapter/CompressionRatioTest.java | 1 -
.../iotdb/db/conf/adapter/HyperLogLogTest.java | 65 -
.../adapter/IoTDBConfigDynamicAdapterTest.java | 138 --
.../org/apache/iotdb/db/constant/TestConstant.java | 16 +-
.../iotdb/db/engine/MetadataManagerHelper.java | 43 +-
.../db/engine/cache/ChunkMetadataCacheTest.java | 47 +-
.../db/engine/memtable/MemTableFlushTaskTest.java | 8 +-
.../iotdb/db/engine/memtable/MemTablePoolTest.java | 81 -
.../db/engine/memtable/MemtableBenchmark.java | 3 +-
.../db/engine/memtable/PrimitiveMemTableTest.java | 10 +-
.../apache/iotdb/db/engine/merge/MergeLogTest.java | 5 +-
.../iotdb/db/engine/merge/MergeManagerTest.java | 12 +
.../iotdb/db/engine/merge/MergeOverLapTest.java | 25 +-
.../iotdb/db/engine/merge/MergePerfTest.java | 2 +-
.../iotdb/db/engine/merge/MergeTaskTest.java | 52 +-
.../apache/iotdb/db/engine/merge/MergeTest.java | 35 +-
.../iotdb/db/engine/merge/MergeUpgradeTest.java | 6 +-
.../engine/modification/DeletionFileNodeTest.java | 109 +-
.../db/engine/modification/DeletionQueryTest.java | 152 +-
.../engine/modification/ModificationFileTest.java | 19 +-
.../io/LocalTextModificationAccessorTest.java | 9 +-
.../storagegroup/FileNodeManagerBenchmark.java | 11 +-
.../storagegroup/StorageGroupProcessorTest.java | 435 ++++-
.../iotdb/db/engine/storagegroup/TTLTest.java | 126 +-
.../engine/storagegroup/TsFileProcessorTest.java | 190 +-
.../version/SysTimeVersionControllerTest.java | 1 +
.../iotdb/db/integration/IOTDBGroupByIT.java | 239 ++-
.../integration/IOTDBGroupByInnerIntervalIT.java | 262 +--
.../apache/iotdb/db/integration/IOTDBInsertIT.java | 123 ++
.../iotdb/db/integration/IoTDBAddSubDeviceIT.java | 20 +-
.../IoTDBAggregationAlignByDeviceIT.java | 113 --
.../iotdb/db/integration/IoTDBAggregationIT.java | 234 ++-
.../integration/IoTDBAggregationLargeDataIT.java | 501 ++++--
.../apache/iotdb/db/integration/IoTDBAliasIT.java | 49 +-
.../iotdb/db/integration/IoTDBAlignByDeviceIT.java | 689 ++++----
.../org/apache/iotdb/db/integration/IoTDBAsIT.java | 603 +++++++
.../iotdb/db/integration/IoTDBAuthorizationIT.java | 1290 +++++++-------
.../apache/iotdb/db/integration/IoTDBCloseIT.java | 112 +-
.../db/integration/IoTDBCreateSnapshotIT.java | 39 +-
.../apache/iotdb/db/integration/IoTDBDaemonIT.java | 28 +-
.../db/integration/IoTDBDeleteStorageGroupIT.java | 104 +-
.../db/integration/IoTDBDeleteTimeseriesIT.java | 184 ++
.../iotdb/db/integration/IoTDBDeletionIT.java | 29 +
.../iotdb/db/integration/IoTDBDisableAlignIT.java | 178 +-
.../db/integration/IoTDBEngineTimeGeneratorIT.java | 24 +-
.../apache/iotdb/db/integration/IoTDBFillIT.java | 283 +--
.../db/integration/IoTDBFlushQueryMergeIT.java | 67 +-
.../iotdb/db/integration/IoTDBGroupByFillIT.java | 610 ++++---
.../integration/IoTDBGroupByFillWithRangeIT.java | 21 +-
.../iotdb/db/integration/IoTDBLargeDataIT.java | 23 +-
.../apache/iotdb/db/integration/IoTDBLastIT.java | 232 ++-
.../db/integration/IoTDBLoadExternalTsfileIT.java | 166 +-
.../iotdb/db/integration/IoTDBMergeTest.java | 77 +-
.../iotdb/db/integration/IoTDBMetadataFetchIT.java | 252 ++-
.../IoTDBMultiOverlappedChunkInUnseqIT.java | 9 +-
.../db/integration/IoTDBMultiOverlappedPageIT.java | 20 +-
.../iotdb/db/integration/IoTDBMultiSeriesIT.java | 59 +-
.../db/integration/IoTDBMultiStatementsIT.java | 92 +-
.../iotdb/db/integration/IoTDBNumberPathIT.java | 13 +-
.../db/integration/IoTDBOverlappedPageIT.java | 12 +-
.../iotdb/db/integration/IoTDBQueryDemoIT.java | 191 +-
.../db/integration/IoTDBQueryMemoryControlIT.java | 289 ++++
.../iotdb/db/integration/IoTDBQuotedPathIT.java | 152 +-
.../iotdb/db/integration/IoTDBRecoverIT.java | 75 +-
.../db/integration/IoTDBRemovePartitionIT.java | 28 +-
.../iotdb/db/integration/IoTDBRestartIT.java | 149 +-
.../iotdb/db/integration/IoTDBResultSetIT.java | 124 ++
.../db/integration/IoTDBSequenceDataQueryIT.java | 60 +-
.../iotdb/db/integration/IoTDBSeriesReaderIT.java | 72 +-
.../iotdb/db/integration/IoTDBSimpleQueryIT.java | 408 +++--
.../integration/IoTDBSortedShowTimeseriesIT.java | 150 +-
.../iotdb/db/integration/IoTDBTagAlterIT.java | 424 ++---
.../apache/iotdb/db/integration/IoTDBTagIT.java | 758 ++++----
.../iotdb/db/integration/IoTDBTimeZoneIT.java | 12 +-
.../iotdb/db/integration/IoTDBTracingTest.java | 6 +-
.../apache/iotdb/db/integration/IoTDBTtlIT.java | 22 +-
.../iotdb/db/metadata/MManagerAdvancedTest.java | 117 +-
.../iotdb/db/metadata/MManagerBasicTest.java | 328 ++--
.../iotdb/db/metadata/MManagerImproveTest.java | 61 +-
.../org/apache/iotdb/db/metadata/MTreeTest.java | 367 ++--
.../apache/iotdb/db/metadata/MetaUtilsTest.java | 65 +
.../apache/iotdb/db/metadata/PartialPathTest.java | 99 ++
.../java/org/apache/iotdb/db/qp/PlannerTest.java | 39 +-
.../iotdb/db/qp/other/TSPlanContextAuthorTest.java | 7 +-
.../iotdb/db/qp/plan/ConcatOptimizerTest.java | 31 +-
.../iotdb/db/qp/plan/LogicalPlanSmallTest.java | 113 +-
.../apache/iotdb/db/qp/plan/PhysicalPlanTest.java | 142 +-
.../apache/iotdb/db/qp/plan/SerializationTest.java | 81 +-
.../db/query/aggregation/AggregateResultTest.java | 94 +-
.../db/query/control/FileReaderManagerTest.java | 4 +-
.../dataset/EngineDataSetWithValueFilterTest.java | 25 +-
.../db/query/dataset/GroupByFillDataSetTest.java | 188 ++
.../db/query/dataset/GroupByLevelDataSetTest.java | 7 +
.../db/query/dataset/GroupByTimeDataSetTest.java | 150 +-
.../query/executor/GroupByEngineDataSetTest.java | 11 +-
.../iotdb/db/query/reader/ReaderTestHelper.java | 69 -
.../reader/series/SeriesAggregateReaderTest.java | 20 +-
.../reader/series/SeriesReaderByTimestampTest.java | 15 +-
.../db/query/reader/series/SeriesReaderTest.java | 49 +-
.../query/reader/series/SeriesReaderTestUtil.java | 28 +-
.../apache/iotdb/db/sql/CheckPathValidityTest.java | 52 -
.../db/sync/receiver/load/FileLoaderTest.java | 60 +-
.../recover/SyncReceiverLogAnalyzerTest.java | 39 +-
.../db/sync/sender/manage/SyncFileManagerTest.java | 3 +-
.../sender/recover/SyncSenderLogAnalyzerTest.java | 7 +-
.../apache/iotdb/db/tools/IoTDBWatermarkTest.java | 74 +-
.../org/apache/iotdb/db/tools/WalCheckerTest.java | 17 +-
.../apache/iotdb/db/utils/EnvironmentUtils.java | 133 +-
.../iotdb/db/utils/TypeInferenceUtilsTest.java | 11 +-
.../db/utils/datastructure/LongTVListTest.java | 18 +-
.../db/utils/datastructure/PrecisionTest.java | 2 +-
.../apache/iotdb/db/writelog/PerformanceTest.java | 26 +-
.../iotdb/db/writelog/WriteLogNodeManagerTest.java | 8 +-
.../apache/iotdb/db/writelog/WriteLogNodeTest.java | 35 +-
.../iotdb/db/writelog/io/LogWriterReaderTest.java | 11 +-
.../db/writelog/io/MultiFileLogReaderTest.java | 6 +-
.../db/writelog/recover/DeviceStringTest.java | 16 +-
.../iotdb/db/writelog/recover/LogReplayerTest.java | 119 +-
.../recover/RecoverResourceFromReaderTest.java | 41 +-
.../db/writelog/recover/SeqTsFileRecoverTest.java | 52 +-
.../writelog/recover/UnseqTsFileRecoverTest.java | 46 +-
.../java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java | 24 +-
.../java/org/apache/iotdb/rpc/TSStatusCode.java | 3 +
.../main/java/org/apache/iotdb/session/Config.java | 3 +-
.../java/org/apache/iotdb/session/Session.java | 257 ++-
.../org/apache/iotdb/session/SessionDataSet.java | 10 +-
.../org/apache/iotdb/session/SessionUtils.java | 1 +
.../org/apache/iotdb/session/pool/SessionPool.java | 60 +-
.../iotdb/session/IoTDBSessionComplexIT.java | 782 +++++++++
.../org/apache/iotdb/session/IoTDBSessionIT.java | 1272 --------------
.../apache/iotdb/session/IoTDBSessionSimpleIT.java | 288 ++++
.../java/org/apache/iotdb/session/SessionUT.java | 274 +--
.../apache/iotdb/session/pool/SessionPoolTest.java | 73 +-
site/README-zh.md | 6 +-
site/README.md | 2 +
site/iotdb-doap.rdf | 14 +-
site/pom.xml | 20 +-
site/src/main/.vuepress/config.js | 17 +-
site/src/main/.vuepress/theme/components/Page.vue | 5 +-
.../theme/global-components/Contributor.vue | 13 +-
.../.vuepress/theme/global-components/IoTDB.vue | 23 +-
.../.vuepress/theme/global-components/IoTDBZH.vue | 25 +-
site/src/main/deploy.js | 2 +-
site/src/main/package.json | 11 +-
spark-iotdb-connector/pom.xml | 5 -
.../scala/org/apache/iotdb/spark/db/IoTDBRDD.scala | 4 +-
.../apache/iotdb/spark/db/EnvironmentUtils.java | 22 +-
spark-tsfile/README.md | 4 +-
.../iotdb/spark/tsfile/qp/QueryProcessor.java | 2 +
.../qp/optimizer/MergeSingleFilterOptimizer.java | 1 +
.../tsfile/qp/optimizer/PhysicalOptimizer.java | 2 +
.../apache/iotdb/spark/tsfile/DefaultSource.scala | 2 +-
.../iotdb/spark/tsfile/NarrowConverter.scala | 71 +-
.../apache/iotdb/spark/tsfile/WideConverter.scala | 54 +-
thrift/pom.xml | 103 --
thrift/rpc-changelist.md | 4 +-
thrift/src/main/thrift/cluster.thrift | 17 +
thrift/src/main/thrift/rpc.thrift | 50 +-
tools/common.sh | 8 +-
tools/download_staged_release.sh | 8 +-
tsfile/pom.xml | 28 +-
.../iotdb/tsfile/common/conf/TSFileConfig.java | 32 +-
.../tsfile/common/constant/TsFileConstant.java | 5 +-
.../iotdb/tsfile/compress/IUnCompressor.java | 9 +-
.../tsfile/encoding/common/EncodingConfig.java | 42 -
.../iotdb/tsfile/encoding/decoder/Decoder.java | 142 +-
...nDecoder.java => DoublePrecisionDecoderV1.java} | 20 +-
.../encoding/decoder/DoublePrecisionDecoderV2.java | 51 +
.../{GorillaDecoder.java => GorillaDecoderV1.java} | 15 +-
.../tsfile/encoding/decoder/GorillaDecoderV2.java | 120 ++
.../tsfile/encoding/decoder/IntGorillaDecoder.java | 88 +
.../encoding/decoder/LongGorillaDecoder.java | 87 +
...nDecoder.java => SinglePrecisionDecoderV1.java} | 21 +-
.../encoding/decoder/SinglePrecisionDecoderV2.java | 51 +
...nEncoder.java => DoublePrecisionEncoderV1.java} | 17 +-
.../encoding/encoder/DoublePrecisionEncoderV2.java | 53 +
.../{GorillaEncoder.java => GorillaEncoderV1.java} | 18 +-
.../tsfile/encoding/encoder/GorillaEncoderV2.java | 106 ++
.../tsfile/encoding/encoder/IntGorillaEncoder.java | 152 ++
.../encoding/encoder/LongGorillaEncoder.java | 152 ++
.../iotdb/tsfile/encoding/encoder/RleEncoder.java | 1 +
...nEncoder.java => SinglePrecisionEncoderV1.java} | 16 +-
.../encoding/encoder/SinglePrecisionEncoderV2.java | 53 +
.../tsfile/encoding/encoder/TSEncodingBuilder.java | 61 +-
.../iotdb/tsfile/file/header/ChunkHeader.java | 32 +-
.../iotdb/tsfile/file/metadata/ChunkMetadata.java | 35 +-
.../file/metadata/MetadataIndexConstructor.java | 1 +
.../tsfile/file/metadata/MetadataIndexNode.java | 20 +-
.../tsfile/file/metadata/TimeseriesMetadata.java | 13 +-
.../file/metadata/enums/CompressionType.java | 74 +-
.../tsfile/file/metadata/enums/TSDataType.java | 59 +-
.../tsfile/file/metadata/enums/TSEncoding.java | 51 +-
.../file/metadata/statistics/BinaryStatistics.java | 22 +-
.../metadata/statistics/BooleanStatistics.java | 2 +-
.../file/metadata/statistics/DoubleStatistics.java | 2 +-
.../file/metadata/statistics/FloatStatistics.java | 2 +-
.../metadata/statistics/IntegerStatistics.java | 2 +-
.../file/metadata/statistics/LongStatistics.java | 2 +-
.../file/metadata/statistics/Statistics.java | 24 +
.../fileOutputFactory/HDFSOutputFactory.java | 3 +-
.../tsfile/fileSystem/fsFactory/HDFSFactory.java | 12 +-
.../iotdb/tsfile/read/TsFileCheckStatus.java | 1 -
.../iotdb/tsfile/read/TsFileSequenceReader.java | 245 ++-
.../apache/iotdb/tsfile/read/common/BatchData.java | 53 +-
.../iotdb/tsfile/read/common/BatchDataFactory.java | 26 +-
.../org/apache/iotdb/tsfile/read/common/Chunk.java | 9 +
.../iotdb/tsfile/read/common/DescBatchData.java | 77 +
.../org/apache/iotdb/tsfile/read/common/Path.java | 206 +--
.../iotdb/tsfile/read/common/TimeColumn.java | 111 --
.../apache/iotdb/tsfile/read/common/TimeRange.java | 11 +-
.../read/controller/IChunkMetadataLoader.java | 4 +-
.../read/controller/MetadataQuerierByFileImpl.java | 2 +
.../iotdb/tsfile/read/filter/GroupByFilter.java | 6 +-
.../iotdb/tsfile/read/filter/TimeFilter.java | 2 +-
.../query/dataset/DataSetWithoutTimeGenerator.java | 1 +
.../tsfile/read/query/dataset/QueryDataSet.java | 8 +
.../read/query/timegenerator/TimeGenerator.java | 6 +-
.../query/timegenerator/TsFileTimeGenerator.java | 5 +
.../read/query/timegenerator/node/AndNode.java | 58 +-
.../read/query/timegenerator/node/LeafNode.java | 1 -
.../read/query/timegenerator/node/OrNode.java | 38 +-
.../iotdb/tsfile/read/reader/IPageReader.java | 7 +-
.../iotdb/tsfile/read/reader/LocalTsFileInput.java | 60 +-
.../iotdb/tsfile/read/reader/page/PageReader.java | 8 +-
.../reader/series/FileSeriesReaderByTimestamp.java | 2 +
.../org/apache/iotdb/tsfile/utils/BytesUtils.java | 21 +-
.../org/apache/iotdb/tsfile/utils/PublicBAOS.java | 5 +-
.../iotdb/tsfile/utils/RamUsageEstimator.java | 1 +
.../iotdb/tsfile/utils/ReadWriteIOUtils.java | 141 +-
.../iotdb/tsfile/write/chunk/ChunkWriterImpl.java | 1 +
.../iotdb/tsfile/write/chunk/IChunkWriter.java | 6 +
.../apache/iotdb/tsfile/write/page/PageWriter.java | 4 +-
.../apache/iotdb/tsfile/write/record/Tablet.java | 180 +-
.../tsfile/write/schema/MeasurementSchema.java | 81 +-
.../write/writer/ForceAppendTsFileWriter.java | 3 +-
.../tsfile/write/writer/LocalTsFileOutput.java | 4 +-
.../write/writer/RestorableTsFileIOWriter.java | 42 +-
.../iotdb/tsfile/write/writer/TsFileIOWriter.java | 20 +-
.../iotdb/tsfile/write/writer/TsFileOutput.java | 4 +-
.../tsfile/encoding/decoder/BitmapDecoderTest.java | 1 -
...aDecoderTest.java => GorillaDecoderV1Test.java} | 34 +-
.../encoding/decoder/GorillaDecoderV2Test.java | 592 +++++++
.../file/metadata/MetadataIndexNodeTest.java | 10 +-
.../iotdb/tsfile/read/GetAllDevicesTest.java | 90 +
.../iotdb/tsfile/read/ReadInPartitionTest.java | 22 +-
.../iotdb/tsfile/read/ReadOnlyTsFileTest.java | 20 +-
.../org/apache/iotdb/tsfile/read/ReadTest.java | 59 +-
.../iotdb/tsfile/read/TimePlainEncodeReadTest.java | 71 +-
.../tsfile/read/TsFileSequenceReaderTest.java | 41 +-
.../apache/iotdb/tsfile/read/common/PathTest.java | 80 +-
.../tsfile/read/controller/ChunkLoaderTest.java | 2 +-
.../controller/IMetadataQuerierByFileImplTest.java | 16 +-
.../tsfile/read/filter/GroupByFilterTest.java | 2 +-
.../read/filter/IExpressionOptimizerTest.java | 30 +-
.../read/query/executor/QueryExecutorTest.java | 20 +-
.../tsfile/read/query/timegenerator/NodeTest.java | 2 -
.../read/query/timegenerator/ReadWriteTest.java | 8 +-
.../query/timegenerator/ReaderByTimestampTest.java | 2 +-
.../timegenerator/TimeGeneratorReadEmptyTest.java | 8 +-
.../timegenerator/TimeGeneratorReadWriteTest.java | 8 +-
.../query/timegenerator/TimeGeneratorTest.java | 6 +-
.../TsFileGeneratorForSeriesReaderByTimestamp.java | 22 +-
.../tsfile/read/reader/FakedTimeGenerator.java | 12 +-
.../iotdb/tsfile/read/reader/PageReaderTest.java | 24 +-
.../iotdb/tsfile/read/reader/ReaderTest.java | 14 +-
.../apache/iotdb/tsfile/utils/FileGenerator.java | 101 +-
.../iotdb/tsfile/utils/ReadWriteIOUtilsTest.java | 140 ++
.../apache/iotdb/tsfile/utils/RecordUtilsTest.java | 112 +-
.../iotdb/tsfile/utils/StringContainerTest.java | 5 +-
.../iotdb/tsfile/utils/TsFileGeneratorForTest.java | 109 +-
.../org/apache/iotdb/tsfile/write/PerfTest.java | 91 +-
.../iotdb/tsfile/write/ReadPageInMemTest.java | 16 +-
...SameMeasurementsWithDifferentDataTypesTest.java | 4 +-
.../iotdb/tsfile/write/TsFileReadWriteTest.java | 59 +-
.../iotdb/tsfile/write/TsFileWriterTest.java | 18 +-
.../org/apache/iotdb/tsfile/write/WriteTest.java | 51 +-
.../write/schema/converter/SchemaBuilderTest.java | 6 +-
.../write/writer/ForceAppendTsFileWriterTest.java | 8 +-
.../writer/MeasurementSchemaSerializeTest.java | 55 +
.../write/writer/RestorableTsFileIOWriterTest.java | 102 +-
tsfile/src/test/resources/logback.xml | 52 +-
877 files changed, 39173 insertions(+), 22544 deletions(-)
delete mode 100644 DISCLAIMER
copy docs/zh/SystemDesign/StorageEngine/WAL.md => client-cpp/README.md (77%)
create mode 100644 client-cpp/client-cpp-example/pom.xml
rename server/src/assembly/resources/tools/logVisualize/log-visualizer-cmd.sh => client-cpp/client-cpp-example/src/CMakeLists.txt (55%)
create mode 100644 client-cpp/client-cpp-example/src/SessionExample.cpp
create mode 100644 client-cpp/pom.xml
create mode 100644 client-cpp/src/assembly/client-cpp.xml
create mode 100644 client-cpp/src/main/CMakeLists.txt
create mode 100644 client-cpp/src/main/IOTDBSession.cpp
create mode 100644 client-cpp/src/main/IOTDBSession.h
create mode 100644 client-cpp/src/test/CMakeLists.txt
create mode 100644 client-cpp/src/test/cpp/sessionIT.cpp
rename server/src/main/java/org/apache/iotdb/db/tools/logvisual/LogParser.java => client-cpp/src/test/main.cpp (53%)
create mode 100644 client-py/pom.xml
rename {thrift/src => client-py}/pypi/README.md (80%)
rename {thrift/src => client-py}/pypi/setup.py (94%)
create mode 100644 client-py/src/Session.py
create mode 100644 client-py/src/SessionExample.py
rename server/src/assembly/resources/tools/logVisualize/config.properties => client-py/src/__init__.py (78%)
delete mode 100755 client-py/src/client_example.py
create mode 100644 client-py/src/utils/Field.py
rename server/src/assembly/resources/tools/memory-tool.sh => client-py/src/utils/IoTDBConstants.py (55%)
mode change 100755 => 100644
create mode 100644 client-py/src/utils/IoTDBRpcDataSet.py
create mode 100644 client-py/src/utils/RowRecord.py
create mode 100644 client-py/src/utils/SessionDataSet.py
create mode 100644 client-py/src/utils/Tablet.py
copy server/src/assembly/resources/sbin/stop-server.sh => client-py/src/utils/__init__.py (79%)
mode change 100755 => 100644
create mode 100644 compile-tools/README.md
create mode 100644 compile-tools/boost/pom.xml
copy site/src/main/deploy.js => compile-tools/boost/src/assembly/bundle.xml (58%)
create mode 100644 compile-tools/pom.xml
create mode 100644 compile-tools/thrift/pom.xml
copy site/src/main/deploy.js => compile-tools/thrift/src/assembly/compiler.xml (53%)
create mode 100644 compile-tools/thrift/src/assembly/cpp.xml
copy site/src/main/deploy.js => compile-tools/thrift/src/assembly/python.xml (53%)
create mode 100644 cross-tests/pom.xml
create mode 100644 cross-tests/src/test/java/org/apache/iotdb/cross/tests/tools/importCsv/AbstractScript.java
create mode 100644 cross-tests/src/test/java/org/apache/iotdb/cross/tests/tools/importCsv/ImportCsvTestIT.java
copy {server => cross-tests}/src/test/resources/iotdb-engine.properties (100%)
copy docker/src/main/{Dockerfile-0.9.0 => Dockerfile-0.10.1} (79%)
copy docker/src/main/{Dockerfile-0.9.0 => Dockerfile-0.11.0} (76%)
create mode 100644 docs/SystemDesign/StorageEngine/Recover.md
create mode 100644 docs/UserGuide/Server/ServerFileList.md
delete mode 100644 docs/UserGuide/System Tools/Log Visualizer.md
delete mode 100644 docs/UserGuide/System Tools/Memory Estimation Tool.md
create mode 100644 docs/UserGuide/System Tools/NodeTool.md
create mode 100644 docs/zh/SystemDesign/DataQuery/OrderByTimeQuery.md
create mode 100644 docs/zh/SystemDesign/StorageEngine/Compaction.md
create mode 100644 docs/zh/SystemDesign/StorageEngine/FileLists.md
create mode 100644 docs/zh/SystemDesign/StorageEngine/Recover.md
create mode 100644 docs/zh/UserGuide/Server/ServerFileList.md
delete mode 100644 docs/zh/UserGuide/System Tools/Log Visualizer.md
delete mode 100644 docs/zh/UserGuide/System Tools/Memory Estimation Tool.md
create mode 100644 docs/zh/UserGuide/System Tools/NodeTool.md
create mode 100644 docs/zh/chinese-render-template.latex
create mode 100644 example/session/src/main/java/org/apache/iotdb/DataMigrationExample.java
create mode 100644 jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBDataSourceFactory.java
delete mode 100644 jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDbDataSourceFactory.java
copy docs/zh/UserGuide/Server/Cluster Setup.md => server/file-changelists/TsFileResource-changelist.md (96%)
copy docs/zh/UserGuide/Server/Cluster Setup.md => server/file-changelists/mlog-changelist.md (96%)
copy docs/zh/UserGuide/Server/Cluster Setup.md => server/file-changelists/role-changelist.md (96%)
copy docs/zh/UserGuide/Server/Cluster Setup.md => server/file-changelists/storage_group_version-changelist.md (96%)
copy docs/zh/UserGuide/Server/Cluster Setup.md => server/file-changelists/system.properties-changelist.md (96%)
copy docs/zh/UserGuide/Server/Cluster Setup.md => server/file-changelists/tlog-changelist.md (96%)
copy docs/zh/UserGuide/Server/Cluster Setup.md => server/file-changelists/user-changelist.md (96%)
copy docs/zh/UserGuide/Server/Cluster Setup.md => server/file-changelists/wal-changelist.md (96%)
delete mode 100644 server/src/assembly/resources/tools/logVisualize/default.log.pattern
delete mode 100644 server/src/assembly/resources/tools/logVisualize/log-visualizer-cmd.bat
delete mode 100644 server/src/assembly/resources/tools/logVisualize/log-visualizer-gui.bat
delete mode 100644 server/src/assembly/resources/tools/logVisualize/log-visualizer-gui.sh
delete mode 100644 server/src/assembly/resources/tools/logVisualize/plans/closeMetadataConsumption.plan
delete mode 100644 server/src/assembly/resources/tools/logVisualize/plans/compressionRatio.plan
delete mode 100644 server/src/assembly/resources/tools/logVisualize/plans/dynamicParameters.plan
delete mode 100644 server/src/assembly/resources/tools/logVisualize/plans/flushSubmits.plan
delete mode 100644 server/src/assembly/resources/tools/logVisualize/plans/flushTimeConsumption.plan.example
delete mode 100644 server/src/assembly/resources/tools/logVisualize/plans/memTableWait.plan
delete mode 100644 server/src/assembly/resources/tools/logVisualize/plans/mergeFileNum.plan
delete mode 100644 server/src/assembly/resources/tools/logVisualize/plans/mergeRate.plan
delete mode 100644 server/src/assembly/resources/tools/logVisualize/plans/mergeSeriesProgress.plan
delete mode 100755 server/src/assembly/resources/tools/memory-tool.bat
delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/ActiveTimeSeriesCounter.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/IActiveTimeSeriesCounter.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/IDynamicAdapter.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/IoTDBConfigDynamicAdapter.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/ManageDynamicParameters.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/ManageDynamicParametersMBean.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/compaction/CompactionMergeTaskPoolManager.java
rename server/src/main/java/org/apache/iotdb/db/{exception/ConfigAdjusterException.java => engine/compaction/CompactionStrategy.java} (56%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/compaction/TsFileManagement.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/compaction/level/LevelCompactionTsFileManagement.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/compaction/no/NoCompactionTsFileManagement.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/compaction/utils/CompactionLogAnalyzer.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/compaction/utils/CompactionLogger.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/compaction/utils/CompactionUtils.java
rename server/src/main/java/org/apache/iotdb/db/{tools/logvisual/exceptions/NoLogFileLoadedException.java => engine/flush/CloseFileListener.java} (72%)
copy server/src/main/java/org/apache/iotdb/db/{query/externalsort/serialize/IExternalSortFileDeserializer.java => engine/flush/FlushListener.java} (61%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupInfo.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessorInfo.java
copy server/src/main/java/org/apache/iotdb/db/exception/metadata/{PathNotExistException.java => DataTypeMismatchException.java} (67%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/exception/query/PathNumOverLimitException.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/MeasurementMeta.java
create mode 100755 server/src/main/java/org/apache/iotdb/db/metadata/PartialPath.java
copy server/src/main/java/org/apache/iotdb/db/qp/logical/sys/{ShowChildPathsOperator.java => ShowStorageGroupOperator.java} (77%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/qp/physical/sys/CreateMultiTimeSeriesPlan.java
copy server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{ShowDevicesPlan.java => ShowStorageGroupPlan.java} (76%)
copy server/src/main/java/org/apache/iotdb/db/query/aggregation/impl/{CountAggrResult.java => FirstValueDescAggrResult.java} (53%)
copy server/src/main/java/org/apache/iotdb/db/query/aggregation/impl/{LastValueAggrResult.java => LastValueDescAggrResult.java} (59%)
copy server/src/main/java/org/apache/iotdb/db/query/aggregation/impl/{MaxTimeAggrResult.java => MaxTimeDescAggrResult.java} (52%)
copy server/src/main/java/org/apache/iotdb/db/query/aggregation/impl/{CountAggrResult.java => MinTimeDescAggrResult.java} (51%)
copy server/src/main/java/org/apache/iotdb/db/query/{externalsort/serialize/IExternalSortFileDeserializer.java => reader/universal/DescPriorityMergeReader.java} (51%)
copy server/src/main/java/org/apache/iotdb/db/{qp/physical/sys/MergePlan.java => rescon/CachedStringPool.java} (60%)
delete mode 100644 server/src/main/java/org/apache/iotdb/db/rescon/MemTablePool.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/rescon/PrimitiveArrayManager.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/rescon/PrimitiveArrayPool.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/LogEntry.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/LogFilter.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/LogVisualizer.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/PatternLogParser.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/TimeSeriesStatistics.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/VisualUtils.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/VisualizationPlan.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/conf/GuiPropertyKeys.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/exceptions/NoSuchPlanException.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/exceptions/UnmatchedContentException.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/ClosableComboTab.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/ClosableTab.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/FileSelectionBox.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/LabeledComboBox.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/LoadLogBox.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/LogVisualizationGui.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/MainPanel.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/PlanBox.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/PlanDetailPanel.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/ResultPlotTab.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/ResultStatisticTab.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/memestimation/MemEstTool.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/memestimation/MemEstToolCmd.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/utils/EncodingInferenceUtils.java
copy server/src/main/java/org/apache/iotdb/db/{query/reader/chunk/MemChunkLoader.java => writelog/WALFlushListener.java} (51%)
create mode 100644 server/src/test/java/org/apache/iotdb/db/conf/IoTDBDescriptorTest.java
delete mode 100644 server/src/test/java/org/apache/iotdb/db/conf/adapter/ActiveTimeSeriesCounterTest.java
delete mode 100644 server/src/test/java/org/apache/iotdb/db/conf/adapter/HyperLogLogTest.java
delete mode 100644 server/src/test/java/org/apache/iotdb/db/conf/adapter/IoTDBConfigDynamicAdapterTest.java
delete mode 100644 server/src/test/java/org/apache/iotdb/db/engine/memtable/MemTablePoolTest.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IOTDBInsertIT.java
delete mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBAggregationAlignByDeviceIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBAsIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBDeleteTimeseriesIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBQueryMemoryControlIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBResultSetIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/metadata/MetaUtilsTest.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/metadata/PartialPathTest.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/query/dataset/GroupByFillDataSetTest.java
delete mode 100644 server/src/test/java/org/apache/iotdb/db/query/reader/ReaderTestHelper.java
delete mode 100644 server/src/test/java/org/apache/iotdb/db/sql/CheckPathValidityTest.java
create mode 100644 session/src/test/java/org/apache/iotdb/session/IoTDBSessionComplexIT.java
delete mode 100644 session/src/test/java/org/apache/iotdb/session/IoTDBSessionIT.java
create mode 100644 session/src/test/java/org/apache/iotdb/session/IoTDBSessionSimpleIT.java
delete mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/common/EncodingConfig.java
rename tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/{DoublePrecisionDecoder.java => DoublePrecisionDecoderV1.java} (81%)
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/DoublePrecisionDecoderV2.java
rename tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/{GorillaDecoder.java => GorillaDecoderV1.java} (92%)
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/GorillaDecoderV2.java
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/IntGorillaDecoder.java
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/LongGorillaDecoder.java
rename tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/{SinglePrecisionDecoder.java => SinglePrecisionDecoderV1.java} (81%)
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/SinglePrecisionDecoderV2.java
rename tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/{DoublePrecisionEncoder.java => DoublePrecisionEncoderV1.java} (83%)
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/DoublePrecisionEncoderV2.java
rename tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/{GorillaEncoder.java => GorillaEncoderV1.java} (88%)
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/GorillaEncoderV2.java
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/IntGorillaEncoder.java
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/LongGorillaEncoder.java
rename tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/{SinglePrecisionEncoder.java => SinglePrecisionEncoderV1.java} (84%)
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/SinglePrecisionEncoderV2.java
rename server/src/main/java/org/apache/iotdb/db/tools/logvisual/exceptions/VisualizationException.java => tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/BatchDataFactory.java (61%)
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/DescBatchData.java
delete mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/TimeColumn.java
rename tsfile/src/test/java/org/apache/iotdb/tsfile/encoding/decoder/{GorillaDecoderTest.java => GorillaDecoderV1Test.java} (89%)
create mode 100644 tsfile/src/test/java/org/apache/iotdb/tsfile/encoding/decoder/GorillaDecoderV2Test.java
create mode 100644 tsfile/src/test/java/org/apache/iotdb/tsfile/read/GetAllDevicesTest.java
create mode 100644 tsfile/src/test/java/org/apache/iotdb/tsfile/utils/ReadWriteIOUtilsTest.java
create mode 100644 tsfile/src/test/java/org/apache/iotdb/tsfile/write/writer/MeasurementSchemaSerializeTest.java