【GLES】How to choose parameters for glMapBufferRange

I want to use glMapBufferRange to modify the contents of a sub-buffer, which may currently be in use by the GPU。

Which flags should be used for marking? Would GL_MAP_INVALIDATE_RANGE_BIT | GL_MAP_UNSYNCHRONIZED_BIT | GL_MAP_WRITE_BIT be appropriate?

Additionally, could you provide a more detailed explanation of the purpose of GL_MAP_INVALIDATE_RANGE_BIT?

Ref: registry.khronos.org/.../glMapBufferRange.xhtml