docs: void takeMastership(int partitionId) {
          synchronized(m_dataSourcesByPartition) {
              Map<String, ExportDataSource> partitionDataSourceMap = m_dataSourcesByPartition.get(partitionId);
  
              // this case happens when there are no export tables
              if (partitionDataSourceMap == null) {
                  return;
              }
  
              for( ExportDataSource eds: partitionDataSourceMap.values()) {
                  eds.takeMastership();
              }
          }
      }