diff --git a/source/dnode/vnode/src/tsdb/tsdbRetention.c b/source/dnode/vnode/src/tsdb/tsdbRetention.c index 50af1fb921..ccd3e55899 100644 --- a/source/dnode/vnode/src/tsdb/tsdbRetention.c +++ b/source/dnode/vnode/src/tsdb/tsdbRetention.c @@ -735,7 +735,6 @@ _exit: } return code; } -#endif int32_t tsdbAsyncS3Migrate(STsdb *tsdb, int64_t now) { int32_t code = 0; @@ -762,4 +761,5 @@ int32_t tsdbAsyncS3Migrate(STsdb *tsdb, int64_t now) { return code; } +#endif