OpenSearch/plugins/store-smb/src
Lee Hinman 3918072362 Fix calling ensureOpen() on the wrong directory
Also removes ensureCanWrite since this already passes the
TRUNCATE_EXISTING flag when opening.

Adds a REST test that fails without this fix due to the classloader
isolation.

Additionally, move SmbDirectoryWrapper into an elasticsearch package instead of a lucene one, so this would be found at compile time instead of runtime.

Forward-port of #16383
2016-02-02 16:31:16 -07:00
..
main/java/org/elasticsearch Fix calling ensureOpen() on the wrong directory 2016-02-02 16:31:16 -07:00
test Fix calling ensureOpen() on the wrong directory 2016-02-02 16:31:16 -07:00