# flushComputeNodeMemCache {#flushComputeNodeMemCache}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`flushComputeNodeMemCache()`

## Arguments {#arguments}

None

## Details {#details}

On a compute node in the compute group, invoke the function to flush the memory cache to disk.

In cases of upgrade and graceful restart of compute node, users can call this function first to write the cached data from memory to disk. Then after node restart, data can be fetched from disk instead of remote data nodes.

