Skip to content

Commit

Permalink
Fixing javadocs for ITs
Browse files Browse the repository at this point in the history
Signed-off-by: Shourya Dutta Biswas <[email protected]>
  • Loading branch information
shourya035 committed Apr 20, 2024
1 parent 667cffe commit aa83dc3
Showing 1 changed file with 11 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -470,19 +470,11 @@ private void createIndexAssertHealthAndDocrepProperties(
}

/**
* Assert index settings have:
* <li>
* <code>index.remote_store.enabled</code> is <code>false</code>
* </li>
* <li>
* <code>index.remote_store.segment.repository</code> is <code>null</code>
* </li>
* <li>
* <code>index.remote_store.translog.repository</code> is <code>null</code>
* </li>
* <li>
* <code>index.replication.type</code> is <code>DOCUMENT</code>
* </li>
* Assert current index settings have:
* - index.remote_store.enabled == false
* - index.remote_store.segment.repository == null
* - index.remote_store.translog.repository == null
* - index.replication.type == DOCUMENT
*/
private void assertDocrepProperties(String index) {
logger.info("---> Asserting docrep index settings");
Expand All @@ -495,21 +487,12 @@ private void assertDocrepProperties(String index) {
}

/**
* Assert index settings have:
* <li>
* <code>index.remote_store.enabled</code> is <code>true</code>
* </li>
* <li>
* <code>index.remote_store.segment.repository</code> is not <code>null</code>
* </li>
* <li>
* <code>index.remote_store.translog.repository</code> is not <code>null</code>
* </li>
* <li>
* <code>index.replication.type</code> is <code>SEGMENT</code>
* </li>
* <br>
* Also asserts index metadata customs has the <code>remote_store</code> key
* Assert current index settings have:
* - index.remote_store.enabled == true
* - index.remote_store.segment.repository != null
* - index.remote_store.translog.repository != null
* - index.replication.type == SEGMENT
* Asserts index metadata customs has the <code>remote_store</code> key
*/
private void assertRemoteProperties(String index) {
logger.info("---> Asserting remote index settings");
Expand Down

0 comments on commit aa83dc3

Please sign in to comment.