This is an automated email from the ASF dual-hosted git repository.
roman pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
from 0dc8890f1b8 [FLINK-28711][hive] Hive source supports dynamic filtering
new 1f9632a0719 [FLINK-27693][changelog] Support local recovery for
non-materialized part
new 52eb7e76b5d [FLINK-27693][docs] Remove local recovery from the
Limitations of changelog
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
docs/content.zh/docs/ops/state/state_backends.md | 2 -
docs/content/docs/ops/state/state_backends.md | 2 -
.../fs/AbstractStateChangeFsUploader.java | 120 ++++++++++++++
.../fs/DuplicatingOutputStreamWithPos.java | 174 +++++++++++++++++++++
.../fs/DuplicatingStateChangeFsUploader.java | 111 +++++++++++++
.../changelog/fs/FsStateChangelogStorage.java | 50 ++++--
.../fs/FsStateChangelogStorageFactory.java | 8 +-
.../flink/changelog/fs/FsStateChangelogWriter.java | 111 ++++++++++---
.../flink/changelog/fs/OutputStreamWithPos.java | 54 ++++++-
.../flink/changelog/fs/StateChangeFormat.java | 10 +-
.../flink/changelog/fs/StateChangeFsUploader.java | 104 ++----------
.../changelog/fs/StateChangeUploadScheduler.java | 34 ++--
.../flink/changelog/fs/StateChangeUploader.java | 33 +++-
.../apache/flink/changelog/fs/UploadResult.java | 41 ++++-
.../fs/BatchingStateChangeUploadSchedulerTest.java | 6 +-
.../changelog/fs/ChangelogStorageMetricsTest.java | 45 ++++--
.../changelog/fs/FsStateChangelogStorageTest.java | 7 +-
.../fs/FsStateChangelogWriterSqnTest.java | 6 +-
.../changelog/fs/FsStateChangelogWriterTest.java | 25 ++-
.../state/ChangelogTaskLocalStateStore.java | 33 +++-
.../TaskExecutorStateChangelogStoragesManager.java | 6 +-
.../state/changelog/LocalChangelogRegistry.java | 64 ++++++++
.../changelog/LocalChangelogRegistryImpl.java | 118 ++++++++++++++
.../changelog/StateChangelogStorageFactory.java | 6 +-
.../changelog/StateChangelogStorageLoader.java | 8 +-
.../state/changelog/StateChangelogWriter.java | 21 ++-
.../InMemoryStateChangelogStorageFactory.java | 6 +-
.../inmemory/InMemoryStateChangelogWriter.java | 15 +-
.../flink/runtime/taskexecutor/TaskExecutor.java | 5 +-
.../state/ChangelogTaskLocalStateStoreTest.java | 2 +
...kExecutorStateChangelogStoragesManagerTest.java | 60 +++++--
.../changelog/LocalChangelogRegistryTest.java | 56 +++++++
.../inmemory/StateChangelogStorageLoaderTest.java | 16 +-
.../inmemory/StateChangelogStorageTest.java | 7 +-
...cutorExecutionDeploymentReconciliationTest.java | 14 +-
.../taskexecutor/TaskExecutorSlotLifetimeTest.java | 14 ++
.../changelog/ChangelogKeyedStateBackend.java | 28 +++-
.../state/changelog/ChangelogTruncateHelper.java | 1 +
.../changelog/ChangelogStateBackendTestUtils.java | 4 +-
.../state/changelog/ChangelogStateDiscardTest.java | 20 ++-
.../state/changelog/StateChangeLoggerTestBase.java | 7 +-
.../ChangelogLocalRecoveryITCase.java | 6 +-
42 files changed, 1219 insertions(+), 241 deletions(-)
create mode 100644
flink-dstl/flink-dstl-dfs/src/main/java/org/apache/flink/changelog/fs/AbstractStateChangeFsUploader.java
create mode 100644
flink-dstl/flink-dstl-dfs/src/main/java/org/apache/flink/changelog/fs/DuplicatingOutputStreamWithPos.java
create mode 100644
flink-dstl/flink-dstl-dfs/src/main/java/org/apache/flink/changelog/fs/DuplicatingStateChangeFsUploader.java
create mode 100644
flink-runtime/src/main/java/org/apache/flink/runtime/state/changelog/LocalChangelogRegistry.java
create mode 100644
flink-runtime/src/main/java/org/apache/flink/runtime/state/changelog/LocalChangelogRegistryImpl.java
create mode 100644
flink-runtime/src/test/java/org/apache/flink/runtime/state/changelog/LocalChangelogRegistryTest.java